:py:mod:`oioioi.base.utils.input_with_generate` =============================================== .. py:module:: oioioi.base.utils.input_with_generate Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: oioioi.base.utils.input_with_generate.TextInputWithGenerate .. py:class:: TextInputWithGenerate(*args, **kwargs) Bases: :py:obj:`django.forms.TextInput` Base class for all widgets. .. py:class:: Media Bases: :py:obj:`object` .. py:attribute:: js :annotation: = ['common/ajax-generate-key.js'] .. py:attribute:: html_template :annotation: = Multiline-String .. raw:: html
Show Value .. code-block:: text :linenos:
{input_html}
.. raw:: html
.. py:method:: render(name, value, attrs=None, renderer=None) Render the widget as an HTML string.