Skip to content

Why do widgets not specify static libraries? #7

@LegoStormtroopr

Description

@LegoStormtroopr

By specifying the media for a form widget, django takes care of making sure all of the necessary static files are call using {form.media}}. Without this we either need to guess which files the bootstrap-datepicker files are required on or load them on every page call, even when a form isn't available and if a user has no form access privileges.

Would you be open to a pull request that added these back?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions