You can include a template with area 1 and inside this template, you add the other tags.
______________________ Vinícius Mendes Solucione Sistemas http://solucione.info/ On Sun, Mar 28, 2010 at 6:26 PM, Sławek Tuleja <slawek.tul...@gmail.com>wrote: > Hi all! > my question is: can 'tag' generate another tag/s? if yes, what is the > best practice? > > In template e.g. `base.html` i want to have tag: {% area 1 %}, this > tag communicates with database table called `components` and searching > for a components (apps) which are established with area 1, > > let's say post app and rss app are established with area 1, so {% area > 1 %} tag generates: > {% get_posts %} {% get_rss_links %} > and user gets latests posts and rss links. > > that's it > > any help is appreciated > thank you > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.