agusmakmun / agusmakmun/django-markdown-editor

Dynamic MARTOR_UPLOAD_URL

Open
#241 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
901
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

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 ?

Contributor guide

Open the contributing guide

Research direction

Start by tracing MARTOR_UPLOAD_URL from settings.py into MartorWidget, focusing on how the current upload URL is passed to the editor. The work is done when a widget-level upload_url can override the setting while existing configuration behavior remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.