Browse Source

change account infos

master
Mohsen Taba 4 months ago
parent
commit
05cf9ee8a4
  1. 8
      apps/account/urls.py
  2. 2
      entrypoint.sh

8
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'),

2
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

Loading…
Cancel
Save