title: Custom decorator to pass custom data to function in Django
body: <p>I want to create custom decorator that checks current user and run a query for this user to get some data that belongs him and then if has defined data function is called with whole list passed else returns 403 error.
  How can i approach this?</p>