Skip to main content

Factories for Django, creating valid model instances every time.

Project description

CircleCI build Read the Docs PyPI version Python version PyPI - Django Version factory-djoy is licensed under the MIT License

Factory Djoy

Factories for Django, creating valid model instances every time.

Factory Djoy provides two simple classes, UserFactory and CleanModelFactory, which wrap Factory Boy. They call full_clean() when creating Django model instances to ensure that only valid data enters your Django database.


Factory Djoy is compatible with:

  • Django 1.11, 2.2 and 3.0.
  • Python 3 (3.5, 3.6, 3.7, 3.8)
  • Factory Boy version 2.11 or greater.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for factory-djoy, version 2.1.3
Filename, size File type Python version Upload date Hashes
Filename, size factory_djoy-2.1.3-py2.py3-none-any.whl (5.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size factory_djoy-2.1.3.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page