diff --git a/LICENSE b/LICENSE index 4f6ab3d..4acadc7 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ 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 of this software and associated documentation files (the "Software"), to deal diff --git a/src/cstrade/__init__.py b/src/asiimov/__init__.py similarity index 100% rename from src/cstrade/__init__.py rename to src/asiimov/__init__.py diff --git a/src/cstrade/asgi.py b/src/asiimov/asgi.py similarity index 75% rename from src/cstrade/asgi.py rename to src/asiimov/asgi.py index 051343d..b8d3bb9 100644 --- a/src/cstrade/asgi.py +++ b/src/asiimov/asgi.py @@ -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``. @@ -11,6 +11,6 @@ import os 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() diff --git a/src/cstrade/settings.py b/src/asiimov/settings.py similarity index 94% rename from src/cstrade/settings.py rename to src/asiimov/settings.py index 7a98c20..b2359fe 100644 --- a/src/cstrade/settings.py +++ b/src/asiimov/settings.py @@ -1,5 +1,5 @@ """ -Django settings for cstrade project. +Django settings for asiimov project. 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/ # 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! DEBUG = True @@ -49,7 +49,7 @@ MIDDLEWARE = [ 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] -ROOT_URLCONF = 'cstrade.urls' +ROOT_URLCONF = 'asiimov.urls' TEMPLATES = [ { @@ -67,7 +67,7 @@ TEMPLATES = [ }, ] -WSGI_APPLICATION = 'cstrade.wsgi.application' +WSGI_APPLICATION = 'asiimov.wsgi.application' # Database diff --git a/src/cstrade/urls.py b/src/asiimov/urls.py similarity index 82% rename from src/cstrade/urls.py rename to src/asiimov/urls.py index 613b3e2..663b85e 100644 --- a/src/cstrade/urls.py +++ b/src/asiimov/urls.py @@ -1,4 +1,4 @@ -"""cstrade URL Configuration +"""asiimov URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: 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')) """ from django.contrib import admin -from django.urls import path, include +from django.urls import path urlpatterns = [ - path('', include('core.urls')), - path('admin/', admin.site.urls) + path('admin/', admin.site.urls), ] diff --git a/src/cstrade/wsgi.py b/src/asiimov/wsgi.py similarity index 75% rename from src/cstrade/wsgi.py rename to src/asiimov/wsgi.py index d1b66b5..5d41c1f 100644 --- a/src/cstrade/wsgi.py +++ b/src/asiimov/wsgi.py @@ -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``. @@ -11,6 +11,6 @@ import os 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() diff --git a/src/cstrade/__pycache__/__init__.cpython-38.pyc b/src/cstrade/__pycache__/__init__.cpython-38.pyc deleted file mode 100644 index bc9c1df..0000000 Binary files a/src/cstrade/__pycache__/__init__.cpython-38.pyc and /dev/null differ diff --git a/src/cstrade/__pycache__/settings.cpython-38.pyc b/src/cstrade/__pycache__/settings.cpython-38.pyc deleted file mode 100644 index d766f26..0000000 Binary files a/src/cstrade/__pycache__/settings.cpython-38.pyc and /dev/null differ diff --git a/src/manage.py b/src/manage.py index 0557ad5..161f37a 100644 --- a/src/manage.py +++ b/src/manage.py @@ -5,7 +5,7 @@ import sys def main(): - os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'cstrade.settings') + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'asiimov.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: