Skip to content

Commit

Permalink
fix urls
Browse files Browse the repository at this point in the history
  • Loading branch information
aspedrosa committed Jan 14, 2022
1 parent 0d37bbd commit 1d58e7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geowebservice/geowebservice/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

urlpatterns = [
# get child locations by geonameid
re_path(r"^geodatabase/(?P<geonameid>\d+)/$", views.detail),
re_path(r"^geodropdown/geodatabase/(?P<geonameid>\d+)/$", views.detail),

# get coordinates by name and fcode
re_path(r"^geodatabase/(?P<location>[a-zA-Z, ]+)/$", views.getCoordinates),
re_path(r"^geodropdown/geodatabase/(?P<location>[a-zA-Z, ]+)/$", views.getCoordinates),
]

0 comments on commit 1d58e7b

Please sign in to comment.