Handle data request and comment out requests to be implemented

This commit is contained in:
PCoder 2021-07-27 13:45:56 +05:30
parent 386ea46310
commit eef66507e9

View file

@ -61,18 +61,18 @@ urlpatterns = [
path('offline', OfflinePageView.as_view(), name='offline'), path('offline', OfflinePageView.as_view(), name='offline'),
path('demo/', admin.site.urls), path('demo/', admin.site.urls),
path('geodata/<path:path>/', send_from_file, name='send_file'), path('geodata/<path:path>/', send_from_file, name='send_file'),
path('data/<path:path>', admin.site.urls), path('data/<path:path>', send_from_file, name='send_file'),
path('reindex/', admin.site.urls),
path('progress/', admin.site.urls),
path('refresh/', admin.site.urls),
path('upload/', admin.site.urls),
path('api/taxa', admin.site.urls),
path('api/fields', admin.site.urls),
path('api/ranges', admin.site.urls),
path('api/resources', admin.site.urls),
path('api/people', admin.site.urls),
path('api/people/<int:people_id>', admin.site.urls),
path('api/search', admin.site.urls),
# TODO Implement the following
# path('reindex/', admin.site.urls),
# path('progress/', admin.site.urls),
# path('refresh/', admin.site.urls),
# path('upload/', admin.site.urls),
# path('api/taxa', admin.site.urls),
# path('api/fields', admin.site.urls),
# path('api/ranges', admin.site.urls),
# path('api/resources', admin.site.urls),
# path('api/people', admin.site.urls),
# path('api/people/<int:people_id>', admin.site.urls),
# path('api/search', admin.site.urls),
] ]