Hi.
As said in the https://docs.djangoproject.com/en/1.4/howto/error-reporting/
production server with "DEBUG = False" will send "Unhandled exception"
errors to ADMINS and it's great.
But besides it will return http error code 200 and if I'd make some
http check for my service, like nagios check_
Good day.
To the case.
There are some models (simplified form):
class Group (models.Model):
name = models.CharField ()
class Person (models.Model):
name = models.CharField ()
groups = models.ManyToManyField (Group)
class Event (models.Model):
name = models.CharField ()
g
Anybody?
On 27 сен, 18:53, Satan Study Django
wrote:
> Good day.
> To the case.
> There are some models (simplified form):
>
> class Group (models.Model):
> name = models.CharField ()
>
> class Person (models.Model):
> name = models.CharField ()
> g
Hi all. There was a need for group_by (as I am inclined to assume),
and all else fails.
Models:
class States (models.Model):
state = models.CharField (max_length = 70)
class Person (models.Model):
name = models.CharField (max_length = 100)
login = models.CharField (max_length = 30)
c
tate')
On 4 май, 23:46, Jacob Kaplan-Moss wrote:
> On Wed, May 4, 2011 at 9:23 AM, Satan Study Django
>
> wrote:
> > I can also use the direct sql query in the code. But on cellular it
> > level does not seem right -)
>
> Well, if it were me, I'd just us
Hi. I've some question about aggregation annotate functions, like Max.
I don't realy like the queries it makes. Let me explain.
Models:
class Person (models.Model):
name = models.CharField (max_length = 100)
login = models.CharField (max_length = 30)
class Home (models.Model):
person =
6 matches
Mail list logo