SciPost Code Repository

Skip to content
Snippets Groups Projects
  1. Dec 20, 2016
    • 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
  2. Dec 16, 2016
Loading