A Django app for the Oracle text of all Magic: the Gathering cards.
Project description
Django Magic Cards is a pluggable Django app for the Oracle text of all Magic: the Gathering cards.
Documentation
The full documentation is at https://django-magic-cards.readthedocs.io.
Quickstart
Install the package:
pip install django-magic-cards
Add the app to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'magic_cards.apps.MagicCardsConfig',
...
)
Add Django Magic Cards’ tables to your the database:
./manage.py migrate magic_cards
Populate the card database:
./manage.py import_magic_cards
Acknowledgments
MTGJSON for providing up-to-date card data.
Cookiecutter and cookiecutter-djangopackage for providing the structure for this project.
Disclaimer
The literal and graphical information presented in this software about Magic: the Gathering, including Oracle text and card images, is copyright Wizards of the Coast, LLC, a subsidiary of Hasbro, Inc. This project is not produced by, endorsed by, supported by, or affiliated with Wizards of the Coast.
History
0.4.1 (2017-10-26)
Improve Unicode handling on Python 2, allowing the Printings admin page to load properly (#27).
0.4.0 (2017-10-04)
Update a Card’s data (text, loyalty, types, etc.) when a set is re-imported (#23).
0.3.0 (2017-09-28)
Store planeswalkers’ starting loyalty (#19).
Correctly populate flavor text.
Fix issue that crashed re-importing a set without multiverse IDs.
0.2.0 (2017-08-16)
0.1.1 (2017-08-10)
Increase maximum length of a Card’s name (#2).
0.1.0 (2017-08-08)
First release on PyPI.
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
Built Distribution
File details
Details for the file django-magic-cards-0.4.1.tar.gz
.
File metadata
- Download URL: django-magic-cards-0.4.1.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87e60b488e103a653e73d2f15babcbba90a28242c7ed3085303e1e7b7673c08d |
|
MD5 | 376418a5f1dfa690b0ce841a71854fb3 |
|
BLAKE2b-256 | 73c204f209dde988068aa672f42d56b26bc7be0c28be34a0d9df59abefff3e90 |
File details
Details for the file django_magic_cards-0.4.1-py2.py3-none-any.whl
.
File metadata
- Download URL: django_magic_cards-0.4.1-py2.py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fca56951dbe06657f210671498e8bfe4a8d0ff50ae0a1908e55861b6842083b |
|
MD5 | 7067c6ab74f98a4c7441931d609a5a3e |
|
BLAKE2b-256 | 0e38e5b8a502f68f284d57613efb344ff422204f7556544834501414819fa934 |