From 10f4ed8a37d5eb2caa6258fd5d66bce4c6a79e8c Mon Sep 17 00:00:00 2001 From: "jp.dev" Date: Fri, 20 Nov 2020 20:52:22 -0300 Subject: [PATCH] reestructuracion del sitio --- ProyectoWeb/ProyectoWeb/settings.py | 1 + ProyectoWeb/ProyectoWeb/urls.py | 1 + ProyectoWeb/ProyectoWebApp/apps.py | 7 + ProyectoWeb/ProyectoWebApp/models.py | 3 - .../templates/ProyectoWebApp/base.html | 5 +- .../templates/ProyectoWebApp/home.html | 3 +- .../templates/ProyectoWebApp/servicios.html | 10 - ProyectoWeb/ProyectoWebApp/urls.py | 4 +- ProyectoWeb/ProyectoWebApp/views.py | 4 - ProyectoWeb/README.md | 188 ++++++++++++++++-- ProyectoWeb/manage.py | 22 ++ .../migrations/0008_auto_20201120_1523.py | 22 ++ .../__pycache__/0001_initial.cpython-38.pyc | Bin 0 -> 887 bytes .../0002_auto_20201118_2354.cpython-38.pyc | Bin 0 -> 563 bytes .../0003_auto_20201118_2357.cpython-38.pyc | Bin 0 -> 546 bytes .../0004_auto_20201119_0000.cpython-38.pyc | Bin 0 -> 559 bytes .../0005_auto_20201119_0010.cpython-38.pyc | Bin 0 -> 590 bytes .../0006_auto_20201119_0323.cpython-38.pyc | Bin 0 -> 589 bytes .../0007_auto_20201119_0323.cpython-38.pyc | Bin 0 -> 590 bytes .../0008_auto_20201120_1523.cpython-38.pyc | Bin 0 -> 701 bytes .../__pycache__/__init__.cpython-38.pyc | Bin 0 -> 160 bytes ProyectoWeb/servicios/models.py | 6 +- .../templates/servicios/servicios.html | 18 ++ ProyectoWeb/servicios/urls.py | 11 + ProyectoWeb/servicios/views.py | 5 + 25 files changed, 266 insertions(+), 44 deletions(-) create mode 100644 ProyectoWeb/ProyectoWebApp/apps.py delete mode 100644 ProyectoWeb/ProyectoWebApp/models.py delete mode 100644 ProyectoWeb/ProyectoWebApp/templates/ProyectoWebApp/servicios.html create mode 100755 ProyectoWeb/manage.py create mode 100644 ProyectoWeb/servicios/migrations/0008_auto_20201120_1523.py create mode 100644 ProyectoWeb/servicios/migrations/__pycache__/0001_initial.cpython-38.pyc create mode 100644 ProyectoWeb/servicios/migrations/__pycache__/0002_auto_20201118_2354.cpython-38.pyc create mode 100644 ProyectoWeb/servicios/migrations/__pycache__/0003_auto_20201118_2357.cpython-38.pyc create mode 100644 ProyectoWeb/servicios/migrations/__pycache__/0004_auto_20201119_0000.cpython-38.pyc create mode 100644 ProyectoWeb/servicios/migrations/__pycache__/0005_auto_20201119_0010.cpython-38.pyc create mode 100644 ProyectoWeb/servicios/migrations/__pycache__/0006_auto_20201119_0323.cpython-38.pyc create mode 100644 ProyectoWeb/servicios/migrations/__pycache__/0007_auto_20201119_0323.cpython-38.pyc create mode 100644 ProyectoWeb/servicios/migrations/__pycache__/0008_auto_20201120_1523.cpython-38.pyc create mode 100644 ProyectoWeb/servicios/migrations/__pycache__/__init__.cpython-38.pyc create mode 100644 ProyectoWeb/servicios/templates/servicios/servicios.html create mode 100644 ProyectoWeb/servicios/urls.py diff --git a/ProyectoWeb/ProyectoWeb/settings.py b/ProyectoWeb/ProyectoWeb/settings.py index dfd9693..124760e 100644 --- a/ProyectoWeb/ProyectoWeb/settings.py +++ b/ProyectoWeb/ProyectoWeb/settings.py @@ -38,6 +38,7 @@ INSTALLED_APPS = [ 'django.contrib.messages', 'django.contrib.staticfiles', 'ProyectoWebApp', + 'servicios', ] MIDDLEWARE = [ diff --git a/ProyectoWeb/ProyectoWeb/urls.py b/ProyectoWeb/ProyectoWeb/urls.py index 5596116..9c622f0 100644 --- a/ProyectoWeb/ProyectoWeb/urls.py +++ b/ProyectoWeb/ProyectoWeb/urls.py @@ -21,4 +21,5 @@ from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('', include('ProyectoWebApp.urls')), + path('servicios/', include('servicios.urls')), ] diff --git a/ProyectoWeb/ProyectoWebApp/apps.py b/ProyectoWeb/ProyectoWebApp/apps.py new file mode 100644 index 0000000..a99c0ba --- /dev/null +++ b/ProyectoWeb/ProyectoWebApp/apps.py @@ -0,0 +1,7 @@ +from django.apps import AppConfig + + +class ProyectowebappConfig(AppConfig): + name = 'ProyectoWebApp' + + diff --git a/ProyectoWeb/ProyectoWebApp/models.py b/ProyectoWeb/ProyectoWebApp/models.py deleted file mode 100644 index 71a8362..0000000 --- a/ProyectoWeb/ProyectoWebApp/models.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.db import models - -# Create your models here. diff --git a/ProyectoWeb/ProyectoWebApp/templates/ProyectoWebApp/base.html b/ProyectoWeb/ProyectoWebApp/templates/ProyectoWebApp/base.html index 46bb9fb..d166e5f 100644 --- a/ProyectoWeb/ProyectoWebApp/templates/ProyectoWebApp/base.html +++ b/ProyectoWeb/ProyectoWebApp/templates/ProyectoWebApp/base.html @@ -8,7 +8,7 @@ - + @@ -28,7 +28,7 @@