[Answered ]-Django {% include %} Templatetag not working for a {% load %} in file

2👍

It seems that the problem refers to the django-messages app’s version that is used on your VPS. You are using python3.4 version and if you will just install django_messages with pip install you’ll face an issue with old Exception syntax (just in 39 line):

raise TemplateSyntaxError, "first argument to inbox_count tag must be 'as'"

It was changed in the master branch https://github.com/arneb/django-messages/commit/659a3dd710051f54e3edc1d76cdfb910d7d04c1a#diff-2006ff4f62d84a3bee25f8b1823d6a5fL39, so if you try update django-messages app version you will get rid of SyntaxError problem.

👤Nick

Leave a comment