Thursday, February 28, 2013

Re: Does Django support general reusable UI widgets?

On Thu, Feb 28, 2013 at 10:46 AM, Dong Wang <> wrote:
> It seems "django.forms.widgets" is designed to support only reusable input
> widgets used in forms, does Django support general reusable UI widgets like
> tornado.web.UIModule ?

Yes, Django allows you to define custom template tags that can do
anything you want. The closest equivalent to a UIModule is a template
inclusion tag, which allows you to define a context and a template
that uses that context.



You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment