summaryrefslogtreecommitdiff
path: root/tablon/urls.py
diff options
context:
space:
mode:
authorJoaquín Aguirrezabalaga <kinote@kinote.org>2014-01-03 01:06:22 +0100
committerJoaquín Aguirrezabalaga <kinote@kinote.org>2014-01-03 01:06:40 +0100
commitf05c5e2d8a705df1c94b63a978267b291c893bbb (patch)
treea8bd95e9cc2c0bd48be57893ccc4ddec63152d29 /tablon/urls.py
parent802a74102b9073e961ef1d7a487f99b962d76512 (diff)
downloadelgarito-master.tar.gz
elgarito-master.zip
django 1.6HEADmaster
Diffstat (limited to 'tablon/urls.py')
-rw-r--r--tablon/urls.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/tablon/urls.py b/tablon/urls.py
index 71fc677..065df8b 100644
--- a/tablon/urls.py
+++ b/tablon/urls.py
@@ -1,11 +1,13 @@
-from django.conf.urls.defaults import *
+from django.conf.urls import patterns, url
-urlpatterns = patterns('elgarito.tablon.views',
- (r'^$', 'index'),
+urlpatterns = patterns(
+ 'tablon.views',
+
+ url(r'^$', 'index'),
- (r'^foro/(?P<foro_id>\d+)/$', 'foro'),
- (r'^foro/(?P<foro_id>\d+)/nuevo_tema/$', 'nuevo_tema'),
+ url(r'^foro/(?P<foro_id>\d+)/$', 'foro'),
+ url(r'^foro/(?P<foro_id>\d+)/nuevo_tema/$', 'nuevo_tema'),
- (r'^tema/(?P<tema_id>\d+)/$', 'tema'),
- (r'^tema/(?P<tema_id>\d+)/responder/$', 'responder'),
+ url(r'^tema/(?P<tema_id>\d+)/$', 'tema'),
+ url(r'^tema/(?P<tema_id>\d+)/responder/$', 'responder'),
)