aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-04-14 10:57:21 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-04-14 11:00:55 +1200
commit19d425e43129c792820dee7d0af8179065f100a0 (patch)
treeb28e649ed9ce17d6cb984d86028ee4e171879d2d
parent587c77bb39c86b04955189f74ee7e5881e0c5135 (diff)
downloadbuildhistory-web-19d425e43129c792820dee7d0af8179065f100a0.tar.gz
buildhistory-web-19d425e43129c792820dee7d0af8179065f100a0.tar.bz2
buildhistory-web-19d425e43129c792820dee7d0af8179065f100a0.zip
Upgrade to Django 1.8
We'd already prepared the way when upgrading to 1.6 so almost nothing needed doing. Also tweak the README at the same time. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--README7
-rw-r--r--settings.py2
2 files changed, 4 insertions, 5 deletions
diff --git a/README b/README
index b52fa83..367ab57 100644
--- a/README
+++ b/README
@@ -15,8 +15,7 @@ Setup
In order to make use of this application you will need:
-* Django 1.6.x - tested with 1.6.10; newer versions may work, but the
- application has not been tested with 1.7 or newer.
+* Django 1.8.x - tested with 1.8.12; newer versions may also work.
* For production usage, a web server set up to host Django applications
(not needed for local-only testing)
* A database supported by Django (SQLite, MySQL, etc.). Django takes
@@ -31,7 +30,7 @@ In order to make use of this application you will need:
database used by the web application):
* Access to the buildhistory git repository produced by the build
system, or a clone thereof
- * Python 2.7
+ * Python 2.7.6 or newer (but not Python 3.x)
* A copy of BitBake and OE-Core (or Poky, which includes both) -
the "dora" release or newer is required.
* GitPython (python-git) version 0.3.1 or later
@@ -44,7 +43,7 @@ Setup instructions:
2. Run the following command within the buildhistory-web directory to
initialise the database:
- python manage.py syncdb
+ python manage.py migrate
You should answer "yes" when asked to create an admin account.
diff --git a/settings.py b/settings.py
index ae2725c..9da88f9 100644
--- a/settings.py
+++ b/settings.py
@@ -122,7 +122,7 @@ TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
- BASE_DIR + "/templates"
+ BASE_DIR + "/templates",
)
INSTALLED_APPS = (