code: def reverse(self, url, args=None, kwargs=None):
          ''' Reverse an url taking self.app_name in account '''
          return reverse("%s:%s" % (self.instance_name, url,),
                          args=args,
                          kwargs=kwargs,
                          current_app = self.app_namef reverse(self, url, args=None, kwargs=None):
          ''' Reverse an url taking self.app_name in account '''
          return reverse("%s:%s" % (self.instance_name, url,),
                          args=args,
                          kwargs=kwargs,
                          current_app = self.app_name)
docs: Reverse an url taking self.app_name in account