Skip to main content

A Django app for the Oracle text of all Magic: the Gathering cards.

Project description

https://badge.fury.io/py/django-magic-cards.svg https://travis-ci.org/pbaranay/django-magic-cards.svg?branch=master https://codecov.io/gh/pbaranay/django-magic-cards/branch/master/graph/badge.svg

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

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)

  • Speed up import function (#9).

  • Implement basic admin pages (#7).

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

django-magic-cards-0.4.1.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

django_magic_cards-0.4.1-py2.py3-none-any.whl (14.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page