aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-04-14 11:11:23 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-04-14 11:11:23 +1200
commitde5a52247e992eff3435aa11e487de96475da787 (patch)
tree5b440a06dfd39d949b6337e70fd7585caab131d6
parent19d425e43129c792820dee7d0af8179065f100a0 (diff)
downloadbuildhistory-web-de5a52247e992eff3435aa11e487de96475da787.tar.gz
buildhistory-web-de5a52247e992eff3435aa11e487de96475da787.tar.bz2
buildhistory-web-de5a52247e992eff3435aa11e487de96475da787.zip
Ensure brand link points to top level page
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--settings.py8
-rw-r--r--templates/base.html2
2 files changed, 5 insertions, 5 deletions
diff --git a/settings.py b/settings.py
index 9da88f9..ac9d499 100644
--- a/settings.py
+++ b/settings.py
@@ -3,7 +3,7 @@
# Based on settings.py from the Django project template
# Copyright (c) Django Software Foundation and individual contributors.
-DEBUG = False
+DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
@@ -14,8 +14,8 @@ MANAGERS = ADMINS
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': '', # Or path to database file if using sqlite3 (full path recommended).
+ 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+ 'NAME': '/home/paul/poky/buildhistory-web/bhtest.db3', # Or path to database file if using sqlite3 (full path recommended).
'USER': '', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
@@ -90,7 +90,7 @@ STATICFILES_FINDERS = (
)
# Make this unique, and don't share it with anybody.
-SECRET_KEY = ''
+SECRET_KEY = 'oiiwpoidpaowdawndmanw'
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
diff --git a/templates/base.html b/templates/base.html
index f721f10..e368bf0 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -25,7 +25,7 @@
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
- <a class="brand" href="#">
+ <a class="brand" href="{% url 'warning_list' %}">
Buildhistory
</a>
{% block header %}