#16117: Model Methods decorators
----------------------------+----------------------------------------------
Reporter: haras | Owner: nobody
Type: | Status: new
Cleanup/optimization | Component: Database layer (models, ORM)
Milestone: 1.4 | Severity: Normal
Version: | Triage Stage: Unreviewed
Keywords: | Easy pickings: 0
Has patch: 0 |
----------------------------+----------------------------------------------
How about changing:
{{{
model_method.allow_tags = True
model_method.short_description = _('Model Method')
}}}
into:
{{{
@options(allow_tags=True, short_description=_('Model Method'))
}}}
or:
{{{
@allow_tags
@short_desctiption(_('Model Method'))
}}}
?
discussion at [https://groups.google.com/forum/#!topic/django-developers
/Ebe-nGumjug Django Developers Group]
--
Ticket URL: <https://code.djangoproject.com/ticket/16117>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.