comparison downloads/views.py @ 1150:0e0cd152b86d

WIP convert downloads to V3 design.
author Brian Neal <bgneal@gmail.com>
date Tue, 13 Dec 2016 20:20:24 -0600
parents e1c03da72818
children f56798c96ec2
comparison
equal deleted inserted replaced
1149:23dd077358ec 1150:0e0cd152b86d
37 categories = Category.objects.all() 37 categories = Category.objects.all()
38 total_dls = Download.public_objects.all().count() 38 total_dls = Download.public_objects.all().count()
39 return render(request, 'downloads/index.html', { 39 return render(request, 'downloads/index.html', {
40 'categories': categories, 40 'categories': categories,
41 'total_dls': total_dls, 41 'total_dls': total_dls,
42 'top_menu': 'categories',
43 'V3_DESIGN': True,
42 }) 44 })
43 45
44 ####################################################################### 46 #######################################################################
45 # Maps URL component to database field name for the Download table: 47 # Maps URL component to database field name for the Download table:
46 48