Skip to content

Hidden and not very informative error messages #39

@fp4code

Description

@fp4code

The bug, step-by-step.

virtualenv env
source env/bin/activate
pip install djangocms-installer==0.9.7
djangocms mysite
cd mysite
./manage.py runserver # connect admin/admin

Create a Page, Add a snippet to Page with content:

It is {% now "jS F Y H:i" %}

As expected, the date is displayed: "It is 21st September 2017 09:57"

Replace the snippet content by a faulty one, with n0w instead of now:

It is {% n0w "jS F Y H:i" %}

Now nothing is displayed, but the html page source contains

	<class 'django.template.base.TemplateSyntaxError'>
  • this is not an legal html tag
  • this is not very informative

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions