Skip to content

Commit 28928f7

Browse files
committed
REFACTOR: project layout
1 parent ac241ee commit 28928f7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+245
-151
lines changed

QuestionTime/questions/migrations/0001_initial.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

QuestionTime/questions/migrations/0002_alter_answer_id_alter_question_id.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

QuestionTime/users/migrations/0001_initial.py

Lines changed: 0 additions & 44 deletions
This file was deleted.

QuestionTime/users/migrations/0002_alter_customuser_first_name_alter_customuser_id.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

QuestionTime/rest.http renamed to rest.http

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
### Variables
66
@host=http://127.0.0.1:8000
7-
@username=neo
8-
@email=neo@the.matrix
7+
@username=neoxx
8+
@email=neo@the.matrixxx
99
@password=always-use-strong-passwords-in-production
1010
@token=just-login-to-get-one
1111

File renamed without changes.

QuestionTime/QuestionTime/settings.py renamed to src/config/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"django.middleware.clickjacking.XFrameOptionsMiddleware",
4646
]
4747

48-
ROOT_URLCONF = "QuestionTime.urls"
48+
ROOT_URLCONF = "config.urls"
4949

5050
TEMPLATES = [
5151
{
@@ -63,7 +63,7 @@
6363
},
6464
]
6565

66-
WSGI_APPLICATION = "QuestionTime.wsgi.application"
66+
WSGI_APPLICATION = "config.wsgi.application"
6767

6868
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
6969

File renamed without changes.

QuestionTime/QuestionTime/wsgi.py renamed to src/config/wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
from django.core.wsgi import get_wsgi_application
1313

14-
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'QuestionTime.settings')
14+
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
1515

1616
application = get_wsgi_application()
File renamed without changes.

0 commit comments

Comments
 (0)