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
Anybody?
On 27 сен, 18:53, Satan Study Django
<satan.come.and.kill.your.family.an...@gmail.com> wrote:
> Good day.
> To the case.
> There are some models (simplified form):
>
> class Group (models.Model):
> name = models.CharField ()
>
> class Pers
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 ()
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
;ja...@jacobian.org> wrote:
> On Wed, May 4, 2011 at 9:23 AM, Satan Study Django
>
> <satan.come.and.kill.your.family.an...@gmail.com> 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
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)
6 matches
Mail list logo