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 and 3.0.

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

Uploaded Source

Built Distribution

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: factory_djoy-2.1.3.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7

File hashes

Hashes for factory_djoy-2.1.3.tar.gz
Algorithm Hash digest
SHA256 82a173fbc175f5075f108af217e0764662c29da76b2e4fd31310c2fa897ab320
MD5 261b618720d6f8f0a24bebf6bdef7bf9
BLAKE2b-256 883124032ee94afddfe686aa6abdb088aab8cc6403889c3a47f81a9fe017a46d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: factory_djoy-2.1.3-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.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7

File hashes

Hashes for factory_djoy-2.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 12447962040932a08495bfe7463b77e236621e8edb8745b484d03d324715b6a4
MD5 e3ee55f14d4cbc99d51c3eba8d2ac2b8
BLAKE2b-256 67fc0c47da2c5f3e338c9f12b91c7e6a0faf8b547bb7fc04e14d6a732dff12ca

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