daily pastebin goal
23%
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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top