Mercurial > public > madeira
view madeira/urls.py @ 51:13b2561c909d
For issue #7, create a mailing list application.
Still need to test that emails are being sent.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 28 Mar 2012 21:13:05 -0500 |
parents | 5913ddcebea4 |
children | 0176eca97d1d |
line wrap: on
line source
from django.conf.urls.defaults import patterns, include from django.contrib import admin from django.conf.urls.static import static from django.conf import settings admin.autodiscover() urlpatterns = patterns('', (r'^', include('band.urls')), (r'^gigs/', include('gigs.urls')), (r'^mail/', include('email_list.urls')), (r'^news/', include('news.urls')), (r'^press/', include('articles.urls')), (r'^songs/', include('mp3.urls')), (r'^videos/', include('videos.urls')), (r'^admin/doc/', include('django.contrib.admindocs.urls')), (r'^admin/', include(admin.site.urls)), (r'^photologue/', include('photologue.urls')), ) # For serving media files in development only: urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)