Skip to content

Commit fa29f23

Browse files
committed
All right
1 parent d21eba7 commit fa29f23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linuxiston/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
SECRET_KEY = os.getenv('SECRET_KEY')
1616

1717
# SECURITY WARNING: don't run with debug turned on in production!
18-
DEBUG = True
18+
DEBUG = False
1919

2020
ALLOWED_HOSTS = ["linuxiston.uz", "localhost", "127.0.0.1", "linuxiston.abdusamad.uz", "128.199.212.150"]
2121

@@ -82,7 +82,7 @@
8282
# Database
8383
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases
8484

85-
if DEBUG == False:
85+
if DEBUG:
8686
DATABASES = {
8787
"default": {
8888
"ENGINE": "django.db.backends.sqlite3",

0 commit comments

Comments
 (0)