Skip to content

Commit 96f6b58

Browse files
authored
Merge pull request #7 from garg3133/setup-backend
Few changes in setting up backend
2 parents 1b735fe + 41b969f commit 96f6b58

6 files changed

Lines changed: 8 additions & 7 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
__pycache__
66
db.sqlite3
77
media
8-
migrations
8+
**/migrations/*
9+
!**/migrations/__init__.py
910
.vscode
1011

1112
# Backup files #
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Django settings for Bitbyte project.
2+
Django settings for bitbyte project.
33
44
Generated by 'django-admin startproject' using Django 2.2.10.
55
@@ -50,7 +50,7 @@
5050
'django.middleware.clickjacking.XFrameOptionsMiddleware',
5151
]
5252

53-
ROOT_URLCONF = 'Bitbyte.urls'
53+
ROOT_URLCONF = 'bitbyte.urls'
5454

5555
TEMPLATES = [
5656
{
@@ -68,7 +68,7 @@
6868
},
6969
]
7070

71-
WSGI_APPLICATION = 'Bitbyte.wsgi.application'
71+
WSGI_APPLICATION = 'bitbyte.wsgi.application'
7272

7373

7474
# Database
File renamed without changes.

Bitbyte/wsgi.py renamed to bitbyte/wsgi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
WSGI config for Bitbyte project.
2+
WSGI config for bitbyte project.
33
44
It exposes the WSGI callable as a module-level variable named ``application``.
55
@@ -11,6 +11,6 @@
1111

1212
from django.core.wsgi import get_wsgi_application
1313

14-
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Bitbyte.settings')
14+
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'bitbyte.settings')
1515

1616
application = get_wsgi_application()

manage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
def main():
8-
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Bitbyte.settings')
8+
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'bitbyte.settings')
99
try:
1010
from django.core.management import execute_from_command_line
1111
except ImportError as exc:

0 commit comments

Comments
 (0)