Skip to content

Conversation

nathanielCherian
Copy link

Many users have a need to disallow users from uploading their own media to the server (#106). Prior django-markdownx did not natively support disabling media uploads. As a convienience feature I added the settings param MARKDOWNX_UPLOAD which defaults to True. When set to False it intercepts the post request in ImageForm and returns the ValidationError 'Media uploads to the server are disabled.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant