From a562a064b504911657338094785e2e9597b01dcd Mon Sep 17 00:00:00 2001 From: tury Date: Mon, 20 Apr 2020 21:10:51 -0400 Subject: [PATCH] Add image upload instructions I had some trouble with getting MarkdownX's image upload feature to work the other day. Turns out I forgot to define my `MEDIA_ROOT` and my `MEDIA_URL` in my `settings.py`. This will save time for people when installing MarkdownX in their project. --- docs/getting_started/index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/getting_started/index.html b/docs/getting_started/index.html index 5c4bff2..f71d4dc 100644 --- a/docs/getting_started/index.html +++ b/docs/getting_started/index.html @@ -158,6 +158,12 @@ urlpatterns += [ url(r'^markdownx/', include(markdownx)) ] +
+

Note

+

Make sure that you have defined MEDIA_ROOT and MEDIA_URL in your settings.py to enable MarkdownX's image upload feature. +

+
+

Caution

Don't forget to collect MarkdownX assets to your STATIC_ROOT. To do this, run: