Undocumented
Class |
|
Undocumented |
Function | add |
https://stackoverflow.com/questions/4124220/django-adding-css-classes-when-rendering-form-fields-in-a-template |
Function | add |
Undocumented |
Function | add |
Add a query parameter to the current request url, and return the new url. |
Function | as |
Undocumented |
Function | as |
Undocumented |
Function | break |
Breaks headers longer than 160 characters (~page length) when possible (are comma separated) |
Function | data |
Simple filter to access `data` attribute of object, specifically coreapi.Document. |
Function | form |
Undocumented |
Function | format |
Undocumented |
Function | get |
Undocumented |
Function | highlight |
Undocumented |
Function | items |
Simple filter to return the items of the dict. Useful when the dict may have a key 'items' which is resolved first in Django template dot-notation lookup. See issue #4931 Also see: https://stackoverflow... |
Function | optional |
Include a login snippet if REST framework's login view is in the URLconf. |
Function | optional |
Include a login snippet if REST framework's login view is in the URLconf. |
Function | optional |
Include a logout snippet if REST framework's logout view is in the URLconf. |
Function | render |
Undocumented |
Function | render |
Undocumented |
Function | render |
Undocumented |
Function | schema |
Recursively find every link in a schema, even nested. |
Function | smart |
Simple wrapper for smart_urlquote. ValueError("Invalid IPv6 URL") can be raised here, see issue #1386 |
Function | with |
Undocumented |
Constant | TRAILING |
Undocumented |
Constant | WRAPPING |
Undocumented |
Variable | class |
Undocumented |
Variable | register |
Undocumented |
Variable | simple |
Undocumented |
Variable | simple |
Undocumented |
Variable | simple |
Undocumented |
Variable | word |
Undocumented |
https://stackoverflow.com/questions/4124220/django-adding-css-classes-when-rendering-form-fields-in-a-template Inserts classes into template variables that contain HTML tags, useful for modifying forms without needing to change the Form objects. Usage: {{ field.label_tag|add_class:"control-label" }} In the case of REST Framework, the filter is used to add Bootstrap-specific classes to the forms.
Simple filter to access `data` attribute of object, specifically coreapi.Document. As per `items` filter above, allows accessing `document.data` when Document contains Link keyed-at "data". See issue #5395
Simple filter to return the items of the dict. Useful when the dict may have a key 'items' which is resolved first in Django template dot-notation lookup. See issue #4931 Also see: https://stackoverflow.com/questions/15416662/django-template-loop-over-dictionary-items-with-items-as-key
Simple wrapper for smart_urlquote. ValueError("Invalid IPv6 URL") can be raised here, see issue #1386