-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurls.py
21 lines (18 loc) · 864 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from django.conf.urls.defaults import *
from django.contrib import admin
admin.autodiscover()
from blog.feeds import BlogLatestEntries
from django.views.generic.simple import direct_to_template
handler500 = 'djangotoolbox.errorviews.server_error'
urlpatterns = patterns('',
(r'^$', 'django.views.generic.simple.redirect_to', {'url': '/about/', }),
(r'^blog/', include('blog.urls')),
(r'^psn/', include('psn.urls')),
(r'^wiki/', include('wiki.urls')),
('^_ah/warmup$', 'djangoappengine.views.warmup'),
(r'^about/', 'django.views.generic.simple.direct_to_template', {'template': 'about.html'}),
(r'^admin/', include(admin.site.urls)),
(r'^google9bee04d2de3a930d.html$', 'blog.views.google'),
(r'^feeds/$', BlogLatestEntries()),
(r'^robots\.txt$', direct_to_template, {'template': 'robots.txt', 'mimetype': 'text/plain'})
)