Skip to content

Commit

Permalink
DEBUG=False is configured
Browse files Browse the repository at this point in the history
  • Loading branch information
KhalidMomand committed Oct 28, 2022
1 parent c3207a8 commit 3a54ecd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mkm_portfolio/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
SECRET_KEY = 'django-insecure-fcy@&t$44mnohau0#9y2eb3$5x0d!24c0(o3oqb1_2p$10tx_n'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False

ALLOWED_HOSTS = ['mkm-portfolio.herokuapp.com', 'localhost', '127.0.0.1']

Expand Down Expand Up @@ -46,7 +46,7 @@
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [BASE_DIR / 'static/templates'],
'DIRS': [BASE_DIR / 'static/templates/'],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
Expand Down Expand Up @@ -107,7 +107,7 @@
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.1/howto/static-files/

STATIC_URL = 'static/'
STATIC_URL = '/static/'


# Default primary key field type
Expand All @@ -118,5 +118,5 @@



STATIC_URL = 'static/'
STATICFILES_DIRS = [ BASE_DIR / 'static']
STATIC_URL = '/static/'
STATICFILES_DIRS = [ BASE_DIR / 'static/']

0 comments on commit 3a54ecd

Please sign in to comment.