#8784: Add HAVING-clauses to QuerySets
-------------------------------------+-------------------------------------
     Reporter:  Johntron             |                    Owner:  Johntron
         Type:  Uncategorized        |                   Status:  closed
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |               Resolution:  wontfix
     Severity:  Normal               |             Triage Stage:
     Keywords:  db query having      |  Unreviewed
  clause extra database              |      Needs documentation:  1
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  1                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by fetzig):

 Replying to [comment:20 anonymous]:
 > There is an extremely basic use here that fetzig alluded to earlier:
 calculating distances based on long/lat.  It would be nice if Django's ORM
 supported a way to derive and filter on things like this.

 thx ;) but IMHO its way better use geo-django. put a lot of effort into
 this without geo-django because i thought its to much of a hustle (postgis
 and all the other dependencies). but after i hit the wall (this ticket) i
 refactored my project within a couple of hours.

 in addition to that i'm convinced this ticket was handled the right way.
 you're right "it would be nice" but it's simply wrong or inelegant. don't
 have the time/motivation to describe exactly why, but i guess a look at
 the other comments and a more detailed look into the ORM should convince
 you if you don't "believe" me...wasted a couple of days for being a
 disbeliever myself...at least i'm wiser now ;)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/8784#comment:21>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to