Re: Fast and Easy way to check if an instance of an Model exists in the Database

2014-01-16 Thread Martin Marrese
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.


Django Dashboard

2013-07-30 Thread Martin Marrese
Hi,

I'm looking for a Django Dashboard to implement on an existing app. A
colleague recommended Dashing (1), but thats a Sinatra app, however I do
like how it looks.

Does anyone have a recommendation ?

Thanks,
Martín

Links
1 - http://shopify.github.io/dashing/

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.