2013-09-24 13:54:41 +00:00
|
|
|
from django.conf.urls import patterns, include, url
|
|
|
|
|
|
|
|
from django.contrib import admin
|
|
|
|
admin.autodiscover()
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
# Examples:
|
2013-10-01 20:55:35 +00:00
|
|
|
url(r'^$', 'blog.views.mainpage', name='home'),
|
2013-09-24 13:54:41 +00:00
|
|
|
# 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)),
|
|
|
|
)
|