diff --git a/blog/templates/blog/allblogs.html b/blog/templates/blog/allblogs.html index 197a147..778233d 100644 --- a/blog/templates/blog/allblogs.html +++ b/blog/templates/blog/allblogs.html @@ -44,7 +44,6 @@ } -
diff --git a/blog/templates/blog/detail.html b/blog/templates/blog/detail.html index 0212031..917d078 100644 --- a/blog/templates/blog/detail.html +++ b/blog/templates/blog/detail.html @@ -44,7 +44,6 @@ } -
diff --git a/jobs/templates/jobs/home.html b/jobs/templates/jobs/home.html index 63efe40..9198e47 100644 --- a/jobs/templates/jobs/home.html +++ b/jobs/templates/jobs/home.html @@ -44,7 +44,6 @@ } -
diff --git a/portfolio/local_settings.py b/portfolio/local_settings.py new file mode 100644 index 0000000..e69de29 diff --git a/portfolio/settings.py b/portfolio/settings.py index 44b9ad4..79087e5 100644 --- a/portfolio/settings.py +++ b/portfolio/settings.py @@ -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