summaryrefslogtreecommitdiff
path: root/fossee_anime
diff options
context:
space:
mode:
authorAkshen2019-03-19 13:43:58 +0530
committerAkshen2019-03-19 13:43:58 +0530
commita7844e4135f1452b5156561882e4ccb754ac1dd3 (patch)
treef730a784fa498f798662e7148087db1f77883077 /fossee_anime
parentefda4b675ab162346a72abf0ceee29cfc0f99001 (diff)
downloadFOSSEE_animations-a7844e4135f1452b5156561882e4ccb754ac1dd3.tar.gz
FOSSEE_animations-a7844e4135f1452b5156561882e4ccb754ac1dd3.tar.bz2
FOSSEE_animations-a7844e4135f1452b5156561882e4ccb754ac1dd3.zip
Major Update 2
- Contributor can add animation videos
Diffstat (limited to 'fossee_anime')
-rw-r--r--fossee_anime/urls.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/fossee_anime/urls.py b/fossee_anime/urls.py
index dff7bac..9fb65d5 100644
--- a/fossee_anime/urls.py
+++ b/fossee_anime/urls.py
@@ -17,9 +17,13 @@ Including another URLconf
from django.conf.urls import url, include
from django.contrib import admin
from fossee_manim import views
+from django.conf import settings
+from django.conf.urls.static import static
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^', include('fossee_manim.urls')),
url(r'^', include('fossee_manim.urls_password_reset'))
-] \ No newline at end of file
+]
+urlpatterns += static(settings.MEDIA_URL,
+ document_root=settings.MEDIA_ROOT) \ No newline at end of file