diff --git a/apps/account/urls.py b/apps/account/urls.py index 5928727..a45b350 100644 --- a/apps/account/urls.py +++ b/apps/account/urls.py @@ -8,8 +8,8 @@ from apps.geolocation_package.views.geolocation import IPGeolocationAPIView, Rev from apps.geolocation_package.views.region_info import RegionInfoView urlpatterns = [ - path('geolocation/', IPGeolocationAPIView.as_view(), name='ip-geo'), - path('geolocation/reverse/', ReverseGeolocationAPIView.as_view(), name='reverse-geo'), + path('location-info/', IPGeolocationAPIView.as_view(), name='location-info'), + path('location-info/reverse/', ReverseGeolocationAPIView.as_view(), name='reverse-location-info'), path('region-info/', RegionInfoView.as_view(), name='region-info'), # URL for user registration, accepts POST requests for creating new user instances. @@ -22,8 +22,8 @@ urlpatterns = [ path('exchange-token/', views.ExchangeTokenAPIView.as_view(), name='exchange-token'), path('location-update/', views.LocationHistoryView.as_view(), name='user-location-history'), - path('location-info/', views.RegionInfoView.as_view(), name='region-info'), - path('geolocation/coordinates/', views.ReverseGeolocationAPIView.as_view(), name='geolocation-by-coordinates'), + # path('location-info/', views.RegionInfoView.as_view(), name='region-info'), + path('location-info/coordinates/', views.ReverseGeolocationAPIView.as_view(), name='location-info-by-coordinates'), diff --git a/entrypoint.sh b/entrypoint.sh index 5af54c1..66b9833 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,7 +10,7 @@ python manage.py collectstatic --noinput # python manage.py seed_russian_data # python manage.py hadisreferences # python manage.py seed_complete_hadis_data -python manage.py populate_books +# python manage.py populate_books # python manage.py populate_book_reference # python manage.py populate_refrence_images # python manage.py populate_article