2016-09-29 20:20:10 +00:00
|
|
|
"""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/
|
|
|
|
"""
|
2017-02-16 01:01:36 +00:00
|
|
|
from django.conf.urls import url, include
|
2016-09-29 20:20:10 +00:00
|
|
|
from django.contrib import admin
|
2017-02-16 01:01:36 +00:00
|
|
|
from django.conf import settings
|
|
|
|
from django.conf.urls.static import static
|
|
|
|
|
2016-09-29 20:20:10 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
url(r'^admin/', admin.site.urls),
|
2017-02-16 15:14:37 +00:00
|
|
|
url(r'^select2/', include('django_select2.urls')),
|
2017-02-16 01:01:36 +00:00
|
|
|
|
|
|
|
url(r'^', include('storage.urls')),
|
2017-02-28 23:16:10 +00:00
|
|
|
] \
|
|
|
|
+ static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) \
|
|
|
|
+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|