from django.conf import settings
from django.conf.urls.static import static
from django.urls import path
from django.urls.resolvers import URLPattern
from django.conf.urls import url
from . import views





urlpatterns=[
    path('', views.home,name='home'),
    path('search/', views.search_photo_category, name='search_results'), 
    path('location/', views.location, name='locate'),
   
]
if settings.DEBUG:
    urlpatterns+= static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)


2c6ca0bebb6b3da93bdd3ce8bd9c32f92060bfa7
<mask token>

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

<mask token>
urlpatterns = [path('', views.home, name='home'), path('search/', views.
    search_photo_category, name='search_results'), path('location/', views.
    location, name='locate')]
if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
        )

from django.conf import settings
from django.conf.urls.static import static
from django.urls import path
from django.urls.resolvers import URLPattern
from django.conf.urls import url
from . import views
urlpatterns = [path('', views.home, name='home'), path('search/', views.
    search_photo_category, name='search_results'), path('location/', views.
    location, name='locate')]
if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
        )

from django.conf import settings
from django.conf.urls.static import static
from django.urls import path
from django.urls.resolvers import URLPattern
from django.conf.urls import url
from . import views





urlpatterns=[
    path('', views.home,name='home'),
    path('search/', views.search_photo_category, name='search_results'), 
    path('location/', views.location, name='locate'),
   
]
if settings.DEBUG:
    urlpatterns+= static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)

