[Python-modules-commits] r30811 - in packages/python-django-jsonfield/trunk/debian (2 files)
bam at users.alioth.debian.org
bam at users.alioth.debian.org
Mon Sep 29 02:05:39 UTC 2014
Date: Monday, September 29, 2014 @ 02:05:38
Author: bam
Revision: 30811
Fix Django1.7 build error.
Modified:
packages/python-django-jsonfield/trunk/debian/changelog
packages/python-django-jsonfield/trunk/debian/run_tests.py
Modified: packages/python-django-jsonfield/trunk/debian/changelog
===================================================================
--- packages/python-django-jsonfield/trunk/debian/changelog 2014-09-29 01:53:31 UTC (rev 30810)
+++ packages/python-django-jsonfield/trunk/debian/changelog 2014-09-29 02:05:38 UTC (rev 30811)
@@ -1,3 +1,10 @@
+python-django-jsonfield (0.9.13-2) unstable; urgency=low
+
+ * Fix Django 1.7 AppRegistryNotReady error, by calling django.setup() in
+ tests. Closes: #763240.
+
+ -- Brian May <bam at debian.org> Mon, 29 Sep 2014 12:04:08 +1000
+
python-django-jsonfield (0.9.13-1) unstable; urgency=low
* New upstream release.
Modified: packages/python-django-jsonfield/trunk/debian/run_tests.py
===================================================================
--- packages/python-django-jsonfield/trunk/debian/run_tests.py 2014-09-29 01:53:31 UTC (rev 30810)
+++ packages/python-django-jsonfield/trunk/debian/run_tests.py 2014-09-29 02:05:38 UTC (rev 30811)
@@ -19,5 +19,8 @@
}
)
+import django
+django.setup()
+
from django.core import management
management.call_command('test')
More information about the Python-modules-commits
mailing list