I created a django app and turned it into a stand alone app.
Everything is working, except for the look of the page is all messed
up.
I need to serve static files (I think) in urls.py but somehow I am
messing up my code:
-----------------------------------------------------------------------------------------------------------------------------------------------
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^admin/', include('django.contrib.admin.urls')),
(r'^media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': r'C:\dev\incidents\media', 'show_indexes': True}),
(r'^admin_media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': r'C:\dev\incidents\admin_media', 'show_indexes':
True}),
)
-----------------------------------------------------------------------------------------------------------------------------------------------
I can't see any problems..
I would appreciate any help you can give me!
Thanks :)
Molly
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---