settings.URL_REGEXPS, partly to cleanup the urls.py files, partly to make sure that all URL patterns agree on what constitutes a name - Legacy-Id: 10114
13 lines
378 B
Python
13 lines
378 B
Python
# Copyright The IETF Trust 2008, All Rights Reserved
|
|
|
|
from django.conf.urls import patterns
|
|
from django.conf import settings
|
|
|
|
import views_stream
|
|
|
|
urlpatterns = patterns('',
|
|
(r'^$', views_stream.streams),
|
|
(r'^%(acronym)s/$' % settings.URL_REGEXPS, views_stream.stream_documents, None),
|
|
(r'^%(acronym)s/edit/$' % settings.URL_REGEXPS, views_stream.stream_edit),
|
|
)
|