Monday, May 29, 2017

Re: saving data from both a model and a derived model



On Fri, May 26, 2017 at 6:13 AM, <jjanderson52000@gmail.com> wrote:

James,

As always, thank you for looking at this.

Can you clarify for me?

I though that setting UNIQUE meant that the database objects, i.e objects already in the database had to be unique. From your response, my understanding that uniqueness applies to any object of the model type in memory. Is my understanding correct?


No, I was referring to objects that are saved to the database. Objects purely in memory likely will not complain. 

-James 

--
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/CA%2Be%2BciWUEt5sFYDkSb5J4sZFFZt4BoQZXP7x%3DvtqbDpi043jtQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment