diff --git a/brutaldon/urls.py b/brutaldon/urls.py index facfb5b..f47ccb9 100644 --- a/brutaldon/urls.py +++ b/brutaldon/urls.py @@ -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/', views.home, name='home_next'), path('home/prev/', views.home, name='home_prev'), path('home', views.home, name='home'), diff --git a/brutaldon/views.py b/brutaldon/views.py index e41f47c..c80de65 100644 --- a/brutaldon/views.py +++ b/brutaldon/views.py @@ -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)})