Hello folks,

I have two django projects, (let call them A and B) they are independent
applications (with different django versions), I'm in need to sync some
data/models from A to B.

My plan is to use the post_save signal to start a celery task that will
post a subset of data from A to B using the B API.

This new data will be stored in models at B and be used in relationships
with data in B. (To make things easier, those data will never(probably) be
created or updated from B application)

I'm seeing the necessity to keep the primary key on both
applications synchronized too.

My questions is: should I keep using the auto-increment id from django, or
instead use some uuid as pk?

Also, any better idea on how to implement this? Tips, unforeseen problems
or any rant about that matter will be appreciated.

Thanks in advance,

--
Att.
Ricardo Pascal

-- 
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/CAJ5FqeoypDP0520sNcpxC82NHAy-wbWbWs8RWXktPzyhDOXUFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to