AdminDateWidget
This class provides a specialized date input widget for the administrative interface, utilizing a specific HTML template for rendering. It inherits core date-handling functionality from the base administrative date widget to ensure consistent data processing and display.
Attributes
| Attribute | Type | Description |
|---|---|---|
| template_name | string = admin/widgets/date.html | The path to the HTML template used to render the date input widget in the admin interface. |
Constructor
Signature
def AdminDateWidget() - > null
Signature
def AdminDateWidget(
attrs: dict = null,
format: string = null
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| attrs | dict = null | Optional dictionary of HTML attributes to be added to the rendered input element. |
| format | string = null | The date format string used to display the value in the input field. |