componentsDjangoType 1.0.1__tar.gz → 1.0.2__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. {componentsdjangotype-1.0.1/componentsDjangoType.egg-info → componentsdjangotype-1.0.2}/PKG-INFO +1 -1
  2. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType/management/commands/createApp.py +2 -4
  3. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2/componentsDjangoType.egg-info}/PKG-INFO +1 -1
  4. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/setup.py +1 -1
  5. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/LICENSE +0 -0
  6. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/MANIFEST.in +0 -0
  7. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/README.md +0 -0
  8. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType/__init__.py +0 -0
  9. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType/management/__init__.py +0 -0
  10. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType/management/commands/__init__.py +0 -0
  11. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType/management/commands/createcomponent.py +0 -0
  12. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType/management/commands/utils/css/authentication.css +0 -0
  13. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType/management/commands/utils/js/alertErrors.js +0 -0
  14. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType/management/commands/utils/layouts/index.html +0 -0
  15. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType/management/commands/utils/pages/home.html +0 -0
  16. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType/management/commands/utils/pages/logged.html +0 -0
  17. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType/management/commands/utils/pages/login.html +0 -0
  18. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType/management/commands/utils/pages/singup.html +0 -0
  19. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType.egg-info/SOURCES.txt +0 -0
  20. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType.egg-info/dependency_links.txt +0 -0
  21. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType.egg-info/requires.txt +0 -0
  22. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/componentsDjangoType.egg-info/top_level.txt +0 -0
  23. {componentsdjangotype-1.0.1 → componentsdjangotype-1.0.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: componentsDjangoType
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: A Django app for creating HTML components
5
5
  Home-page: https://github.com/jose-CR/componentsDjangoType
6
6
  Author: Alejandro
@@ -1,4 +1,3 @@
1
- # componentsDjangoType/management/commands/createcomponentApp.py
2
1
  import os
3
2
  from django.core.management.base import BaseCommand
4
3
  from django.core.management import call_command
@@ -37,7 +36,8 @@ class Command(BaseCommand):
37
36
  self.stdout.write(f"El archivo '{urls_path}' ya existe.")
38
37
 
39
38
  # Paso 4: Modificar el archivo urls.py principal del proyecto
40
- project_urls_path = os.path.join(project_name, 'urls.py')
39
+ project_urls_path = os.path.join(
40
+ project_name, 'urls.py')
41
41
  if os.path.exists(project_urls_path):
42
42
  with open(project_urls_path, 'r') as f:
43
43
  content = f.read()
@@ -152,8 +152,6 @@ class Command(BaseCommand):
152
152
  self.stdout.write(
153
153
  f"El archivo '{authentication_file_path}' ya existe.")
154
154
 
155
- import os
156
-
157
155
  # Paso 6: Crear la carpeta templates y los archivos HTML
158
156
  # Asumiendo que `project_name` ya está definido
159
157
  templates_dir = os.path.join(project_name, 'templates')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: componentsDjangoType
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: A Django app for creating HTML components
5
5
  Home-page: https://github.com/jose-CR/componentsDjangoType
6
6
  Author: Alejandro
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='componentsDjangoType',
5
- version='1.0.1',
5
+ version='1.0.2',
6
6
  packages=find_packages(),
7
7
  include_package_data=True,
8
8
  license='MIT',