D
D
Dauren S2016-07-23 19:49:46
Django
Dauren S, 2016-07-23 19:49:46

In django, make a widget that has its own logic without a specific controller?

How to make a widget in django? That is, in the template, connect another template via include, but in this plug-in template, make your own logic without being tied to the controller. That is, the data to write either in the template itself or taken from the stat. functions.?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oscar Django, 2016-07-23
@dauren101

I guess everything is closer here templatetags
djbook.ru/rel1.9/howto/custom-template-tags.html#i...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question