cb4b0fac38
Conflicts: symposion/boxes/urls.py symposion/cms/urls.py symposion/conference/urls.py symposion/proposals/models.py symposion/proposals/urls.py symposion/reviews/urls.py symposion/schedule/models.py symposion/schedule/urls.py symposion/speakers/urls.py symposion/sponsorship/urls.py symposion/teams/urls.py
13 lines
540 B
Python
13 lines
540 B
Python
from django.conf.urls import url, patterns
|
|
|
|
|
|
PAGE_RE = r"(([\w-]{1,})(/[\w-]{1,})*)/"
|
|
|
|
urlpatterns = patterns("symposion.cms.views",
|
|
url(r"^files/$", "file_index", name="file_index"),
|
|
url(r"^files/create/$", "file_create", name="file_create"),
|
|
url(r"^files/(\d+)/([^/]+)$", "file_download", name="file_download"),
|
|
url(r"^files/(\d+)/delete/$", "file_delete", name="file_delete"),
|
|
url(r"^(?P<path>%s)_edit/$" % PAGE_RE, "page_edit", name="cms_page_edit"),
|
|
url(r"^(?P<path>%s)$" % PAGE_RE, "page", name="cms_page"),
|
|
)
|