Commit a449907323c4a0101a04f9add8628c599fbd3a3a
Committed by
Lucas Kanashiro
1 parent
27adefdb
Exists in
master
and in
8 other branches
Removed media related variables from urls.py
Since we are not using any user uploaded files, there is no need to use media related variables, e.g MEDIA_ROOT and MEDIA_URL Signed-off-by: Lucas Moura <lucas.moura128@gmail.com>
Showing
1 changed file
with
0 additions
and
6 deletions
Show diff stats
colab/urls.py
@@ -24,9 +24,3 @@ urlpatterns = patterns('', | @@ -24,9 +24,3 @@ urlpatterns = patterns('', | ||
24 | 24 | ||
25 | url(r'', include('colab.plugins.urls')), | 25 | url(r'', include('colab.plugins.urls')), |
26 | ) | 26 | ) |
27 | - | ||
28 | -if settings.DEBUG: | ||
29 | - urlpatterns += static.static( | ||
30 | - settings.MEDIA_URL, | ||
31 | - document_root=settings.MEDIA_ROOT | ||
32 | - ) |