componentsDjangoType 2.0.29__tar.gz → 2.0.30__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {componentsdjangotype-2.0.29/componentsDjangoType.egg-info → componentsdjangotype-2.0.30}/PKG-INFO +1 -1
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30/componentsDjangoType.egg-info}/PKG-INFO +1 -1
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/services/authenticator_configurator.py +9 -3
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/setup.py +1 -1
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/LICENSE +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/MANIFEST.in +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/README.md +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType/__init__.py +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType/__pycache__/__init__.cpython-312.pyc +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType/management/__init__.py +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType/management/__pycache__/__init__.cpython-312.pyc +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType/management/commands/__init__.py +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType/management/commands/__pycache__/__init__.cpython-312.pyc +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType/management/commands/__pycache__/createApp.cpython-312.pyc +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType/management/commands/createApp.py +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType/management/commands/createcomponent.py +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType.egg-info/SOURCES.txt +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType.egg-info/dependency_links.txt +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType.egg-info/requires.txt +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/componentsDjangoType.egg-info/top_level.txt +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/services/__init__.py +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/services/authentication/__init__.py +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/services/authentication/auth.py +0 -0
- {componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/setup.cfg +0 -0
{componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/services/authenticator_configurator.py
RENAMED
@@ -92,13 +92,19 @@ path('', include('home.urls'))
|
|
92
92
|
# Verificar si la ruta de 'Home.urls' está en 'urlpatterns'
|
93
93
|
if "include('Home.urls')" not in urls_content:
|
94
94
|
stdout.write("Agregando ruta para 'home.urls'.\n")
|
95
|
-
|
95
|
+
|
96
|
+
# Agregar importación de 'include'
|
96
97
|
urls_content = urls_content.replace(
|
97
98
|
"from django.urls import path",
|
98
99
|
"from django.urls import path, include"
|
99
|
-
"urlpatterns = [",
|
100
|
-
"urlpatterns = [path('admin/', admin.site.urls),\n path('', include('Home.urls')),"
|
101
100
|
)
|
101
|
+
|
102
|
+
# Agregar 'Home.urls' a 'urlpatterns'
|
103
|
+
if "urlpatterns = [" in urls_content:
|
104
|
+
urls_content = urls_content.replace(
|
105
|
+
"urlpatterns = [",
|
106
|
+
"urlpatterns = [\n path('admin/', admin.site.urls),\n path('', include('Home.urls')),\n"
|
107
|
+
)
|
102
108
|
updated = True
|
103
109
|
|
104
110
|
# Escribir los cambios si se modificó algo
|
File without changes
|
File without changes
|
File without changes
|
{componentsdjangotype-2.0.29 → componentsdjangotype-2.0.30}/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.29 → componentsdjangotype-2.0.30}/services/authentication/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|