Skip to main content

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.


The full documentation is at


Install the package:

pip install django-magic-cards

Add the app to your INSTALLED_APPS:


Add Django Magic Cards’ tables to your the database:

./ migrate magic_cards

Populate the card database:

./ import_magic_cards



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.


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.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_magic_cards-0.4.1-py2.py3-none-any.whl (14.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3
django-magic-cards-0.4.1.tar.gz (10.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page