On Thu, Jan 16, 2014 at 1:50 PM, Johannes Schneider <
johannes.schnei...@galileo-press.de> wrote:

> The point is, I have to distinguish between an instance which is created,
> but its save method is not yet called. And an instance coming from the
> database via a manager.
>
> bg,
> Johannes
>

Perhaps get_or_create (
https://docs.djangoproject.com/en/dev/ref/models/querysets/#get-or-create) ?

Martín

-- 
Martin Marrese
marr...@gmail.com
+54 911 5112 9448

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKQdVACvdMxrQERzB18dBDXPT4bDMXWOuV5NXpkE68eX-rfL9A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to