empty commit, database error posted in description

FATAL ERROR - The following SQL query failed: ALTER TABLE
"content_entry" ADD CONSTRAINT
"decayed_score_1_id_refs_id_726ca7038f85cd7e" FOREIGN KEY
("decayed_score_1_id") REFERENCES "content_dict" ("id") DEFERRABLE
INITIALLY DEFERRED;
The error was: insert or update on table "content_entry" violates
foreign key constraint "decayed_score_1_id_refs_id_726ca7038f85cd7e"
DETAIL:  Key (decayed_score_1_id)=(0) is not present in table
"content_dict".

Error in migration:
content:0020_auto__add_tagval__add_dict__add_voter__add_field_entry_vote
d_by__chg_f
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File
"/home/bwloeb/webapps/mlbinta_django/lib/python2.7/django/core/managemen
t/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File
"/home/bwloeb/webapps/mlbinta_django/lib/python2.7/django/core/managemen
t/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File
"/home/bwloeb/webapps/mlbinta_django/lib/python2.7/django/core/managemen
t/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File
"/home/bwloeb/webapps/mlbinta_django/lib/python2.7/django/core/managemen
t/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File
"/home/bwloeb/webapps/mlbinta_django/mlbinta/south/management/commands/m
igrate.py", line 107, in handle
    ignore_ghosts = ignore_ghosts,
  File
"/home/bwloeb/webapps/mlbinta_django/mlbinta/south/migration/__init__.py
", line 219, in migrate_app
    success = migrator.migrate_many(target, workplan, database)
  File
"/home/bwloeb/webapps/mlbinta_django/mlbinta/south/migration/migrators.p
y", line 235, in migrate_many
    result = migrator.__class__.migrate_many(migrator, target,
migrations, database)
  File
"/home/bwloeb/webapps/mlbinta_django/mlbinta/south/migration/migrators.p
y", line 310, in migrate_many
    result = self.migrate(migration, database)
  File
"/home/bwloeb/webapps/mlbinta_django/mlbinta/south/migration/migrators.p
y", line 133, in migrate
    result = self.run(migration)
  File
"/home/bwloeb/webapps/mlbinta_django/mlbinta/south/migration/migrators.p
y", line 107, in run
    return self.run_migration(migration)
  File "/home/bwloeb/webapps/mlb  File "/home/bwloeb/webapps/mlb  File
"/home/bwloeb/webapps/mlb  File
"/home/bwloeb/webapps/mlbinta_django/mlbinta/south/migration/migrators.p
y", line 81, in run_migration
    migration_function()
  File
"/home/bwloeb/webapps/mlbinta_django/mlbinta/south/migration/migrators.p
y", line 57, in <lambda>
    return (lambda: direction(orm))
  File
"/home/bwloeb/webapps/mlbinta_django/mlbinta/content/migrations/0020_aut
o__add_tagval__add_dict__add_voter__add_field_entry_voted_by__chg_f.py",
 line 53, in forwards
    db.alter_column('content_entry', 'decayed_score_1_id',
self.gf('django.db.models.fields.related.ForeignKey')(to=orm['content.Di
ct']))
  File
"/home/bwloeb/webapps/mlbinta_django/mlbinta/south/db/generic.py", line
44, in _cache_clear
    return func(self, table, *args, **opts)
  File
"/home/bwloeb/webapps/mlbinta_django/mlbinta/south/db/generic.py", line
533, in alter_column
    field.rel.to._meta.get_field(field.rel.field_name).column
  File
"/home/bwloeb/webapps/mlbinta_django/mlbinta/south/db/generic.py", line
273, in execute
    cursor.execute(sql, params)
  File
"/home/bwloeb/webapps/mlbinta_django/lib/python2.7/django/db/backends/ut
il.py", line 40, in execute
    return self.cursor.execute(sql, params)
  File
"/home/bwloeb/webapps/mlbinta_django/lib/python2.7/django/db/backends/po
stgresql_psycopg2/base.py", line 52, in execute
    return self.cursor.execute(query, args)
django.db.utils.IntegrityError: insert or update on table
"content_entry" violates foreign key constraint
"decayed_score_1_id_refs_id_726ca7038f85cd7e"
DETAIL:  Key (decayed_score_1_id)=(0) is not present in table
"content_dict".