Skip to content

Factories for Django, creating valid model instances every time

License

Notifications You must be signed in to change notification settings

jamescooke/factory_djoy

Repository files navigation

GitHub Workflow Status 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.

Compatibility

Factory Djoy is compatible with:

  • Django 2.2, 3.0 and 3.1
  • Python 3 (3.7, 3.8, 3.9, 3.10, 3.11)
  • Factory Boy version 2.11 or greater.

Resources

About

Factories for Django, creating valid model instances every time

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published