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.

Compatibility

Factory Djoy is compatible with:

  • Django 1.11, 2.2, 3.0 and 3.1

  • Python 3 (3.5, 3.6, 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.1.4.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: factory_djoy-2.1.4.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.7

File hashes

Hashes for factory_djoy-2.1.4.tar.gz
Algorithm Hash digest
SHA256 1ee7630a817efcde304d6ae099d651ca90f592f7de6f0591552691a51c0e118d
MD5 6ae6708004d4d6af57bf19f01d441dc5
BLAKE2b-256 fa1c73bebd15d757b41b2e32d881339cb86c7547e7e603a15df63b2e56ced576

See more details on using hashes here.

File details

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

File metadata

  • Download URL: factory_djoy-2.1.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.7

File hashes

Hashes for factory_djoy-2.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d47287f6194f1f6034559d9727629365f6a458a2cdf972efa1af9c9b62715a7
MD5 09ed9262602186fd572a94da4e3d19cb
BLAKE2b-256 592894b601dfb5fb3a38c661b9e7fa265bdd00761b1ba8e5c40b82cac8c85e2b

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