Commits

Tim Savage committed 2ec0525

Rollback allow superuser by default on models

Comments (0)

Files changed (1)

django_extras/contrib/auth/models.py

         filter = {self.__owner_filter: user_pk}
         return self.filter(**filter)
 
-    def owned_by(self, user, include_staff=False, include_superuser=True):
+    def owned_by(self, user, include_staff=False, include_superuser=False):
         """
         Filter by a user(s).