Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #375: add row to widget.clean(), obj to widget.render() #479

Merged
merged 3 commits into from
Jul 14, 2016
Merged

Fix #375: add row to widget.clean(), obj to widget.render() #479

merged 3 commits into from
Jul 14, 2016

Commits on Jun 21, 2016

  1. Add get_queryset() to ForeignKeyWidget.

    Add a method `get_queryset()` to `ForeignKeyWidget` and make `fields.Field`
    pass `row` as an additional parameter to `widget.clean()`.  This makes it
    possible to use `ForeignKeyWidget` with multi-column identifiers.
    jnns committed Jun 21, 2016
    Configuration menu
    Copy the full SHA
    6ea44a2 View commit details
    Browse the repository at this point in the history
  2. Pass row to all widget.clean methods

    int-ua authored and jnns committed Jun 21, 2016
    Configuration menu
    Copy the full SHA
    6aa40b8 View commit details
    Browse the repository at this point in the history
  3. Pass obj to widget.render()

    jnns committed Jun 21, 2016
    Configuration menu
    Copy the full SHA
    91845fc View commit details
    Browse the repository at this point in the history