Package models
source code
|
|
permalink(func)
Decorator that calls urlresolvers.reverse() to return a URL using
parameters returned by the decorated function "func". |
source code
|
|
Imports:
settings,
ObjectDoesNotExist,
ImproperlyConfigured,
validators,
connection,
get_apps,
get_app,
get_models,
get_model,
register_models,
Q,
Manager,
Model,
AdminOptions,
SubfieldBase,
ForeignKey,
OneToOneField,
ManyToManyField,
ManyToOneRel,
ManyToManyRel,
OneToOneRel,
TABULAR,
STACKED,
signals,
curry,
capfirst
Decorator that calls urlresolvers.reverse() to return a URL using
parameters returned by the decorated function "func".
"func" should be a function that returns a tuple in one of the
following formats:
(viewname, viewargs)
(viewname, viewargs, viewkwargs)
|