cms/apps/pages/models.py
def reverse(self, view_func, args=None, kwargs=None):
        '''Performs a reverse URL lookup.'''
        if args is None:
            args = ()
        if kwargs is None:
            kwargs = {}
        urlconf = ContentType.objects.get_for_id(
            self.content_type_id
        ).model_class().urlconf

        return self.get_absolute_url().rstrip('/') + urls.reverse(
            view_func,
            args=args,
            kwargs=kwargs,
            urlconf=urlconf,
        )
Performs a reverse URL lookup.
Performs a reverse URL lookup.
Performs a reverse URL lookup .
def reverse(self, view_func, args=None, kwargs=None):
        if args is None:
            args = ()
        if kwargs is None:
            kwargs = {}
        urlconf = ContentType.objects.get_for_id(
            self.content_type_id
        ).model_class().urlconf
        return self.get_absolute_url().rstrip('/') + urls.reverse(
            view_func,
            args=args,
            kwargs=kwargs,
            urlconf=urlconf,
        )
def reverse ( self , view_func , args = None , kwargs = None ) : if args is None : args = ( ) if kwargs is None : kwargs = { } urlconf = ContentType . objects . get_for_id ( self . content_type_id ) . model_class ( ) . urlconf return self . get_absolute_url ( ) . rstrip ( '/' ) + urls . reverse ( view_func , args = args , kwargs = kwargs , urlconf = urlconf , )
Performs a reverse URL lookup.
Performs a reverse URL lookup .
'''Performs a reverse URL lookup.'''
self
view_func
args
kwargs