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.

Files for django-magic-cards, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size django_magic_cards-0.4.1-py2.py3-none-any.whl (14.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-magic-cards-0.4.1.tar.gz (10.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page