.. image:: https://badge.fury.io/py/django-magic-cards.svg :target: https://badge.fury.io/py/django-magic-cards
.. image:: https://travis-ci.org/pbaranay/django-magic-cards.svg?branch=master :target: https://travis-ci.org/pbaranay/django-magic-cards
.. image:: https://codecov.io/gh/pbaranay/django-magic-cards/branch/master/graph/badge.svg :target: https://codecov.io/gh/pbaranay/django-magic-cards
Django Magic Cards is a pluggable Django app for the Oracle text of all Magic: the Gathering cards.
The full documentation is at https://django-magic-cards.readthedocs.io.
Install the package::
pip install django-magic-cards
Add the app to your INSTALLED_APPS
:
.. code-block:: python
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
cookiecutter-djangopackage
for providing the structure for this project... _MTGJSON: http://mtgjson.com/
.. Cookiecutter: https://github.com/audreyr/cookiecutter
.. cookiecutter-djangopackage
: https://github.com/pydanny/cookiecutter-djangopackage
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.