Skip to main content

Racing competition manager based on Django

Project description

Build Status codecov Code Climate Requirements Status


Racing competition manager in Django where you can manage different motor competitions with its own punctuation rules, races, drivers, teams which, at the same time, can be part of multiple competitions.

Modify your

    'rest_framework', # since v0.19.3
    'django-filter', # since v0.22x

TABBED_ADMIN_USE_JQUERY_UI = False # Incompatible with 1.11.


Now, you can add more punctuation and record configs adding DR27_CONFIG in your Follow this example

    'RECORDS': {
        'PODIUM-GATES': {'label': _('At the gates of podium'), 'filter': {'finish__exact': 4}},
        'DR27-POINTS': {'type': 'full', 'finish': [10, 5, 3, 1], 'fastest_lap': 0, 'label': 'DR27 points'},

If you want to allow translate, add this import

from django.utils.translation import ugettext as _


  • 0.14c (Fernando Alonso 14)

  • 0.16c (Race to Championship ‘16)

  • 0.19 (Ayrton Senna’s Toleman’s car number ‘84 - Debut)

  • 0.22 (HAM McLaren 2008/BUT Brawn 2009)

  • 0.27-VIL (Gilles Villeneuve 27)


  • Adding cache

  • Fixes and improvement of code


  • Driver/Team profile

  • Improvement record/streak views


  • Reformat Seat: Contender/Team => Driver/Team. Contender disappears. Seasons are based on seat periods.

  • Global ranks


  • Refactor code

  • API improvement

  • Streak and Rank models


  • Calculate team standing with a different punctuation system (like driver ranking)

  • All ranks in season are available in competition.

  • Refactor.


  • Race points will be saved in BD

  • Improve Points Calculator. Much faster than before

  • Improve copy season (seats, teams and races)


  • Add Django Rest Framework

  • Incompatible with Django 1.7

  • Add django-swapfield in qualifying/finish field


  • Allow different Team ranks (total, races with at least one and races with races with double coincidence)


  • Ranks by season


  • Spanish translation

  • Link to copy season copying teams and races to add_view. Seats is potentially bugged by team dependency (both would be create at the same time).

  • Fix bugs founded in previous versions.


  • What would happen if the 10-point scoring system was used? Would the champion be the same? This version will give you the answer.

  • Olympic rank: Alternative rank with the gold first method. The driver with superior race results (based on descending order, from number of wins to numbers of second-places down) will gain precedence.

  • Road to championship: When the season goes down, we can calculate who would be the champion predicting the results in the last races. Olympic rank is counted in case of points tie. Rosberg or Hamilton?


  • Initial models

  • Basic relation restriction with exceptions and tests

  • Basic templates to frontend views

  • Basic demo to test the app


  • Driver

  • Team

  • Circuit

  • Grand Prix

  • Competition

  • Season

  • Race

  • Result

  • Seat (Driver/Team relation)

  • fixtures folder contains fixture of each model to demo project.


  • [x] Add records by season (driver, team)

  • [x] Add records by driver/team career

  • [x] Add records by competition

  • [x] Add drivers profile with records, last_wins, teams…

  • [x] Add easy clone to Season

  • [x] Translate

  • [x] 1980’s punctuation. Only 11 best results.

  • [ ] Old punctuation. Split season races, and get only 4 of each half.


Driver 27 is a reference to car number of Gilles Villeneuve, F1 Driver died in 1982. Gilles is considered one of best driver despite he never won the World Championship, something that Jacques Villeneuve, his son, did in 1998.

In 1980’s decade, F1 teams kept their numbers unless they were champions. This made Ferrari, the most legendary team of the F1, take that number for many years (1981-1995), making the number an icon of this sport.

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-driver27- (106.3 kB view hashes)

Uploaded source

Supported by

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