package updates and resulting compat stuff
changes to urls.py in the django views, trivial __init__ change for the irc library stuff bss/dr.botzo#16
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
from django.conf.urls import patterns, url
|
||||
from django.conf.urls import url
|
||||
|
||||
urlpatterns = patterns('races.views',
|
||||
url(r'^$', 'index', name='races_index'),
|
||||
url(r'^race/(?P<race_id>[A-Za-z0-9]+)/$', 'race_detail', name='race_detail'),
|
||||
)
|
||||
from races.views import index, race_detail
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', index, name='races_index'),
|
||||
url(r'^race/(?P<race_id>[A-Za-z0-9]+)/$', race_detail, name='race_detail'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user