daily pastebin goal
18%
SHARE
TWEET

Untitled

a guest Aug 13th, 2017 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Middleware manager
  2. class MiddlewareManager(models.manager.BaseManager):
  3.     @ classmethod
  4.     def _get_queryset_methods(cls, queryset_class):
  5.         newmethods={}
  6.         for name, method in super(MiddlewareManager, cls)._get_queryset_methods(queryset_class).items():
  7.             newmethods[name]=checkAccess(method)
  8.         return newmethods
RAW Paste Data
Top