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 8948793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:05:09+00:00 2026-06-15T13:05:09+00:00

Scenario: I have an app in my Django application that I have never put

  • 0

Scenario: I have an app in my Django application that I have never put under South management. I ran a syncdb a long time ago, and the models of this app have never had to change. Throughout time, I have obviously added data to those tables.

Now, I wish to put this app under south management, but once the tables already exist, I can create the migration file, but naturally, I cant execute them. I get a database error for existing tables:

django.db.utils.DatabaseError: (1050, "Table 'ooyala_ooyalaitem' already exists")

This is pretty obvious for me. What I was wondering is if there is a smart way to run the migrate command to use the current tables. I did not want to dump the data, delete tables manually, run the migration and repopulate things, and neither I wanted to create a data migration for this.

Any ideas on this? Is it even possible?

Thanks for your time.

  • 1 1 Answer
  • 0 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-06-15T13:05:10+00:00Added an answer on June 15, 2026 at 1:05 pm

    This is covered in the manual.

    Converting an app to use South is very easy:

    • Edit your settings.py and put ‘south’ into INSTALLED_APPS (assuming you’ve installed it to the right place)
    • Run ./manage.py syncdb to load the South table into the database. Note that syncdb looks different now – South modifies it.
    • Run ./manage.py convert_to_south myapp – South will automatically make and pretend to apply your first migration.

    Note that you’ll need to convert before you make any changes; South detects changes by comparing against the frozen state of the last migration, so it cannot detect changes from before you converted to using South.

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

Sidebar

Related Questions

To make my doubt clear, I have this scenario: I have an app that
Here is my scenario: I have my-jsf-app.war (JSF 1.2 application) and daos-and-entities.har (Hibernate 3.3.1)
Scenario: a i have an app that makes connection with a SFTP server and
This is the scenario i have: im developing a web app that will list
Scenario: I have a Grails app that uses Acegi security for authentication. I'm implementing
I have an app that uses some code scripts to generate dll's at run-time
Scenario I have a Sinatra App I have a route that fetches articles based
Here's our scenario: We have an MVC3 Application 'MVC3ABC' in solution S1 that is
I have application that opens native camera app and get the captured picture. I
Scenario I have a C# Win Forms App, where the Main Form contains a

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.