Reputation: 695
There is model Leads
with fields :
name, phone, email, address
and I create model Contacts
with the same fields but with processed data from Leads
for example, combine all leads
with the same names and phone numbers into one contact
, etc.
how to implement it? whether to create a migration or a . how it is better to implement it?
Upvotes: 1
Views: 42
Reputation: 534
You can do it either through shell or management command (if the action needs to be done regularly)
Check Django's management commands
Upvotes: 1