Skip to content
Newer
Older
100644 25 lines (18 sloc) 811 Bytes
17eaea5 first import
Mike Krieger authored Dec 9, 2008
1 from django.conf.urls.defaults import *
746087d big update of stuff
Mike Krieger authored Dec 10, 2008
2 from django.conf import settings
17eaea5 first import
Mike Krieger authored Dec 10, 2008
3 # Uncomment the next two lines to enable the admin:
4 # from django.contrib import admin
5 # admin.autodiscover()
6
7 from greetingsweb.admin import site
8
9 urlpatterns = patterns('',
10 # Example:
11 (r'', include('greetingsweb.greetings.urls')),
12
13 # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
14 # to INSTALLED_APPS to enable admin documentation:
15 # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
16
17 # Uncomment the next line to enable the admin:
18 (r'^admin/(.*)', site.root),
746087d big update of stuff
Mike Krieger authored Dec 10, 2008
19
17eaea5 first import
Mike Krieger authored Dec 10, 2008
20 )
746087d big update of stuff
Mike Krieger authored Dec 10, 2008
21
22 if settings.LOCAL:
23 urlpatterns += patterns('',
24 (r'^greetmedia/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/Users/mkrieger/Dropbox/193P Final Project/greetingsweb/media'}),)
Something went wrong with that request. Please try again.