This commit is contained in:
Sharad Ahlawat 2020-03-09 14:07:05 -07:00
parent aaa3b380a9
commit 7c86b112d0
5 changed files with 7 additions and 5 deletions

View File

@ -44,7 +44,6 @@
}
</style>
<!-- Custom styles for this template -->
<link href="album.css" rel="stylesheet">
</head>
<body>
<header>

View File

@ -44,7 +44,6 @@
}
</style>
<!-- Custom styles for this template -->
<link href="album.css" rel="stylesheet">
</head>
<body>
<header>

View File

@ -44,7 +44,6 @@
}
</style>
<!-- Custom styles for this template -->
<link href="album.css" rel="stylesheet">
</head>
<body>
<header>

View File

View File

@ -25,7 +25,7 @@ SECRET_KEY = 'b%pfjr(9=4*fgpii(h@(j1q)3i1kj#mb*hfp4$x&8n1)n*=#8v'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']
# Application definition
@ -37,8 +37,8 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'blog.apps.BlogConfig',
'jobs.apps.JobsConfig',
'blog.apps.BlogConfig',
]
MIDDLEWARE = [
@ -132,3 +132,8 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'static')
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_URL = '/media/'
try:
from .local_settings import *
except ImportError:
pass