mirror of https://gitlab.com/brutaldon/brutaldon
Add about and privacy pages
This commit is contained in:
parent
722a5c73fd
commit
507c52bb96
|
@ -19,6 +19,8 @@ from brutaldon import views
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('admin/', admin.site.urls),
|
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/next/<int:next>', views.home, name='home_next'),
|
||||||
path('home/prev/<int:prev>', views.home, name='home_prev'),
|
path('home/prev/<int:prev>', views.home, name='home_prev'),
|
||||||
path('home', views.home, name='home'),
|
path('home', views.home, name='home'),
|
||||||
|
|
|
@ -398,3 +398,10 @@ def delete(request, id):
|
||||||
return render(request, 'main/delete.html',
|
return render(request, 'main/delete.html',
|
||||||
{"toot": toot, 'confirm_page': True,
|
{"toot": toot, 'confirm_page': True,
|
||||||
"fullbrutalism": fullbrutalism_p(request)})
|
"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)})
|
||||||
|
|
Loading…
Reference in New Issue