componentsDjangoType 2.0.26__tar.gz → 2.0.29__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {componentsdjangotype-2.0.26/componentsDjangoType.egg-info → componentsdjangotype-2.0.29}/PKG-INFO +1 -1
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29/componentsDjangoType.egg-info}/PKG-INFO +1 -1
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/services/authenticator_configurator.py +4 -11
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/setup.py +1 -1
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/LICENSE +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/MANIFEST.in +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/README.md +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType/__init__.py +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType/__pycache__/__init__.cpython-312.pyc +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType/management/__init__.py +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType/management/__pycache__/__init__.cpython-312.pyc +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType/management/commands/__init__.py +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType/management/commands/__pycache__/__init__.cpython-312.pyc +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType/management/commands/__pycache__/createApp.cpython-312.pyc +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType/management/commands/createApp.py +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType/management/commands/createcomponent.py +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType.egg-info/SOURCES.txt +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType.egg-info/dependency_links.txt +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType.egg-info/requires.txt +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType.egg-info/top_level.txt +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/services/__init__.py +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/services/authentication/__init__.py +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/services/authentication/auth.py +0 -0
- {componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/setup.cfg +0 -0
{componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/services/authenticator_configurator.py
RENAMED
@@ -89,22 +89,15 @@ path('', include('home.urls'))
|
|
89
89
|
|
90
90
|
updated = False
|
91
91
|
|
92
|
-
# Verificar si 'include' está importado
|
93
|
-
if 'include' not in urls_content:
|
94
|
-
stdout.write("Agregando 'include' a los imports.\n")
|
95
|
-
urls_content = urls_content.replace(
|
96
|
-
"from django.urls import path",
|
97
|
-
"from django.urls import path, include" # Asegura que 'include' se agregue
|
98
|
-
)
|
99
|
-
updated = True
|
100
|
-
|
101
92
|
# Verificar si la ruta de 'Home.urls' está en 'urlpatterns'
|
102
|
-
if "include('
|
93
|
+
if "include('Home.urls')" not in urls_content:
|
103
94
|
stdout.write("Agregando ruta para 'home.urls'.\n")
|
104
95
|
# Asegúrate de agregar la ruta en el lugar adecuado dentro de 'urlpatterns'
|
105
96
|
urls_content = urls_content.replace(
|
97
|
+
"from django.urls import path",
|
98
|
+
"from django.urls import path, include"
|
106
99
|
"urlpatterns = [",
|
107
|
-
"urlpatterns = [
|
100
|
+
"urlpatterns = [path('admin/', admin.site.urls),\n path('', include('Home.urls')),"
|
108
101
|
)
|
109
102
|
updated = True
|
110
103
|
|
File without changes
|
File without changes
|
File without changes
|
{componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/componentsDjangoType/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{componentsdjangotype-2.0.26 → componentsdjangotype-2.0.29}/services/authentication/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|