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, 3.9, 3.10, 3.11)

  • 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.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for factory_djoy-2.2.2.tar.gz
Algorithm Hash digest
SHA256 49de0a014a109b451a779a24ba4bb7c929bf385ea93bd25190a814c141143e32
MD5 218ab43fdce2dc643c3d6e1e5b2911a3
BLAKE2b-256 5eab49144e33c8d5b74733e84ed4addccfb1b471e033e2bbe229f6d26d7e36a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for factory_djoy-2.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0090d1ef7e48dded9fa1ff30cb6977683526593e92f1af7bdc3976ead42023c4
MD5 da7306d22a896a68fb9e1f85e6619150
BLAKE2b-256 158d90eb35b09b93b739a49bb0be634dc2f834e7e1ae987758a930d12897ba99

See more details on using hashes here.

Supported by

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