Source

djocolate / urls.py

Full commit
import os

from django.conf import settings
from django.conf.urls.defaults import *
from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns('',
    (r'^admin/(.*)', admin.site.root),
    
    url(r'^about/$', 
        'django.views.generic.simple.direct_to_template',
        {'template': 'about.html'},
        name='about'),
    
    (r'^accounts/', include('account.urls')),
    (r'^accounts/', include('registration.urls')),
    
    (r'^comments/', include('django.contrib.comments.urls')),
    (r'', include('chocolate.urls')),
)

if settings.DEBUG:
    urlpatterns += patterns('',
	    (r'^static_media/(?P<path>.*)$', 
	     'django.views.static.serve', { 
	        'document_root': os.path.join(settings.PROJECT_PATH, 'static_media'),
	        'show_indexes': True }),
    )