forked from wiktor/spejstore-new
20 lines
622 B
Python
20 lines
622 B
Python
"""spejstore URL Configuration
|
|
|
|
The `urlpatterns` list routes URLs to views. For more information please see:
|
|
https://docs.djangoproject.com/en/1.10/topics/http/urls/
|
|
"""
|
|
from django.conf.urls import url, include
|
|
from django.contrib import admin
|
|
from django.conf import settings
|
|
from django.conf.urls.static import static
|
|
|
|
|
|
urlpatterns = [
|
|
url(r'^admin/', admin.site.urls),
|
|
url(r'^select2/', include('django_select2.urls')),
|
|
|
|
url(r'^', include('storage.urls')),
|
|
] \
|
|
+ static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) \
|
|
+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|