17 lines
520 B
Python
17 lines
520 B
Python
|
from django.conf.urls import patterns, include, url
|
||
|
|
||
|
from django.contrib import admin
|
||
|
admin.autodiscover()
|
||
|
|
||
|
urlpatterns = patterns('',
|
||
|
# Examples:
|
||
|
url(r'^$', 'blog.views.index', name='home'),
|
||
|
# url(r'^$', 'gergelypolonkai_django.views.home', name='home'),
|
||
|
url(r'^blog/', include('blog.urls', namespace='blog')),
|
||
|
|
||
|
# Uncomment the admin/doc line below to enable admin documentation:
|
||
|
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
||
|
|
||
|
url(r'^admin/', include(admin.site.urls)),
|
||
|
)
|