Skip to content

Commit

Permalink
"Disable" login page and API
Browse files Browse the repository at this point in the history
  • Loading branch information
TurnrDev authored Jan 4, 2024
1 parent f2ceffc commit eead6d9
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@
),
path("api/admin/doc/", include("django.contrib.admindocs.urls")),
path("api/admin/", admin.site.urls),
path("api/", include("core.api.urls")),
path("api/ocr/", include("ocr.urls")),
path("api/v1/", include("pokemongo.api.v1.urls")),
path("api/v2/", include("pokemongo.api.v2.urls")),
path("api/token-auth/", views.obtain_auth_token),
path(
"api/oauth/",
include(
(oauth2_provider.urls.base_urlpatterns, oauth2_provider.urls.app_name),
namespace=oauth2_provider.urls.app_name,
),
),
#path("api/", include("core.api.urls")),
#path("api/ocr/", include("ocr.urls")),
#path("api/v1/", include("pokemongo.api.v1.urls")),
#path("api/v2/", include("pokemongo.api.v2.urls")),
#path("api/token-auth/", views.obtain_auth_token),
#path(
# "api/oauth/",
# include(
# (oauth2_provider.urls.base_urlpatterns, oauth2_provider.urls.app_name),
# namespace=oauth2_provider.urls.app_name,
# ),
#),
path("legal/privacy/", privacy, name="privacy"),
path("legal/terms/", terms, name="terms"),
path("status/", service_status, name="service_status"),
path("settings/", settings, name="account_settings"),
path("settings/profile/", edit_profile, name="profile_edit"),
path("accounts/", include("allauth.urls")),
#path("settings/", settings, name="account_settings"),
#path("settings/profile/", edit_profile, name="profile_edit"),
#path("accounts/", include("allauth.urls")),
path("", include("pokemongo.urls")),
path("silk/", include("silk.urls", namespace="silk")),
re_path(r"^robots\.txt", include("robots.urls")),
Expand Down

0 comments on commit eead6d9

Please sign in to comment.