Hi,

I have two different django projects which each project having different
model

Lets say projects to be p1 and p2


Now i have to populate the data from p1 model to a model in p2 ( note p1
and p2 models are different, i just have to use some data from p1 model to
move to p2)


Now in order to write the script i have to initialise two different django
projects, something like


os.environ.setdefault('DJANGO_SETTINGS_MODULE', "p1.settings")
django.setup()


settings.configure("p2.settings", DEBUG=True)
django.setup()


So i was wondering, is this even possible? and is there any other way


Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHfehoU5V%2BbV9qAJiNhL9HmvUnbakNpt0mtRL00iaAqZNVJg6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to