~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to privacy_policy/urls.py

  • Committer: franku
  • Date: 2018-10-08 17:51:36 UTC
  • mto: This revision was merged to the branch mainline in revision 503.
  • Revision ID: somal@arcor.de-20181008175136-hrfq4r2ua1u22hru
refactored the view

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
urlpatterns = [
5
5
    url(r'^$', views.privacy_policy, name='privacy_policy'),
6
 
    url(r'^(?P<lang>[-\w]+)/', views.privacy_policy, name='policy_translated'),
 
6
    url(r'^(?P<slug>[-\w]+)/', views.privacy_policy, name='policy_translated'),
7
7
]