1
0
mirror of https://github.com/creyD/asiimov.git synced 2026-06-11 16:42:23 +02:00

Moved folder structure to new name

This commit is contained in:
2020-01-03 13:05:35 +01:00
parent 3ca728e038
commit 0384f7a7fa
9 changed files with 13 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2020 Conrad Copyright (c) 2020 Conrad Großer
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@@ -1,5 +1,5 @@
""" """
ASGI config for cstrade project. ASGI config for asiimov project.
It exposes the ASGI callable as a module-level variable named ``application``. 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 from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'cstrade.settings') os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'asiimov.settings')
application = get_asgi_application() application = get_asgi_application()

View File

@@ -1,5 +1,5 @@
""" """
Django settings for cstrade project. Django settings for asiimov project.
Generated by 'django-admin startproject' using Django 3.0.2. Generated by 'django-admin startproject' using Django 3.0.2.
@@ -20,7 +20,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/ # See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret! # SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'j((_biv+&9xv-dx5hat30%mgmt$zqx3ma2xq3()kjo85shsrsc' SECRET_KEY = 'o1lv=a%9l7bl$07!u*75&6_l^q%^f_eowd2j$wtd#fhtq9wa8f'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
@@ -49,7 +49,7 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware',
] ]
ROOT_URLCONF = 'cstrade.urls' ROOT_URLCONF = 'asiimov.urls'
TEMPLATES = [ TEMPLATES = [
{ {
@@ -67,7 +67,7 @@ TEMPLATES = [
}, },
] ]
WSGI_APPLICATION = 'cstrade.wsgi.application' WSGI_APPLICATION = 'asiimov.wsgi.application'
# Database # Database

View File

@@ -1,4 +1,4 @@
"""cstrade URL Configuration """asiimov URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see: The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.0/topics/http/urls/ https://docs.djangoproject.com/en/3.0/topics/http/urls/
@@ -14,9 +14,8 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) 2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
""" """
from django.contrib import admin from django.contrib import admin
from django.urls import path, include from django.urls import path
urlpatterns = [ urlpatterns = [
path('', include('core.urls')), path('admin/', admin.site.urls),
path('admin/', admin.site.urls)
] ]

View File

@@ -1,5 +1,5 @@
""" """
WSGI config for cstrade project. WSGI config for asiimov project.
It exposes the WSGI callable as a module-level variable named ``application``. 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 from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'cstrade.settings') os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'asiimov.settings')
application = get_wsgi_application() application = get_wsgi_application()

View File

@@ -5,7 +5,7 @@ import sys
def main(): def main():
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'cstrade.settings') os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'asiimov.settings')
try: try:
from django.core.management import execute_from_command_line from django.core.management import execute_from_command_line
except ImportError as exc: except ImportError as exc: