Hi Arthur,
Thanks for your post. It was one of the first I found perfectly aligned with
my current issue: showing the look & feel one would expect, while following
the official django tutorial at
http://docs.djangoproject.com/en/dev/intro/tutorial02/ using django's
default *development
for test server i add the following lines in settings.py
import os
SITE_ROOT = os.path.realpath(os.path.dirname(__file__))
STATIC_DOC_ROOT = os.path.join(SITE_ROOT, 'media/')
and add the following lines in urls.py
if settings.DEBUG == True:
urlpatterns +=
I'm using svn install. I am using the same virtualhost for django and
static files, with ADMIN_MEDIA_PREFIX set to '/media/', which I
believe was the default.
The admin app works fine so far, but the server gives me a 404 on the
css files:
Using the URLconf defined in testproject.urls,
3 matches
Mail list logo