From 578177413e673e3e28ee570617ac4877c5dd1995 Mon Sep 17 00:00:00 2001 From: JasonHomeWorkstationUbuntu Date: Wed, 19 Aug 2020 14:41:11 +1000 Subject: [PATCH] Moved chap1 source code into subdir --- src/{ => chap1}/functional_tests.py | 0 src/{ => chap1}/manage.py | 0 src/{ => chap1}/superlists/__init__.py | 0 src/{ => chap1}/superlists/settings.py | 2 +- src/{ => chap1}/superlists/urls.py | 0 src/{ => chap1}/superlists/wsgi.py | 0 textbook/chap1.md | 2 +- 7 files changed, 2 insertions(+), 2 deletions(-) rename src/{ => chap1}/functional_tests.py (100%) rename src/{ => chap1}/manage.py (100%) rename src/{ => chap1}/superlists/__init__.py (100%) rename src/{ => chap1}/superlists/settings.py (97%) rename src/{ => chap1}/superlists/urls.py (100%) rename src/{ => chap1}/superlists/wsgi.py (100%) diff --git a/src/functional_tests.py b/src/chap1/functional_tests.py similarity index 100% rename from src/functional_tests.py rename to src/chap1/functional_tests.py diff --git a/src/manage.py b/src/chap1/manage.py similarity index 100% rename from src/manage.py rename to src/chap1/manage.py diff --git a/src/superlists/__init__.py b/src/chap1/superlists/__init__.py similarity index 100% rename from src/superlists/__init__.py rename to src/chap1/superlists/__init__.py diff --git a/src/superlists/settings.py b/src/chap1/superlists/settings.py similarity index 97% rename from src/superlists/settings.py rename to src/chap1/superlists/settings.py index 6ac7932..647c044 100644 --- a/src/superlists/settings.py +++ b/src/chap1/superlists/settings.py @@ -20,7 +20,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = '9ugp#4=+gt&5%rzm#*jq)6%%_h@kl$7u#5)c$pf)_bis*o&u)m' +SECRET_KEY = '_a7r3(0ov2(f)wc4xg5vthv4f-y2z!#x9^u6uvr$^8ofpb$o12' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True diff --git a/src/superlists/urls.py b/src/chap1/superlists/urls.py similarity index 100% rename from src/superlists/urls.py rename to src/chap1/superlists/urls.py diff --git a/src/superlists/wsgi.py b/src/chap1/superlists/wsgi.py similarity index 100% rename from src/superlists/wsgi.py rename to src/chap1/superlists/wsgi.py diff --git a/textbook/chap1.md b/textbook/chap1.md index 17c7c34..c39cb56 100644 --- a/textbook/chap1.md +++ b/textbook/chap1.md @@ -5,7 +5,7 @@ Write tests first, implement coming later. Before continue, read book and finish following: * [x] Installing Firefox, Git, geckodriver via apt -* [x] Create virtual environment for this textbook +* [x] Create conda environment to install "django<1.12" "selenium<4" This chapter is about setting up working environment, as python tdd book is built around testing django testing framework