From ff144cd302b372a9ab6228a86975a08315ff27f5 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 4 Mar 2018 10:15:26 +0100 Subject: [PATCH] Rename project --- manage.py | 2 +- workout/__init__.py | 0 {muscu => workout}/settings.py | 6 +++--- {muscu => workout}/urls.py | 2 +- {muscu => workout}/wsgi.py | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 workout/__init__.py rename {muscu => workout}/settings.py (96%) rename {muscu => workout}/urls.py (96%) rename {muscu => workout}/wsgi.py (74%) diff --git a/manage.py b/manage.py index 3556df8..5976a21 100755 --- a/manage.py +++ b/manage.py @@ -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: diff --git a/workout/__init__.py b/workout/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/muscu/settings.py b/workout/settings.py similarity index 96% rename from muscu/settings.py rename to workout/settings.py index 07da814..01e7478 100644 --- a/muscu/settings.py +++ b/workout/settings.py @@ -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 diff --git a/muscu/urls.py b/workout/urls.py similarity index 96% rename from muscu/urls.py rename to workout/urls.py index 2e8a4f0..5570311 100644 --- a/muscu/urls.py +++ b/workout/urls.py @@ -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/ diff --git a/muscu/wsgi.py b/workout/wsgi.py similarity index 74% rename from muscu/wsgi.py rename to workout/wsgi.py index 02c898f..d8a3264 100644 --- a/muscu/wsgi.py +++ b/workout/wsgi.py @@ -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()