Changes between Initial Version and Version 1 of Ticket #8904


Ignore:
Timestamp:
Sep 7, 2008, 1:03:34 PM (16 years ago)
Author:
jbronn
Comment:

Yes, a better error needs to be raised.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8904

    • Property Owner changed from nobody to jbronn
    • Property Summary geodjango should return more informative error for mysql non-supportgeodjango should return more informative error for lack of MySQL distance queries
    • Property Version 1.0-beta-11.0
  • Ticket #8904 – Description

    initial v1  
    11A better error should be reported for when a distance lookup is attempted with mysql:
    22
    3 
     3{{{
    44>>> qs = Building.gobjects.filter(geo_loc__distance_lte=(x, D(km=7)))
    55Traceback (most recent call last):
     
    1818    raise FieldError("Join on field %r not permitted." % name)
    1919FieldError: Join on field 'geo_loc' not permitted.
     20}}}
Back to Top