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


from . import views

urlpatterns=[
    url(r'^$',views.images,name='images'),
    url(r'^search$',views.search,name='search'),
    url(r'^image/(\d+)',views.image,name='image'),
]

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

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

<mask token>
urlpatterns = [url('^$', views.images, name='images'), url('^search$',
    views.search, name='search'), url('^image/(\\d+)', views.image, name=
    'image')]
if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
        )

from django.conf import settings
from django.conf.urls import url
from django.conf.urls.static import static
from . import views
urlpatterns = [url('^$', views.images, name='images'), url('^search$',
    views.search, name='search'), url('^image/(\\d+)', views.image, name=
    'image')]
if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
        )

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


from . import views

urlpatterns=[
    url(r'^$',views.images,name='images'),
    url(r'^search$',views.search,name='search'),
    url(r'^image/(\d+)',views.image,name='image'),
]

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