PacktPublishing / Django-4-by-example

Django 4 by example (4th Edition) published by Packt
https://djangobyexample.com/
MIT License
799 stars 461 forks source link

Chapter 4, TemplateSyntaxError at /account/login/ Could not parse the remainder: '=="dashboard"' from 'section=="dashboard"' #45

Open ujyr81 opened 1 year ago

ujyr81 commented 1 year ago
Request Method: | GET -- | -- http://127.0.0.1:8000/account/login/ 4.2.1 TemplateSyntaxError Could not parse the remainder: '=="dashboard"' from 'section=="dashboard"' D:\Code\Web\Projects\Social Media App\.venv\lib\site-packages\django\template\base.py, line 703, in __init__ django.contrib.auth.views.LoginView
maskalev commented 9 months ago

@ujyr81 if you look at the source code, you will notice that spaces are used there (yes, there are none in the Russian version of the book either)