Commit Graph

5 Commits

Author SHA1 Message Date
Anssi Kääriäinen 11501c29c9 Forgot to add custom_lookups tests in prev commit 2014-01-12 20:53:03 +02:00
Anssi Kääriäinen c7d5f8661b Altered query string customization for backends vendors
The new way is trying to call first method 'as_' + connection.vendor.
If that doesn't exist, then call as_sql().

Also altered how lookup registration is done. There is now
RegisterLookupMixin class that is used by Field, Extract and
sql.Aggregate. This allows one to register lookups for extracts and
aggregates in the same way lookup registration is done for fields.
2014-01-11 14:45:53 +02:00
Anssi Kääriäinen 2adf50428d Added documentation, polished implementation 2013-12-01 02:14:19 +02:00
Anssi Kääriäinen 7c8b3a32cc Implemented nested lookups
But there is no support of using lookups outside filtering yet.
2013-11-30 23:04:34 +02:00
Anssi Kääriäinen 4d219d4cde Initial implementation of custom lookups 2013-11-30 20:23:48 +02:00