agusmakmun / django-markdown-editor

Awesome Django Markdown Editor, supported for Bootstrap & Semantic-UI
GNU General Public License v3.0
813 stars 1.34k forks source link

Dynamic MARTOR_UPLOAD_URL #241

Open kanishk619 opened 6 months ago

kanishk619 commented 6 months ago

With current implementation, the upload url has to be set via settings.py. In case the upload url has to be changed dynamically in certain scenarios, controlling it via MartorWidget(upload_url="https://some-url") would make more sense ?

agusmakmun commented 6 months ago

hmm, I don't think it's common to have dynamic upload url. But it possible to support. Can I know what the real case for this?