Source

django-tracking / demo / urls.py

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

admin.autodiscover()

urlpatterns = patterns('',
    (r'^tracking/', include('tracking.urls')),
    (r'^admin/', include(admin.site.urls)),
)

if settings.DEBUG:
    urlpatterns += patterns('django.views.static',
        (r'static/(?P<path>.*)$', 'serve', {'document_root': settings.MEDIA_ROOT}),
    )