from django.urls import include, re_path, path
from landmapper.views import *

urlpatterns = [
    # What is difference between re_path and path?
    # re_path(r'',
        # home, name='landmapper-home'),
    path('', home, name="home"),
    path('/identify/', identify, name="identify"),
    path('/report/', report, name="report"),
    path('/pages/', include('django.contrib.flatpages.urls')),
    url(r'^get_taxlot_json', views.get_taxlot_json, name='get taxlot json'),
]

from django.urls import include, re_path, path
from landmapper.views import *

urlpatterns = [
    # What is difference between re_path and path?
    # re_path(r'',
        # home, name='landmapper-home'),
    path('', home, name="home"),
    path('/identify', identify, name="identify"),
    path('/report', report, name="report"),
    path('/get_taxlot_json', get_taxlot_json, name='get taxlot json'),
]

Fix get taxlot url and remove trailing slashes
Fix get taxlot url and remove trailing slashes

  from django.urls import include, re_path, path
  from landmapper.views import *
  
  urlpatterns = [
      # What is difference between re_path and path?
      # re_path(r'',
          # home, name='landmapper-home'),
      path('', home, name="home"),
-     path('/identify/', identify, name="identify"),
+     path('/identify', identify, name="identify"),
-     path('/report/', report, name="report"),
+     path('/report', report, name="report"),
-     path('/pages/', include('django.contrib.flatpages.urls')),
-     url(r'^get_taxlot_json', views.get_taxlot_json, name='get taxlot json'),
+     path('/get_taxlot_json', get_taxlot_json, name='get taxlot json'),
  ]
  
Fix get taxlot url and remove trailing slashes
## Code Before:
from django.urls import include, re_path, path
from landmapper.views import *

urlpatterns = [
    # What is difference between re_path and path?
    # re_path(r'',
        # home, name='landmapper-home'),
    path('', home, name="home"),
    path('/identify/', identify, name="identify"),
    path('/report/', report, name="report"),
    path('/pages/', include('django.contrib.flatpages.urls')),
    url(r'^get_taxlot_json', views.get_taxlot_json, name='get taxlot json'),
]

## Instruction:
Fix get taxlot url and remove trailing slashes
## Code After:
from django.urls import include, re_path, path
from landmapper.views import *

urlpatterns = [
    # What is difference between re_path and path?
    # re_path(r'',
        # home, name='landmapper-home'),
    path('', home, name="home"),
    path('/identify', identify, name="identify"),
    path('/report', report, name="report"),
    path('/get_taxlot_json', get_taxlot_json, name='get taxlot json'),
]
