1
0
mirror of https://gitlab.com/brutaldon/brutaldon.git synced 2024-12-04 14:46:24 -05:00

Add about and privacy pages

This commit is contained in:
Jason McBrayer 2018-05-26 13:28:13 -04:00
parent 722a5c73fd
commit 507c52bb96
2 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,8 @@ from brutaldon import views
urlpatterns = [
path('admin/', admin.site.urls),
path('about', views.about, name='about'),
path('privacy', views.privacy, name='privacy'),
path('home/next/<int:next>', views.home, name='home_next'),
path('home/prev/<int:prev>', views.home, name='home_prev'),
path('home', views.home, name='home'),

View File

@ -398,3 +398,10 @@ def delete(request, id):
return render(request, 'main/delete.html',
{"toot": toot, 'confirm_page': True,
"fullbrutalism": fullbrutalism_p(request)})
def about(request):
return render(request, 'main/about.html',
{"fullbrutalism": fullbrutalism_p(request)})
def privacy(request):
return render(request, 'main/privacy.html',
{"fullbrutalism": fullbrutalism_p(request)})