from django.conf.urls import url
from django.conf import settings
from django.conf.urls.static import static

from . import views

urlpatterns = [
    url(r'^$', views.home, name='home'),
    url(r'^backgrounds/$', views.backgrounds, name='background_upload'),
    url(r'^activates/$', views.activates, name='activates_upload'),
    url(r'^negatives/$', views.negatives, name='negatives_upload'),
]

if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

0eb94770a10c1fc7de0982c259f023acf7b7fc3a
<mask token>

<mask token>
if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
        )

<mask token>
urlpatterns = [url('^$', views.home, name='home'), url('^backgrounds/$',
    views.backgrounds, name='background_upload'), url('^activates/$', views
    .activates, name='activates_upload'), url('^negatives/$', views.
    negatives, name='negatives_upload')]
if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
        )

from django.conf.urls import url
from django.conf import settings
from django.conf.urls.static import static
from . import views
urlpatterns = [url('^$', views.home, name='home'), url('^backgrounds/$',
    views.backgrounds, name='background_upload'), url('^activates/$', views
    .activates, name='activates_upload'), url('^negatives/$', views.
    negatives, name='negatives_upload')]
if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
        )

from django.conf.urls import url
from django.conf import settings
from django.conf.urls.static import static

from . import views

urlpatterns = [
    url(r'^$', views.home, name='home'),
    url(r'^backgrounds/$', views.backgrounds, name='background_upload'),
    url(r'^activates/$', views.activates, name='activates_upload'),
    url(r'^negatives/$', views.negatives, name='negatives_upload'),
]

if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
