Rename project

This commit is contained in:
Gabriel Augendre 2018-03-04 10:15:26 +01:00
parent e072a8f794
commit ff144cd302
No known key found for this signature in database
GPG key ID: F360212F958357D4
5 changed files with 7 additions and 7 deletions

View file

@ -3,7 +3,7 @@ import os
import sys import sys
if __name__ == "__main__": if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "muscu.settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "workout.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:

0
workout/__init__.py Normal file
View file

View 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. Generated by 'django-admin startproject' using Django 2.0.1.
@ -50,7 +50,7 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware',
] ]
ROOT_URLCONF = 'muscu.urls' ROOT_URLCONF = 'workout.urls'
TEMPLATES = [ TEMPLATES = [
{ {
@ -68,7 +68,7 @@ TEMPLATES = [
}, },
] ]
WSGI_APPLICATION = 'muscu.wsgi.application' WSGI_APPLICATION = 'workout.wsgi.application'
# Database # Database
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases # https://docs.djangoproject.com/en/2.0/ref/settings/#databases

View file

@ -1,4 +1,4 @@
"""muscu URL Configuration """workout 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/2.0/topics/http/urls/ https://docs.djangoproject.com/en/2.0/topics/http/urls/

View file

@ -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``. 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", "muscu.settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "workout.settings")
application = get_wsgi_application() application = get_wsgi_application()