django-markdown-editor
django-markdown-editor copied to clipboard
Preview fails due to missing CSRF token
When selecting preview tab in admin, it says "Nothing to preview". The console output shows the following::
WARNING django.security.csrf: Forbidden (CSRF token missing or incorrect.): /martor/markdownify/
- Django version: 2.2.12
- Martor version: 1.6.13
hello @bendavis78, please add this in your settings:
CSRF_COOKIE_HTTPONLY = False