mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +00:00
updated manager docs
This commit is contained in:
parent
1cf5454ee8
commit
2b089aee8d
1 changed files with 4 additions and 0 deletions
|
|
@ -206,3 +206,7 @@ following code:
|
|||
Location.objects.public()
|
||||
Location.object.within_boundary(geom=geom)
|
||||
Location.objects.within_boundary(geom=geom).public()
|
||||
|
||||
|
||||
Now you have a 'pass through manager' that can also take advantage of GeoDjango's spatial lookups. You can similarly add
|
||||
additonal functionality to any manager by composing that manager with InheritanceManagerMixin or QueryManagerMixin.
|
||||
|
|
|
|||
Loading…
Reference in a new issue