2010-07-01 19:37:43 +00:00
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
|
|
|
|
# Uncomment the next two lines to enable the admin:
|
2010-09-16 15:28:31 +00:00
|
|
|
from django.contrib import admin
|
|
|
|
admin.autodiscover()
|
2010-07-01 19:37:43 +00:00
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
# Example:
|
|
|
|
# (r'^mtgweb/', include('mtgweb.foo.urls')),
|
2010-08-26 03:43:19 +00:00
|
|
|
(r'^cards/(?P<name>.*?)/$', 'mtgweb.cards.views.display'),
|
|
|
|
(r'^decks/$', 'mtgweb.decks.views.index'),
|
2010-07-01 19:37:43 +00:00
|
|
|
|
|
|
|
# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
|
|
|
|
# to INSTALLED_APPS to enable admin documentation:
|
|
|
|
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
|
|
|
|
|
|
|
# Uncomment the next line to enable the admin:
|
2010-09-16 15:28:31 +00:00
|
|
|
(r'^admin/', include(admin.site.urls)),
|
2010-07-01 19:37:43 +00:00
|
|
|
)
|