Thanks for the reply.
This is a perfect coverage of steps 1 through 3 in what I'm doing, but it will break when I do step 4. I basically need to extend the model temporarily so the code doesn't break (I just thought of this so I'll try to implement it).
Thanks,
Matthew Stroud
On 8/28/18, 5:35 AM, "django-users@googlegroups.com on behalf of Codewise IO" <django-users@googlegroups.com on behalf of codewiseio@gmail.com> wrote:
You are going to want to create an empty migrations file and edit it to make your data transformations. See this article.
https://simpleisbetterthancomplex.com/tutorial/2017/09/26/how-to-create-django-data-migrations.html
--
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+unsubscribe@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/986ed380-38dc-4188-ae0e-d97a9a0086b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
________________________________
CONFIDENTIALITY NOTICE: This message is intended only for the use and review of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message solely to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify sender immediately by telephone or return email. Thank you.
--
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+unsubscribe@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/B4DAE0AD-62EA-4D9E-8425-5B850C4754A3%40overstock.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment