dmptrluke / django-markdownfield

A simple custom field for Django that can safely render Markdown and store it in the database.
MIT License
43 stars 13 forks source link

Removed assumption of Settings.SITE_URL existing #23

Closed bernd-wechner closed 10 months ago

bernd-wechner commented 1 year ago

Not a standard Django setting, so causing crashes. Added a failsafe assumption of externality. This setting should be documented. If a dependency on the django-crequest package is fine, the request object would be available and could fetch the site URL in a standard way.