Skip to content

Commit 565266c

Browse files
Khdulkadiraequitas
authored andcommitted
feature: nieuwe contact pagina (niet gelukt)
1 parent 71bc24d commit 565266c

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ __pycache__
2727
*.log
2828
*.pid
2929
/tests/.pytest_cache/
30+
/node_modules
3031

3132
# Pycharm defaults
3233
.idea

interface/urls.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
path("about/", views.aboutpage),
7373
path("disclosure/", views.disclosurepage),
7474
path("privacy/", views.privacypage),
75+
path("contact/", views.contactpage),
7576
]
7677

7778
# Host-urls that are accessible by host-only, which should be approachable by developers as well during

interface/views/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ def privacypage(request):
120120
def aboutpage(request):
121121
return render(request, "about.html", dict(pagemenu="about", pageclass="contact", pagetitle=_("base about")))
122122

123+
def contactpage(request):
124+
return render(request, "contact.html", dict(pagemenu="contact", pageclass="contact", pagetitle=_("base contact")))
123125

124126
def widgetsitepage(request):
125127
return render(request, "widget-site.html", dict(pagemenu="faqs", pageclass="faqs", pagetitle=_("base widget site")))

0 commit comments

Comments
 (0)