4👍
✅
I dont think you can use relative imports in template inheritance. Thats your problem. You need to specify how it can be found relative to TEMPLATES_DIR(or applicationdirectory/templates)
0👍
The main difference in template inheritance from 0.96 and 1.0 was simply that if you use {% extends %}
, it must be the first line in the template.
If that’s not the problem, please post the traceback so we can see what’s going on.
- [Django]-How can I use a Django template tag for greater than on a forloop.counter?
- [Django]-Django Rest Framework Filtering an object in get_queryset method
- [Django]-Creating confirmation dialog pages when Javascript is disabled
- [Django]-How to have separate urls for the same app in Django 1.9
Source:stackexchange.com