[Django]-Differences in Django Template Inheritance between 0.96 and 1.0?

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)

👤agiliq

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.

Leave a comment