django-south
Django South migration fails
I am trying to map some data onto a staging server and have run into an issue. When running my migrations I get the following error.[详细]
2023-04-12 12:08 分类:问答south (django app) doesn't alter table even though migration is saved in db
Ok so basically when I deploy using Fabric, the south migrate command is being run on the remote machine and fabric outputs that each migration (i.e. 10 of them) were completed. However checking (via[详细]
2023-04-08 03:45 分类:问答Renaming a django model class-name and corresponding foreign keys with south, without loosing the data
Following is my model: class myUser_Group(models.Model): name = models.CharField(max_length=100) class Channel(models.Model):[详细]
2023-04-06 16:37 分类:问答What migration order does South follow across different apps?
I\'ve recently begun using South for migrations in my Dja开发者_如何学JAVAngo project. All was going well until recently when I ran into a peculiar issue.[详细]
2023-04-05 18:04 分类:问答django: how to make table columns in the database have defaults OR get defaults programmatically
I have the following model: class League(models.Model): sport = models.ForeignKey(Sport) name = models.CharField(max_length=100, unique=True)[详细]
2023-04-04 10:28 分类:问答Django - Change a ForeignKey relation to OneToOne
I am using South with my Django app.I have two models that I am changing from having a ForeignKey relation to having a OneToOneField relation. When I ran this migration on my dev database, it ran fine[详细]
2023-04-03 15:04 分类:问答South won't generate or apply migrations for existing app, with changes to migrate
I\'m using South to generate and apply migrations, rather than managing that myself. Unfortunately, South is refusing to actually do anything. Transcript below:[详细]
2023-04-02 14:23 分类:问答Django South ignoring my custom rules
I am using a custom Django model field to and widget to render a GoogleMap widget in my admin, i also want to use South with my project to handle database migrations. However after much effort i am un[详细]
2023-04-02 11:08 分类:问答Django south from MySQL to postgresql
I f开发者_高级运维irst started using MySQL in one of my apps and I am now thinking of moving from MySQL to PostgreSQL.[详细]
2023-04-02 05:22 分类:问答South migration default value from other column?
I have a model that has one column right now, description, that populates an area on a few different pages of the site.The client wants this split up into a couple different columns, so they can popul[详细]
2023-04-01 03:34 分类:问答