Package madrona :: Package features :: Module managers :: Class ShareableGeoManager
[hide private]

Class ShareableGeoManager

source code

django.contrib.gis.db.models.GeoManager --+
                                          |
                                         ShareableGeoManager

Instance Methods [hide private]
 
shared_with_user(self, user, filter_groups=None, exclude_models=None)
Returns a queryset containing any objects that have been shared with a group the user belongs to.
source code
Method Details [hide private]

shared_with_user(self, user, filter_groups=None, exclude_models=None)

source code 

Returns a queryset containing any objects that have been shared with a group the user belongs to.

Assumes that the model has been setup according to the instructions for implementing a shared model.