django_markdown icon indicating copy to clipboard operation
django_markdown copied to clipboard

Updated urls.py and utils.py to get rid of deprecation warnings

Open NickHurst opened this issue 9 years ago • 1 comments

Update to get rid of deprecation warnings. Stopped using patterns() in urls.py. Changed ctx in utils.py to a dictionary rather than a context. Used mark_safe on the extra_settings parameter to prevent escaping.

Added conditional from #60 to handle different django versions when calling markdown preview.

NickHurst avatar Feb 05 '16 21:02 NickHurst

I'm currently using @NickHurst's branch in production since it includes the Django 1.9 compatibility fixes. Would be nice to be able to go back to the mainline in my requirements.txt though.

marshallds avatar Apr 18 '16 16:04 marshallds