into/postscript => about/imprint
This commit is contained in:
parent
2170a219f5
commit
108aa4a710
2 changed files with 8 additions and 7 deletions
|
|
@ -11,7 +11,8 @@ def events(request, slug=''):
|
|||
context = {}
|
||||
context['settings'] = settings
|
||||
context['events'] = Event.objects.all().order_by('position')
|
||||
context['intro'], c = Page.objects.get_or_create(slug='intro')
|
||||
context['about'], c = Page.objects.get_or_create(slug='about')
|
||||
context['imprint'], c = Page.objects.get_or_create(slug='imprint')
|
||||
return render(request, 'events.html', context)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue