Skip to main content

Factories for Django, creating valid model instances every time.

Project description

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)

  • Factory Boy version 2.11 or greater.

Resources

Project details


Download files

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

Source Distribution

factory_djoy-2.2.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

factory_djoy-2.2.1-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file factory_djoy-2.2.1.tar.gz.

File metadata

  • Download URL: factory_djoy-2.2.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.10

File hashes

Hashes for factory_djoy-2.2.1.tar.gz
Algorithm Hash digest
SHA256 37d39b09136ffc70ae50ee2643ac103e6df5df24854465c6fbd727bdbd8feb5d
MD5 9d7451a9efbccff39e8b5db1713f0a72
BLAKE2b-256 7dadbf9096dd71a57d06d2be89a4542283b49cf911119d1d5580226a4249b9ea

See more details on using hashes here.

File details

Details for the file factory_djoy-2.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: factory_djoy-2.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.10

File hashes

Hashes for factory_djoy-2.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aa9c4a519a6948b081856598745103eb7b413604d6a0528708c551cb80839275
MD5 3afcd538fba0a3fb7cda256254b1c411
BLAKE2b-256 ef6cba800b3d02f18e984f15f677eafbe0de5fa53ecd76e0603f401adfd601fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page