componentsDjangoType 2.0.18__tar.gz → 2.0.19__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {componentsdjangotype-2.0.18/componentsDjangoType.egg-info → componentsdjangotype-2.0.19}/PKG-INFO +1 -1
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19/componentsDjangoType.egg-info}/PKG-INFO +1 -1
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/services/authenticator_configurator.py +10 -17
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/setup.py +1 -1
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/LICENSE +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/MANIFEST.in +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/README.md +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/componentsDjangoType/__init__.py +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/componentsDjangoType/management/__init__.py +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/componentsDjangoType/management/commands/__init__.py +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/componentsDjangoType/management/commands/createApp.py +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/componentsDjangoType/management/commands/createcomponent.py +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/componentsDjangoType.egg-info/SOURCES.txt +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/componentsDjangoType.egg-info/dependency_links.txt +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/componentsDjangoType.egg-info/requires.txt +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/componentsDjangoType.egg-info/top_level.txt +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/services/__init__.py +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/services/authentication/__init__.py +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/services/authentication/auth.py +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/services/home/__init__.py +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/services/home/urls_page.py +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/services/home/views_page.py +0 -0
- {componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/setup.cfg +0 -0
{componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/services/authenticator_configurator.py
RENAMED
@@ -158,26 +158,19 @@ path('', include('home.urls'))
|
|
158
158
|
# Crear el directorio si no existe
|
159
159
|
os.makedirs(home_dir, exist_ok=True)
|
160
160
|
|
161
|
-
#
|
162
|
-
views_source_path = os.path.abspath(views_page.__file__)
|
163
|
-
urls_source_path = os.path.abspath(urls_page.__file__)
|
164
|
-
|
165
|
-
# Comprobar si los archivos fuente existen
|
161
|
+
# Verificar y crear views.py
|
162
|
+
views_source_path = os.path.abspath(views_page.__file__) # Validar existencia
|
166
163
|
if not os.path.exists(views_source_path):
|
167
|
-
stdout.write(f"El archivo fuente '{views_source_path}' no existe
|
168
|
-
|
169
|
-
|
170
|
-
self.create_file(views_source_path, views_path, stdout)
|
171
|
-
else:
|
172
|
-
return
|
164
|
+
stdout.write(f"El archivo fuente '{views_source_path}' no existe.\n")
|
165
|
+
else:
|
166
|
+
self.create_file(views_source_path, views_path, stdout)
|
173
167
|
|
168
|
+
# Verificar y crear urls.py
|
169
|
+
urls_source_path = os.path.abspath(urls_page.__file__) # Validar existencia
|
174
170
|
if not os.path.exists(urls_source_path):
|
175
|
-
stdout.write(f"El archivo fuente '{urls_source_path}' no existe
|
176
|
-
|
177
|
-
|
178
|
-
self.create_file(urls_source_path, urls_path, stdout)
|
179
|
-
else:
|
180
|
-
return
|
171
|
+
stdout.write(f"El archivo fuente '{urls_source_path}' no existe.\n")
|
172
|
+
else:
|
173
|
+
self.create_file(urls_source_path, urls_path, stdout)
|
181
174
|
|
182
175
|
def create_file(self, source_path, dest_path, stdout):
|
183
176
|
try:
|
File without changes
|
File without changes
|
File without changes
|
{componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/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
|
{componentsdjangotype-2.0.18 → componentsdjangotype-2.0.19}/services/authentication/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|