Hello, I changed the URL from this: (r'^admin/(.*)', admin.site.root) (this works, but no CSS)
to this: (r'^admin/', include('django.contrib.admin.urls')), I received this error: No module named urls May On Jan 23, 12:15 pm, Austin Gabel <aga...@gmail.com> wrote: > What do you have for MEDIA_ROOT, MEDIA_URL, and ADMIN_MEDIA_PREFIX in your > settings file? > > On Fri, Jan 23, 2009 at 12:50 PM, May <adles...@gmail.com> wrote: > > > Hello, > > > I have windows, python 2.5, mod python and apache 2.2 working. > > However, when accessing the admin pages the admin CSS does not > > appear. I tried creating a subdir admin under my templates folder and > > copied the base_site.html to it, but I still can't get the css to > > work. > > > My settings file: > > > TEMPLATE_DIRS: > > 'C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/ > > templates', > > > INSTALLED_APPS: > > 'django.contrib.admin', > > > URL file: > > (r'^admin/(.*)', admin.site.root), > > > Is there something I should be adding to the http.conf file? > > > Thanks for any help, > > > May > > --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---