class documentation

class URLPattern: (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __repr__ Undocumented
Method check Undocumented
Method resolve Undocumented
Instance Variable callback Undocumented
Instance Variable default_args Undocumented
Instance Variable name Undocumented
Instance Variable pattern Undocumented
Property lookup_str A string that identifies the view (e.g. 'path.to.view_function' or 'path.to.ClassBasedView').
Method _check_callback Undocumented
Method _check_pattern_name Check that the pattern name does not contain a colon.
def __init__(self, pattern, callback, default_args=None, name=None): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def check(self): (source)

Undocumented

def resolve(self, path): (source)

Undocumented

callback = (source)

Undocumented

default_args = (source)

Undocumented

Undocumented

Undocumented

@cached_property
lookup_str = (source)

A string that identifies the view (e.g. 'path.to.view_function' or 'path.to.ClassBasedView').

def _check_callback(self): (source)

Undocumented

def _check_pattern_name(self): (source)

Check that the pattern name does not contain a colon.