2011-01-24 02:08:16 +03:00
|
|
|
from django.conf.urls.defaults import patterns, include
|
|
|
|
from django.contrib import admin
|
|
|
|
|
|
|
|
admin.autodiscover()
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2011-01-27 00:09:08 +03:00
|
|
|
(r'pygments-example/', include('pygments_api.urls')),
|
2011-01-24 02:08:16 +03:00
|
|
|
(r'^blog-post-example/', include('blogpost.urls')),
|
|
|
|
(r'^object-store-example/', include('objectstore.urls')),
|
2011-01-28 00:09:25 +03:00
|
|
|
(r'^accounts/login/$', 'django.contrib.auth.views.login'),
|
|
|
|
(r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
|
2011-01-24 02:08:16 +03:00
|
|
|
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
|
|
|
(r'^admin/', include(admin.site.urls)),
|
|
|
|
)
|