django-south
How do I create a new database for an existing App using Django South and set default values?
I\'m working with an OS project that uses South to migrate the database. I\'m building a new database from scratch and I want to make sure South is setup so I can easily update the database in the fut[详细]
2023-01-25 07:29 分类:问答South django.db.utils.IntegrityError: django_content_type.name may not be NULL while running unit tests
I\'m getting this error django.db.utils.IntegrityError: django_content_type.name may not be NULL while running tests via nosetest.[详细]
2023-01-23 10:01 分类:问答Loading a fixture before a south migration run
I\'ve made a mistake of creating my own User model and am trying to recover. I\'ve created a south migration that copies my old user models and creates django.contrib.auth.models.User models. To ensu[详细]
2023-01-22 11:09 分类:问答Adding South to Django project, development & production
Adding South to an existing Django project. I h开发者_开发问答ave it installed on both the development machine and the \"production\" server.[详细]
2023-01-22 09:52 分类:问答Migrating Django fixtures?
I have a Django application.I have .json fixture files containing test data, with unit tests that use the data to confirm the applic开发者_开发技巧ation is working properly.I also use South to migrate[详细]
2023-01-20 21:14 分类:问答Django South removes foreign key REFERENCES from SQLite3 schema. Why? Is it a problem?
When using syncdb the following schema is created: CREATE TABLE \"MyApp_supervisor\" ( \"id\" integer NOT NULL PRI开发者_JAVA百科MARY KEY,[详细]
2023-01-15 07:32 分类:问答How can I use South's DataMigration to change the storage backend of Django model ImageField instance?
I\'m trying to migrate some models ImageFields to using the S3BotoStorage storage backend from django-storages.As part of this process I\'ve changed my Model\'s ImageFielddeclaration to include the st[详细]
2023-01-13 03:43 分类:问答Django not finding apps in virtualenv when using manage.py syncdb
My problem is in getting manage.py syncdb to run within a virtualenv. It was working fine at on开发者_如何学运维e point, but seems to have broken sometime around when I installed South and updated pi[详细]
2023-01-13 02:54 分类:问答south django migrate
I installed south and I try to use it to migrate now: ./manage.py schemamigration myapp --initial I get a :[详细]
2023-01-12 20:39 分类:问答Is having everything in Django models sensible?
I\'ve just inherited a Django project for maintenance and continuous development. While I\'m a fairly proficient programmer (also Python) I have next to no experience with Django, therefore I need a b[详细]
2023-01-12 16:21 分类:问答