Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 673495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:36:07+00:00 2026-05-14T00:36:07+00:00

I was using python 2.5 and django 1.0.2. But I moved to python 2.6

  • 0

I was using python 2.5 and django 1.0.2. But I moved to python 2.6 and django 1.2 recently and I’m getting the following error now during the migrate:

alex@alex-desktop:~/server/mx30$ python manage.py migrate
Running migrations for peer_center:
 - Migrating forwards to 0005_adding_config_model.
 > peer_center: 0001_initial
 > peer_center: 0002_add_cache
 > peer_center: 0003_add_options_field
 > peer_center: 0004_add_player_option_to_media_item
 > peer_center: 0005_adding_config_model
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 195, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 222, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python2.6/dist-packages/south/management/commands/migrate.py", line 91, in handle
    skip = skip,
  File "/usr/local/lib/python2.6/dist-packages/south/migration.py", line 586, in migrate_app
    db.send_pending_create_signals()
  File "/usr/local/lib/python2.6/dist-packages/south/db/generic.py", line 678, in send_pending_create_signals
    self.really_send_create_signal(app_label, list(set(model_names)))
  File "/usr/local/lib/python2.6/dist-packages/south/db/generic.py", line 718, in really_send_create_signal
    verbosity=verbosity, interactive=interactive)
  File "/usr/local/lib/python2.6/dist-packages/django/dispatch/dispatcher.py", line 166, in send
    response = receiver(signal=self, sender=sender, **named)
  File "/usr/local/lib/python2.6/dist-packages/django/contrib/contenttypes/management.py", line 10, in update_contenttypes
    db = kwargs['db']
KeyError: 'db'

After running migrate several times, it eventually passes.
I have 5 different apps under migration and I thought it can be dependencies issue. But I have no migrations calling other apps.
So what can be the problem?

Regards, Arshavski Alexander.

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T00:36:08+00:00Added an answer on May 14, 2026 at 12:36 am

    Django 1.2 supports multiple DB’s, and the version of South you are running does not. Try checking out a more recent version – supposedly this was fixed at some point in 0.6, and should work in 0.7.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a project, using Python/Django running on a Virtual Private Server, which
I am using python and django and like it a lot. But than i
note: using django/python/javascript/flash So its been two days since I'm stuck at the error.
I am writing a website using Python / Django, and am currently doing server-side
I'm currently working on a social web application using python/django. Recently I heard about
I write code with Python using Django framework. Now I have read about all
I'm using Django with Python (but I don't think that's relevant; I just need
I'm using Python/Django, but this is more about the data model and how I
I tried to add search fields in Django using python. Followings are the codes
hi i am working on a django python application using sqlite3 database. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.