> A database with a few fantasy books in it for testing query builders, orms, rest frameworks, etc.
## Django
This test app for Django provides models, migrations, and fixtures that implement the fantasy-database. It's
recommended that app installation be limited to testing only.
Example usage:
In your `settings.py` module:
```python
# Testing
TESTING = len(sys.argv) > 1 and sys.argv[1] in ('test', 'testserver')
if TESTING:
INSTALLED_APPS += (
'django_fantasy',
)
...
```
In a test module:
```python
from django.test import TestCase
class FantasyTests(TestCase):
fixtures = ['fantasy-database.json']
...
```
Metadata
Release files for fantasy-database 2.0.3.post2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fantasy-database-2.0.3.post2.tar.gz | 12.1 kB | Without provenance | Details for fantasy-database-2.0.3.post2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fantasy_database-2.0.3.post2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for fantasy_database-2.0.3.post2-py2.py3-none-any.whl |
Total release size: 26.6 kB
Release files / fantasy-database-2.0.3.post2.tar.gz
| Download URL | fantasy-database-2.0.3.post2.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cea011ddd961e40d88eff5ed47a53f9c5d1b32e6807d807a8b0a1a39f5399b1
|
|
BLAKE2b-256 checksum How to use checksums |
77aca0d40abfdb7d50f7ad0cf4ad272e346ccaa7e3fa963e87f360a47ae03011
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / fantasy_database-2.0.3.post2-py2.py3-none-any.whl
| Download URL | fantasy_database-2.0.3.post2-py2.py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7129e00c905a9306a624f32c3140ee7673ce3f1a1d78263db151f4f3f11facb3
|
|
BLAKE2b-256 checksum How to use checksums |
f6d3ca829f4315f5135f8fcba24e49129ff93a0217318383b219dc3c72b6918a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for fantasy-database 2.0.3.post2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.