Package: python-django-south Version: 0.7.5-1 Severity: serious Tags: patch
Dear maintainer, python-django-south as shipped in unstable is not currently compatible with Django 1.6. Attached is a traceback. (the traceback was not taken on a Debian system, but is illustrative of the problem) The two commits needed to fix South are: * https://bitbucket.org/andrewgodwin/south/commits/b3b4970f2ffaab72f3a89752ae97e764e4be98c6 * https://bitbucket.org/andrewgodwin/south/commits/f1e1369f0d544db5a2bd7f8e04517353b26cb729 Both are included in the latest upstream release, so fixing http://bugs.debian.org/723174 would also close this bug. Regards. -- Luke Faraone;; Debian & Ubuntu Developer; Sugar Labs, Systems lfaraone on irc.[freenode,oftc].net -- http://luke.faraone.cc PGP fprint: 5189 2A7D 16D0 49BB 046B DC77 9732 5DD8 F9FD D506
> [removed] Error in migration: [removed] Traceback (most recent call last): File "manage.py", line 14, in <module> execute_from_command_line(sys.argv) File "/home/somebody/src/django/django/core/management/__init__.py", line 399, in execute_from_command_line utility.execute() File "/home/somebody/src/django/django/core/management/__init__.py", line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/somebody/src/django/django/core/management/base.py", line 242, in run_from_argv self.execute(*args, **options.__dict__) File "/home/somebody/src/django/django/core/management/base.py", line 285, in execute output = self.handle(*args, **options) File "/usr/local/lib/python2.7/site-packages/south/management/commands/migrate.py", line 111, in handle ignore_ghosts = ignore_ghosts, File "/usr/local/lib/python2.7/site-packages/south/migration/__init__.py", line 220, in migrate_app success = migrator.migrate_many(target, workplan, database) File "/usr/local/lib/python2.7/site-packages/south/migration/migrators.py", line 229, in migrate_many result = migrator.__class__.migrate_many(migrator, target, migrations, database) File "/usr/local/lib/python2.7/site-packages/south/migration/migrators.py", line 304, in migrate_many result = self.migrate(migration, database) File "/usr/local/lib/python2.7/site-packages/south/migration/migrators.py", line 129, in migrate result = self.run(migration, database) File "/usr/local/lib/python2.7/site-packages/south/migration/migrators.py", line 113, in run return self.run_migration(migration, database) File "/usr/local/lib/python2.7/site-packages/south/migration/migrators.py", line 83, in run_migration migration_function() File "/usr/local/lib/python2.7/site-packages/south/migration/migrators.py", line 59, in <lambda> return (lambda: direction(orm)) File "/home/somebody/[removed]/migrations/[removed]", line 19, in forwards keep_default=True) File "/usr/local/lib/python2.7/site-packages/south/db/generic.py", line 47, in _cache_clear return func(self, table, *args, **opts) File "/usr/local/lib/python2.7/site-packages/south/db/generic.py", line 411, in add_column sql = self.column_sql(table_name, name, field) File "/usr/local/lib/python2.7/site-packages/south/db/generic.py", line 706, in column_sql default = field.get_db_prep_save(default, connection=self._get_connection()) File "/home/somebody/src/django/django/db/models/fields/__init__.py", line 350, in get_db_prep_save prepared=False) File "/home/somebody/src/django/django/db/models/fields/__init__.py", line 911, in get_db_prep_value value = self.get_prep_value(value) File "/home/somebody/src/django/django/db/models/fields/__init__.py", line 902, in get_prep_value (self.model.__name__, self.name, value), AttributeError: 'DateTimeField' object has no attribute 'model'
signature.asc
Description: Digital signature