SciPost Code Repository

Skip to content
Snippets Groups Projects
  • Geert Kapteijns's avatar
    Add FormFactory to common.helpers.factories · bdcbde1c
    Geert Kapteijns authored
    This custom factory subclasses factory.Factory,
    and overrides the build method, so that the model_class
    gets called with a dict of fields, instead of with keyword
    arguments. This is the way Django form classes require data to be
    passed to __init__.
    bdcbde1c
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
factories.py 156 B