From da711ba9d57458ec3d5fdfd302c84ec656c6accc 2018-07-11 17:50:33 From: Josh Simmons Date: 2018-07-11 17:50:33 Subject: [PATCH] add /coc as shortcut url to code of conduct --- diff --git a/pinaxcon/urls.py b/pinaxcon/urls.py index bd3b9793f17622ab0b606c1c7b3deb3e0749b8f0..34d7ef79fa00e8de91dad28dc738e02a29584245 100644 --- a/pinaxcon/urls.py +++ b/pinaxcon/urls.py @@ -57,6 +57,7 @@ urlpatterns = [ # url(r"^transit$", RedirectView.as_view(url="attend/transit")), url(r"^code-of-conduct$", TemplateView.as_view(template_name="static_pages/code_of_conduct/code_of_conduct.html"), name="code-of-conduct"), + url(r"^coc$", RedirectView.as_view(url="code-of-conduct")), url(r"^code-of-conduct/harassment-incidents$", TemplateView.as_view(template_name="static_pages/code_of_conduct/harassment_procedure_attendee.html"), name="code-of-conduct/harassment-incidents"), url(r"^code-of-conduct/harassment-staff-procedures$", TemplateView.as_view(template_name="static_pages/code_of_conduct/harassment_procedure_staff.html"), name="code-of-conduct/harassment-staff-procedures"), url(r"^terms-and-conditions$", TemplateView.as_view(template_name="static_pages/terms_and_conditions.html"), name="terms-and-conditions"),