Permalink
Switch branches/tags
Nothing to show
Find file
a67b126 Feb 23, 2010
14 lines (11 sloc) 377 Bytes
from django.conf.urls.defaults import *
from django.conf import settings
urlpatterns = patterns('',
url('^auth/', include('users.urls')),
url('', include('tweets.urls')),
)
if settings.DEBUG:
urlpatterns += patterns('django.views.static',
(r'^media/(?P<path>.*)$', 'serve',
{'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),
)