I've tried to folow the tutorial and customize the admin template and
made a copy of 'change_form.html' template into the 'templates/admin'
directory in my project. I also set the
TEMPLATE_DIRS = (os.path.join(os.path.dirname(__file__),
'templates').replace('\\','/'),

After this, the result is BAD. In the result admin page source code,
the line

<link rel="stylesheet" type="text/css" href="/media/css/base.css" />

is missing. I recognized the change_form.html rewrites the stylesheet
block:

{% block stylesheet %}{% admin_media_prefix %}css/forms.css{% endblock
%}

so I know why, but the original non-copy version of change_form.html
is the SAME! How can it works in the original? I am totally confused.

What am I doing wrong? Some setting is missing?

--

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 at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to