cleanup, better admin
This commit is contained in:
parent
d5b3076645
commit
b8f1c52613
15 changed files with 124 additions and 24 deletions
|
|
@ -6,7 +6,7 @@ from . import models
|
|||
|
||||
def films(request):
|
||||
context = {}
|
||||
context['films'] = models.Film.objects.filter(public=True).order_by('data__title')
|
||||
context['films'] = models.Film.objects.filter(public=True).order_by('position', 'data__title')
|
||||
context['settings'] = settings
|
||||
return render(request, 'films.html', context)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue