Skip to content
Django-Cricket is a simple app to store cricket match details.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Django-Cricket 🏏

Django-Cricket is a simple app to store cricket match details.

📝 Note: Development is still in progress and not in a stable state.

Detailed documentation is in the docs directory. (Not produced yet. So instead heres a unicorn... 🦄)

Quick start 🛫

  1. Add cricket to your INSTALLED_APPS setting like this
  1. Include the URLconf in your project like this
    path(r'^matches/', include('cricket.core.urls.matches')),
    path(r'^stats/', include('cricket.core.urls.stats')),
    path(r'^api/', include('cricket.core.urls.api')),
  1. Run python migrate to create the cricket models.

  2. Run python collectstatic to get static files.

  3. Add this to your base template

    <script src="{% static "scripts.js"%}"></script>
    <script src="" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
  1. Start the development server and visit to create a match (you'll need the Admin app enabled).

  2. Visit to view match details. Visit to view statistics.


There are several extensions to make this app more usable, they are:

  • Django-Cricket-PlayCricket-Link: This extension links the base storage app to the ECB Play Cricket system. It is helpful for clubs who play in leagues that require the results to be added to playcricket.
  • Django-Cricket-FantasyLeague: ⚙️ Under Development. This adds a fantasy league section to the website. A good fundraiser for cricket clubs.
  • Django-Cricket-MatchReports: ⚙️ Under Development. This adds a match report section to the website.
You can’t perform that action at this time.