Skip to content

Commit

Permalink
Fix for tests server settings and urls
Browse files Browse the repository at this point in the history
NOT TO GO TO PRODUCTION
  • Loading branch information
Joe Erickson committed Aug 24, 2008
1 parent 209163c commit cf16842
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = '/media/'
MEDIA_URL = '/site-media/'

# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
ADMIN_MEDIA_PREFIX = '/media/'
ADMIN_MEDIA_PREFIX = '/admin-media/'

# Make this unique, and don't share it with anybody.
SECRET_KEY = '-sin5-$yu4r$zth=i_crtf7xn0f%#(xe1ctle_kb*u!4#kfc9y'
Expand Down
1 change: 1 addition & 0 deletions urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

# Uncomment the next line for to enable the admin:
# (r'^admin/(.*)', admin.site.root),
(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/home/firstclown/Projects/lieswetellourselves/media'}),
(r'', include('lieswetellourselves.lies.urls')),

)

0 comments on commit cf16842

Please sign in to comment.