RamezIssac/django-erp-framework

CSRF Issue

gridworkz opened this issue · 2 comments

Hi:

After a fresh install I'm getting a CSRF token error when trying to login with super user:

....
django.template.exceptions.TemplateSyntaxError: Invalid filter: 'jazzy_admin_url'
...

In template /home/osboxes/.local/lib/python3.6/site-packages/ra/admin/templates/ra/sidebar.html, error at line 24

Cheers,
Dave

Solution to the problem can be found in the ticket: #16

Now I get - Invalid filter: request

Also after a fresh install 'crequest' appears twice in INSTALLED_APPS and I need to pip install django-compressor.

I noticed in the project_template - settings.py there's 2 crequest entries and compressor is not there in INSTALLED_APPS