xadmin override base_site.html

82 views
Skip to first unread message

Christian Schulz

unread,
Sep 30, 2013, 10:54:43 AM9/30/13
to django...@googlegroups.com
Hi,

has someboday a clue why I get this error.
Without the modifications xadmin works fine, but if  I copy  for modifications in my ../templates/xadmin/base_site.html
I got the error below.

If I cut this *if step*  the template is loaded but without surprise in fragile form. Has anybody an idea where this menu_template
comes from , can't find it yet?  With the complete  template/xadmin folder in my ../templatesthe problem is still the same.

Thanks Christian

TemplateDoesNotExist at /admin
No exception supplied
Request Method: GET
Django Version: 1.5.4
Exception Type: TemplateDoesNotExist
Exception Location: /home/chris/.local/lib/python2.7/site-packages/django/template/loader.py in find_template, line 139



31 <div id="body-content" class="clearfix row">
32 <div id="left-side" class="col-sm-1 col-md-2">
33 {% block navbar %}
34 {% if nav_menu %}
35 {% include menu_template %}
36 {% else %}
37 <p>{% trans "You don't have permission to edit anything." %}</p>
38 {% endif %}
39 {% endblock %}
40 </div>


Christian Schulz

unread,
Sep 30, 2013, 11:35:52 AM9/30/13
to django...@googlegroups.com
Ahh got it , different versions in my installation.

Christian
Reply all
Reply to author
Forward
0 new messages