rename module

This commit is contained in:
Cyberes 2024-09-10 18:52:20 -06:00
parent 613210beaa
commit 12d8b441c0
9 changed files with 11 additions and 11 deletions

View File

@ -6,7 +6,7 @@ import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'geo_backend.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'website.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:

View File

View File

@ -1,5 +1,5 @@
"""
ASGI config for geo_backend project.
ASGI config for account project.
It exposes the ASGI callable as a module-level variable named ``application``.
@ -11,6 +11,6 @@ import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'geo_backend.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'account.settings')
application = get_asgi_application()

View File

@ -1,5 +1,5 @@
"""
Django settings for geo_backend project.
Django settings for account project.
Generated by 'django-admin startproject' using Django 5.0.6.
@ -48,10 +48,10 @@ MIDDLEWARE = [
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'geo_backend.middleware.CustomHeaderMiddleware',
'account.middleware.CustomHeaderMiddleware',
]
ROOT_URLCONF = 'geo_backend.urls'
ROOT_URLCONF = 'account.urls'
TEMPLATES = [
{
@ -69,7 +69,7 @@ TEMPLATES = [
},
]
WSGI_APPLICATION = 'geo_backend.wsgi.application'
WSGI_APPLICATION = 'account.wsgi.application'
# Database
# https://docs.djangoproject.com/en/5.0/ref/settings/#databases

View File

@ -1,5 +1,5 @@
"""
URL configuration for geo_backend project.
URL configuration for account project.
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/5.0/topics/http/urls/
@ -18,7 +18,7 @@ from django.conf.urls import include
from django.contrib import admin
from django.urls import path, re_path
from geo_backend.views import index
from account.views import index
urlpatterns = [
path('', index),

View File

@ -1,5 +1,5 @@
"""
WSGI config for geo_backend project.
WSGI config for account project.
It exposes the WSGI callable as a module-level variable named ``application``.
@ -11,6 +11,6 @@ import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'geo_backend.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'account.settings')
application = get_wsgi_application()