From 517c3c616f88a300b491b01b6ef959ecca93f997 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Wed, 6 Nov 2024 15:11:39 +0100 Subject: [PATCH] Elimino GestionRiesgos --- GestionRiesgos/riesgos/db.sqlite3 | Bin 131072 -> 0 bytes GestionRiesgos/riesgos/gestion/__init__.py | 0 GestionRiesgos/riesgos/gestion/admin.py | 3 - GestionRiesgos/riesgos/gestion/apps.py | 6 - .../riesgos/gestion/migrations/__init__.py | 0 GestionRiesgos/riesgos/gestion/models.py | 3 - GestionRiesgos/riesgos/gestion/tests.py | 3 - GestionRiesgos/riesgos/gestion/views.py | 3 - GestionRiesgos/riesgos/manage.py | 22 --- GestionRiesgos/riesgos/riesgos/__init__.py | 0 GestionRiesgos/riesgos/riesgos/asgi.py | 16 --- GestionRiesgos/riesgos/riesgos/settings.py | 125 ------------------ GestionRiesgos/riesgos/riesgos/urls.py | 22 --- GestionRiesgos/riesgos/riesgos/wsgi.py | 16 --- 14 files changed, 219 deletions(-) delete mode 100644 GestionRiesgos/riesgos/db.sqlite3 delete mode 100644 GestionRiesgos/riesgos/gestion/__init__.py delete mode 100644 GestionRiesgos/riesgos/gestion/admin.py delete mode 100644 GestionRiesgos/riesgos/gestion/apps.py delete mode 100644 GestionRiesgos/riesgos/gestion/migrations/__init__.py delete mode 100644 GestionRiesgos/riesgos/gestion/models.py delete mode 100644 GestionRiesgos/riesgos/gestion/tests.py delete mode 100644 GestionRiesgos/riesgos/gestion/views.py delete mode 100755 GestionRiesgos/riesgos/manage.py delete mode 100644 GestionRiesgos/riesgos/riesgos/__init__.py delete mode 100644 GestionRiesgos/riesgos/riesgos/asgi.py delete mode 100644 GestionRiesgos/riesgos/riesgos/settings.py delete mode 100644 GestionRiesgos/riesgos/riesgos/urls.py delete mode 100644 GestionRiesgos/riesgos/riesgos/wsgi.py diff --git a/GestionRiesgos/riesgos/db.sqlite3 b/GestionRiesgos/riesgos/db.sqlite3 deleted file mode 100644 index 7df03a6b7daf13de9034d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NbFD7um{Y6I;<-+o0w^vlRG9XYV~&(6%|RrP*>d>uC@pV4kiy@Rm-w136lm&BH2V z&{ouRLR0e*%RUZ!y?^4!)v)V4N(GEEbk2AjdoW3aXcb)KJ%N0O{5|<|@-^~4joz8O?3E;8a+3W_0Q*S;pM%B%EXKdxe{6t8XIa$z z9fDC&5(3lwXH4i%#?YUds_wDpe_`Y)RS9ZA00ck)1V8`;KmY_l00ck)1V8`;o(Tfj z|Nl%h1B?Ix5C8!X009sH0T2KI5C8!X0D-4U0MGwV6)%*700@8p2!H?xfB*=900@8p L2!OydLE!%Z*xfFf diff --git a/GestionRiesgos/riesgos/gestion/__init__.py b/GestionRiesgos/riesgos/gestion/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/GestionRiesgos/riesgos/gestion/admin.py b/GestionRiesgos/riesgos/gestion/admin.py deleted file mode 100644 index 8c38f3f..0000000 --- a/GestionRiesgos/riesgos/gestion/admin.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.contrib import admin - -# Register your models here. diff --git a/GestionRiesgos/riesgos/gestion/apps.py b/GestionRiesgos/riesgos/gestion/apps.py deleted file mode 100644 index 9fab178..0000000 --- a/GestionRiesgos/riesgos/gestion/apps.py +++ /dev/null @@ -1,6 +0,0 @@ -from django.apps import AppConfig - - -class GestionConfig(AppConfig): - default_auto_field = 'django.db.models.BigAutoField' - name = 'gestion' diff --git a/GestionRiesgos/riesgos/gestion/migrations/__init__.py b/GestionRiesgos/riesgos/gestion/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/GestionRiesgos/riesgos/gestion/models.py b/GestionRiesgos/riesgos/gestion/models.py deleted file mode 100644 index 71a8362..0000000 --- a/GestionRiesgos/riesgos/gestion/models.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.db import models - -# Create your models here. diff --git a/GestionRiesgos/riesgos/gestion/tests.py b/GestionRiesgos/riesgos/gestion/tests.py deleted file mode 100644 index 7ce503c..0000000 --- a/GestionRiesgos/riesgos/gestion/tests.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.test import TestCase - -# Create your tests here. diff --git a/GestionRiesgos/riesgos/gestion/views.py b/GestionRiesgos/riesgos/gestion/views.py deleted file mode 100644 index 91ea44a..0000000 --- a/GestionRiesgos/riesgos/gestion/views.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.shortcuts import render - -# Create your views here. diff --git a/GestionRiesgos/riesgos/manage.py b/GestionRiesgos/riesgos/manage.py deleted file mode 100755 index 5d13964..0000000 --- a/GestionRiesgos/riesgos/manage.py +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env python -"""Django's command-line utility for administrative tasks.""" -import os -import sys - - -def main(): - """Run administrative tasks.""" - os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'riesgos.settings') - try: - from django.core.management import execute_from_command_line - except ImportError as exc: - raise ImportError( - "Couldn't import Django. Are you sure it's installed and " - "available on your PYTHONPATH environment variable? Did you " - "forget to activate a virtual environment?" - ) from exc - execute_from_command_line(sys.argv) - - -if __name__ == '__main__': - main() diff --git a/GestionRiesgos/riesgos/riesgos/__init__.py b/GestionRiesgos/riesgos/riesgos/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/GestionRiesgos/riesgos/riesgos/asgi.py b/GestionRiesgos/riesgos/riesgos/asgi.py deleted file mode 100644 index 252231c..0000000 --- a/GestionRiesgos/riesgos/riesgos/asgi.py +++ /dev/null @@ -1,16 +0,0 @@ -""" -ASGI config for riesgos project. - -It exposes the ASGI callable as a module-level variable named ``application``. - -For more information on this file, see -https://docs.djangoproject.com/en/5.1/howto/deployment/asgi/ -""" - -import os - -from django.core.asgi import get_asgi_application - -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'riesgos.settings') - -application = get_asgi_application() diff --git a/GestionRiesgos/riesgos/riesgos/settings.py b/GestionRiesgos/riesgos/riesgos/settings.py deleted file mode 100644 index 31a84b2..0000000 --- a/GestionRiesgos/riesgos/riesgos/settings.py +++ /dev/null @@ -1,125 +0,0 @@ -""" -Django settings for riesgos project. - -Generated by 'django-admin startproject' using Django 5.1.1. - -For more information on this file, see -https://docs.djangoproject.com/en/5.1/topics/settings/ - -For the full list of settings and their values, see -https://docs.djangoproject.com/en/5.1/ref/settings/ -""" - -from pathlib import Path - -# Build paths inside the project like this: BASE_DIR / 'subdir'. -BASE_DIR = Path(__file__).resolve().parent.parent - - -# Quick-start development settings - unsuitable for production -# See https://docs.djangoproject.com/en/5.1/howto/deployment/checklist/ - -# SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'django-insecure-4-$+!et=$4w$6$sx8ykolm__ml5#pbpuzy+3v!24ywmhihv0g1' - -# SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True - -ALLOWED_HOSTS = [] - - -# Application definition - -INSTALLED_APPS = [ - 'django.contrib.admin', - 'django.contrib.auth', - 'django.contrib.contenttypes', - 'django.contrib.sessions', - 'django.contrib.messages', - 'django.contrib.staticfiles', - - 'gestion', -] - -MIDDLEWARE = [ - 'django.middleware.security.SecurityMiddleware', - 'django.contrib.sessions.middleware.SessionMiddleware', - 'django.middleware.common.CommonMiddleware', - 'django.middleware.csrf.CsrfViewMiddleware', - 'django.contrib.auth.middleware.AuthenticationMiddleware', - 'django.contrib.messages.middleware.MessageMiddleware', - 'django.middleware.clickjacking.XFrameOptionsMiddleware', -] - -ROOT_URLCONF = 'riesgos.urls' - -TEMPLATES = [ - { - 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': [], - 'APP_DIRS': True, - 'OPTIONS': { - 'context_processors': [ - 'django.template.context_processors.debug', - 'django.template.context_processors.request', - 'django.contrib.auth.context_processors.auth', - 'django.contrib.messages.context_processors.messages', - ], - }, - }, -] - -WSGI_APPLICATION = 'riesgos.wsgi.application' - - -# Database -# https://docs.djangoproject.com/en/5.1/ref/settings/#databases - -DATABASES = { - 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': BASE_DIR / 'db.sqlite3', - } -} - - -# Password validation -# https://docs.djangoproject.com/en/5.1/ref/settings/#auth-password-validators - -AUTH_PASSWORD_VALIDATORS = [ - { - 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', - }, - { - 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', - }, - { - 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', - }, - { - 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', - }, -] - - -# Internationalization -# https://docs.djangoproject.com/en/5.1/topics/i18n/ - -LANGUAGE_CODE = 'en-us' - -TIME_ZONE = 'UTC' - -USE_I18N = True - -USE_TZ = True - - -# Static files (CSS, JavaScript, Images) -# https://docs.djangoproject.com/en/5.1/howto/static-files/ - -STATIC_URL = 'static/' - -# Default primary key field type -# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field - -DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/GestionRiesgos/riesgos/riesgos/urls.py b/GestionRiesgos/riesgos/riesgos/urls.py deleted file mode 100644 index af4a082..0000000 --- a/GestionRiesgos/riesgos/riesgos/urls.py +++ /dev/null @@ -1,22 +0,0 @@ -""" -URL configuration for riesgos project. - -The `urlpatterns` list routes URLs to views. For more information please see: - https://docs.djangoproject.com/en/5.1/topics/http/urls/ -Examples: -Function views - 1. Add an import: from my_app import views - 2. Add a URL to urlpatterns: path('', views.home, name='home') -Class-based views - 1. Add an import: from other_app.views import Home - 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') -Including another URLconf - 1. Import the include() function: from django.urls import include, path - 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) -""" -from django.contrib import admin -from django.urls import path - -urlpatterns = [ - path('admin/', admin.site.urls), -] diff --git a/GestionRiesgos/riesgos/riesgos/wsgi.py b/GestionRiesgos/riesgos/riesgos/wsgi.py deleted file mode 100644 index a1efa8b..0000000 --- a/GestionRiesgos/riesgos/riesgos/wsgi.py +++ /dev/null @@ -1,16 +0,0 @@ -""" -WSGI config for riesgos project. - -It exposes the WSGI callable as a module-level variable named ``application``. - -For more information on this file, see -https://docs.djangoproject.com/en/5.1/howto/deployment/wsgi/ -""" - -import os - -from django.core.wsgi import get_wsgi_application - -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'riesgos.settings') - -application = get_wsgi_application()