[Answered ]-TemplateSyntaxError at /admin/ Caught SyntaxError while rendering: invalid syntax

2👍

An error in your URL file can give that error message, due to the way things are imported.

In the example you posted, you’re missing a closing brace at the end. If that’s just from copying and pasting, try commenting each line out, then re-introducing them in turn to find which one is causing the problem.

0👍

Just had this problem. Discovered it was an error in my views file.

👤cammil

Leave a comment