Use appropriate names for data/geodata requests

This commit is contained in:
PCoder 2021-07-27 13:48:23 +05:30
parent eef66507e9
commit a432f2e5c2

View file

@ -60,8 +60,8 @@ urlpatterns = [
path('', HomePageView.as_view(), name='home'),
path('offline', OfflinePageView.as_view(), name='offline'),
path('demo/', admin.site.urls),
path('geodata/<path:path>/', send_from_file, name='send_file'),
path('data/<path:path>', send_from_file, name='send_file'),
path('geodata/<path:path>/', send_from_file, name='send_geodata_file'),
path('data/<path:path>', send_from_file, name='send_data_file'),
# TODO Implement the following
# path('reindex/', admin.site.urls),