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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:39:44+00:00 2026-06-12T13:39:44+00:00

I have one problem with Django Framework. I changed one model insert this: masterweb_link

  • 0

I have one problem with Django Framework.
I changed one model insert this:

masterweb_link = models.CharField(_('masterweb_link'), help_text=_('link to MasterWeb tour'), max_length=300, null = True, blank = True)

After that I was this:
– python manage.py syncdb

and db_application was changed and now I can work with new column in admin panel.
On my local-pc everything is fine when i tried to check it.

But, when I try to do this on host, after all my actions model modify and database too, but Django admin site not displaying new column.

I have no errors when i do all my actions! Please help.

  • 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-12T13:39:45+00:00Added an answer on June 12, 2026 at 1:39 pm

    As Daniel Roseman mentioned, syncdb does not modify existing tables.

    To do this, you need to use south http://south.aeracode.org/

    A very quick walk through for converting your existing application to use south. First, you can install it using easy_install by typing easy_install South. If you wish to install it from Mercurial or from a snapshot tar.gz, they have instructions provided here.

    Once it is installed, you need to convert your existing application to use south. In your application’s settings.py file, add south to INSTALLED_APPS and then rerun python manage.py syncdb. All this is doing is adding data tables for the south application. It is not doing anything with your model yet.

    Now, you want to undo the change you made in your original post. Go back to what is was. We will be making that change in a few minutes, but first, we need to tell south what your application looks like now.

    python manage.py convert_to_south <appname> Replace <appname> with your application’s name. This is going to create the initial migration file for your application.

    Commit these changes to your version control (or distribute the application via your normal process to your other developers). It should be a new folder named migrations in your application directory. You will need to commit/distribute all files that appear in this folder.

    One time thing: Everywhere that your application is installed needs to run this command to convert to using south as well. python manage.py migrate <appname> 0001 --fake According to the documentation, this is required because the initial migration that convert_to_south makes will try and create all the existing tables; instead, you tell South that it’s already applied using --fake, so the next migrations apply correctly.

    Now, we are going to make your change. Re-edit your model to make the change you want. Save the model.

    Run this command: python manage.py schemamigration <appname> --auto. South will analyze your models and how they have changed and create a migration script. This is why we needed to revert your changes back to their original state. Otherwise, south wouldn’t know what it from migrating from.

    When it is complete, run python manage.py migrate <appname>. Again, commit or distribute the migrations folder. Each location this is deployed will need to run python manage.py migrate <appname>.

    In the future when you make schema changes you will run python manage.py schemamigration <appname> --auto to create the migration script and python manage.py migrate <appname> to install the changes.

    I also recommend glancing at the documentation for other things south is capable of handling during migrations. The above should get you started though. South’s documentation is location here.

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

Sidebar

Related Questions

I have the following model in django: class Node(models.Model): name = models.CharField(max_length=255) And this
I'm trying to migrate django apps, and i have problem with one. When i
today a weird problem occurred to me: I have a model class in Django
I have multiple Django models that reference a model using foreign keys as such:
A] Problem Summary: I have one to many data models in my project. I
I have two models in relation one-to-many: class Question(db.Model): questionText = db.StringProperty(multiline=False) class Answer(db.Model):
I have a problem with one of my if statements on my django template.
I have to solve this little problem in Python/Django and I'm wondering which is
I have one problem with parsing *.docx document with OpenXML (C#). So, here's my
I have one problem with Javascript Nodes.I want to find out what button was

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.