This commit is contained in:
2017-12-08 01:57:52 +03:00
parent 3a72250fd5
commit ccf0d76038

View File

@ -18,7 +18,7 @@ from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
from django.views.generic.base import TemplateView
urlpatterns = ['',
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^', include('blog.urls')),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)