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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:35:43+00:00 2026-06-12T03:35:43+00:00

I have to update the auth.user records in a Django app to flip the

  • 0

I have to update the auth.user records in a Django app to flip the “is_staff” bit for certain users. I could do this with a SQL script, but it’d be a lot more convenient if I could use a South data migration.

However, whenever I try to do manage.py datamigration auth whatever South creates the migration in lib/python2.7/site-packages/django/contrib/auth/migrations. Does this mean that it’s impossible to use South data migrations to migrate user data? Or is there some sort of workaround I’m missing?

  • 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-12T03:35:44+00:00Added an answer on June 12, 2026 at 3:35 am

    Yes this is possible using the SOUTH_MIGRATION_MODULES setting: http://south.readthedocs.org/en/0.7.6/settings.html#south-migration-modules

    A dictionary of alternative migration modules for apps. By default, apps look for their migrations in “.migrations”, but you can override this here, if you have project-specific migrations sets.

    For example

    SOUTH_MIGRATION_MODULES = {
        'auth': 'myproject.migrations.auth',
    }
    
    • 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, this project must have many users, each user can
I have a LOG table like this. Process_Type (Could be Update , View ),
I have a Posts and a Users controller. I use the Auth Component and
I have an extended UserProfile model in django: class UserProfile(models.Model): user = models.ForeignKey(User, unique=True)
I've started using Tank Auth in my CodeIgniter App, I have followed some tutorial
I have a question about how could I update a legacy table after an
Django has list_editable . I need to edit is_active flag. from django.contrib.auth.models import User
Good day, I have the following in my URLConf: from django.contrib.auth.decorators import user_passes_test urlpatterns
I have a CI app that has a auth controller and switchuser function. Basically
I have update panel that content check box, textbox, 3 DropDownList with CascadingDropDown extender.

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.