Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- manage.py reset appname
- python manage.py loaddata foo.json
- class FooTests(TestCase):
- fixtures = ['foo.json']
- def migrate_appa_2_to_3():
- for a in appa_2.SomeThing.objects.all():
- appa_3.AnotherThing.create( a.this, a.that )
- appa_3.NewThing.create( a.another, a.yetAnother )
- for b in ...
Add Comment
Please, Sign In to add comment