~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-11 06:25:50 UTC
  • mfrom: (500.1.6 privacy_db)
  • Revision ID: somal@arcor.de-20181011062550-u0lcsrnrc0ajtpx2
Added Database driven app for privacy policies

Show diffs side-by-side

added added

removed removed

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