Skip to content

QuanityWidget and QuantityField don't share signature #103

@mmarras

Description

@mmarras

Pseudocode

class QuantityWidget(QuantityFormField)
    def __init__(base_units=, allowed_types=)

whereas:

class QuantityField
    def __init__(base_units=, unit_choices=)

semantically allowed_types and unit_choices are the same thing but are referenced with different names, if I am not mistaken. A streamlined signature would be easier to work with.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions