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

Add support for GenericFK fields #38

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Apr 5, 2014

  1. Configuration menu
    Copy the full SHA
    c9745ad View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2014

  1. Added generator for GenericFK relations.

    Overall method: find GenericFk fields from model._meta.virtual_fields,
    add them to the list of fields to be processed, and remove the
    constituent content_type and object_id fields from the processing list.
    Then use the GenericFK generator to either select or create an
    object to assign.
    aschriner committed Apr 7, 2014
    Configuration menu
    Copy the full SHA
    a1ee411 View commit details
    Browse the repository at this point in the history
  2. cleanup

    aschriner committed Apr 7, 2014
    Configuration menu
    Copy the full SHA
    b8bfd72 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2014

  1. _normalize_genericfk_field uses a copy of field

    _normalize_genericfk_field() now operates on a copy of the original field instead of the original field object
    aschriner committed Apr 8, 2014
    Configuration menu
    Copy the full SHA
    296eb2c View commit details
    Browse the repository at this point in the history