Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Django version 1.3 alpha 1 - no css in admin when using builtin webserver [RSS Feed]

#1 Dec. 22, 2010 11:00:46

f.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django version 1.3 alpha 1 - no css in admin when using builtin webserver


Hi all,
Just getting back to some django devel after a few years hiatus. Have
a problem with css on my dev webserver (just the builtin one that
comes with django). Running this on windows XP.
It refuses to serve the css for the admin site. I haven't changed
anything in the settings.py and what I recall was that this just
worked out of the box. A quick google only seems to bring up people
havning this problen on apache, etc, which is not the case here. Does
anyone have an idea what's missing?

settings:


# Absolute filesystem path to the directory that will hold user-
uploaded files.
# Example: "/home/media/media.lawrence.com/media/"
MEDIA_ROOT = ''

# 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/media/";, "http://example.com/media/"
MEDIA_URL = ''

# Absolute path to the directory that holds static files.
# Example: "/home/media/media.lawrence.com/static/"
STATIC_ROOT = ''

# URL that handles the static files served from STATIC_ROOT.
# Example: "http://media.lawrence.com/static/";
STATIC_URL = '/static/'

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

# A list of locations of additional static files
STATICFILES_DIRS = ()

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » Django version 1.3 alpha 1 - no css in admin when using builtin webserver [RSS Feed]

Board footer

Moderator control

Enjoy the 12th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support