Switch from syncdb to migrate, which fixes FTBFS (Closes: #806362).
This commit is contained in:
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
||||
python-django-bootstrap-form (3.1.0-6) unstable; urgency=medium
|
||||
|
||||
* Switch from syncdb to migrate, which fixes FTBFS (Closes: #806362).
|
||||
|
||||
-- Thomas Goirand <zigo@debian.org> Wed, 23 Dec 2015 09:48:16 +0000
|
||||
|
||||
python-django-bootstrap-form (3.1.0-5) unstable; urgency=medium
|
||||
|
||||
* Added Python 3 support (Closes: #761294).
|
||||
|
17
debian/patches/0003-replace-syncdb-by-migrate.patch
vendored
Normal file
17
debian/patches/0003-replace-syncdb-by-migrate.patch
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
Description: Replace syncdb by migrate
|
||||
Upstream Django moved from syncdb to migrate in release 1.9. This fixes it.
|
||||
Author: Thomas Goirand <zigo@debian.org>
|
||||
Forwarded: no
|
||||
Last-Update: 2015-12-23
|
||||
|
||||
--- python-django-bootstrap-form-3.1.0.orig/tests/__init__.py
|
||||
+++ python-django-bootstrap-form-3.1.0/tests/__init__.py
|
||||
@@ -41,7 +41,7 @@ class ExampleForm(forms.Form):
|
||||
|
||||
class BootstrapTemplateTagTests(TestCase):
|
||||
def setUp(self):
|
||||
- call_command('syncdb', interactive=False)
|
||||
+ call_command('migrate', interactive=False)
|
||||
self.maxDiff = None
|
||||
|
||||
@classmethod
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@@ -1,2 +1,3 @@
|
||||
0001-Add-django.setup-for-Django-1.7-compatibility.patch
|
||||
0002-Fix-test-case-for-Django-1.7-s-addition-of-an-id-att.patch
|
||||
0003-replace-syncdb-by-migrate.patch
|
||||
|
Reference in New Issue
Block a user