Sorry, my stupid mystake. I've copied bat templates from old Django
1.0 version.
On 7. Dec., 08:50 h., gentlestone wrote:
> I did not make any changes, just copied the original template to
> template/admin
>
> I tried to copy the tepmplate to root (templates/admin) for
I did not make any changes, just copied the original template to
template/admin
I tried to copy the tepmplate to root (templates/admin) for every app
and model
and also I tried copy the template to some app and model - the same
result
Because it didn't work, I put the line:
into base.html.
2009/12/4 gentlestone :
> 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__),
>
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
4 matches
Mail list logo