Django south access orm another app


To access another application in django south data migration fowards() or backwards(), we just use :

1
orm["app_name.Model_name"]

For instance, my app name is “insurance” and my model name is “Records”:

1
orm[‘insurance.Records’].objects.all()

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.