Changes between Initial Version and Version 1 of Ticket #25446, comment 2
- Timestamp:
- Sep 22, 2015, 2:47:55 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25446, comment 2
initial v1 4 4 5 5 {{{ 6 from django.contrib.gis.db.backends.postgis.operations import PostGISOperator 6 7 from django.contrib.gis.db.models import GeometryField 7 8 from django.contrib.gis.db.models.lookups import GisLookup 8 9 9 10 class OrderingEqualsLookup(GISLookup): 10 lookup_name = 'ST_OrderingEquals'11 11 def get_operator(connection): 12 return PostGISOperator(func='ST_OrderingEquals') 12 13 GeometryField.register_lookup(OrderingEqualsLookup) 13 14 }}}