Rename project
This commit is contained in:
parent
e072a8f794
commit
ff144cd302
5 changed files with 7 additions and 7 deletions
|
@ -3,7 +3,7 @@ import os
|
|||
import sys
|
||||
|
||||
if __name__ == "__main__":
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "muscu.settings")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "workout.settings")
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
except ImportError as exc:
|
||||
|
|
0
workout/__init__.py
Normal file
0
workout/__init__.py
Normal file
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
Django settings for muscu project.
|
||||
Django settings for workout project.
|
||||
|
||||
Generated by 'django-admin startproject' using Django 2.0.1.
|
||||
|
||||
|
@ -50,7 +50,7 @@ MIDDLEWARE = [
|
|||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
]
|
||||
|
||||
ROOT_URLCONF = 'muscu.urls'
|
||||
ROOT_URLCONF = 'workout.urls'
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
|
@ -68,7 +68,7 @@ TEMPLATES = [
|
|||
},
|
||||
]
|
||||
|
||||
WSGI_APPLICATION = 'muscu.wsgi.application'
|
||||
WSGI_APPLICATION = 'workout.wsgi.application'
|
||||
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases
|
|
@ -1,4 +1,4 @@
|
|||
"""muscu URL Configuration
|
||||
"""workout URL Configuration
|
||||
|
||||
The `urlpatterns` list routes URLs to views. For more information please see:
|
||||
https://docs.djangoproject.com/en/2.0/topics/http/urls/
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
WSGI config for muscu project.
|
||||
WSGI config for workout 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", "muscu.settings")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "workout.settings")
|
||||
|
||||
application = get_wsgi_application()
|
Loading…
Reference in a new issue