Skip to content

Commit

Permalink
Remove a few warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tizot committed May 12, 2016
1 parent 28c7a04 commit a186c10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Django == 1.9

djangorestframework == 3.3.2
djangorestframework-jwt == 1.7.2
django-rest-swagger == 0.3.4
django-rest-swagger == 0.3.6
dry-rest-permissions == 0.1.6
git+https://github.com/chibisov/drf-extensions@master

Expand Down
3 changes: 2 additions & 1 deletion sigma/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from django.contrib import admin
from rest_framework import routers
from django.conf import settings
from django.views import static

router = routers.DefaultRouter()

Expand Down Expand Up @@ -51,6 +52,6 @@
if settings.DEBUG:
urlpatterns.append(
url(r'^media/(?P<path>.*)$',
'django.views.static.serve',
static.serve,
{'document_root': settings.MEDIA_ROOT, }),
)

0 comments on commit a186c10

Please sign in to comment.