Mercurial > public > sg101
view gpp/urls.py @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children | b6263ac72052 |
line wrap: on
line source
from django.conf.urls.defaults import * import settings from django.contrib import admin from news.feeds import LatestNewsFeed admin.autodiscover() feeds = { 'news': LatestNewsFeed, } urlpatterns = patterns('', (r'^admin/doc/', include('django.contrib.admindocs.urls')), (r'^admin/', include(admin.site.urls)), (r'^accounts/', include('accounts.urls')), (r'^calendar/', include('gcalendar.urls')), (r'^comments/', include('comments.urls')), (r'^contact/', include('contact.urls')), (r'^downloads/', include('downloads.urls')), url(r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds }, 'feeds-news'), (r'^irc/', include('irc.urls')), (r'^legal/', include('legal.urls')), (r'^links/', include('weblinks.urls')), (r'^member_map/', include('membermap.urls')), (r'^messages/', include('messages.urls')), (r'^news/', include('news.urls')), (r'^podcast/', include('podcast.urls')), (r'^polls/', include('polls.urls')), (r'^potd/', include('potd.urls')), (r'^profile/', include('bio.urls')), (r'^shout/', include('shoutbox.urls')), ) if settings.DEBUG: urlpatterns += patterns('', (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), )