Skip to content

Commit cb2298a

Browse files
committed
v0.16c
1 parent 71958c9 commit cb2298a

File tree

4 files changed

+127
-9
lines changed

4 files changed

+127
-9
lines changed

MANIFEST.in

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
include requirements.txt
22
include LICENSE
33
include README.md
4+
include README.rst
45
recursive-include driver27 *.py
6+
recursive-include driver27/fixtures *.json
57
recursive-include driver27/migrations *.py
6-
recursive-include driver27/tests *.py
8+
recursive-include driver27/static *.css
79
recursive-include driver27/templates *.html
810
recursive-include driver27/templatetags *.py
9-
recursive-include driver27/fixtures *.json
10-
recursive-include driver27/static *.css
11+
recursive-include driver27/tests *.py
1112
recursive-include driver27/urls *.py

README.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,16 @@ TABBED_ADMIN_USE_JQUERY_UI = True
2525

2626
Versions
2727
========
28-
- 0.14-ALO (Fernando Alonso 14)
28+
- 0.14c (Fernando Alonso 14)
29+
- 0.16c (Race to Championship '16)
2930
- 0.27-VIL (Gilles Villeneuve 27)
3031

32+
0.16
33+
====
34+
- What would happen if the 10-point scoring system was used? Would the champion be the same? This version will give you the answer.
35+
- 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.
36+
- 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?
37+
3138
0.14
3239
====
3340
- Initial models
@@ -49,11 +56,12 @@ models
4956
- Seat (Contender/Team relation)
5057
- fixtures folder contains fixture of each model to demo project.
5158

52-
Demo
53-
====
59+
Demo (virtuaenv recomended)
60+
===========================
5461
```bash
5562
$ git clone https://github.com/SRJ9/django-driver27
5663
$ cd django-driver27 # or name of destiny folder
64+
$ pip install -r requirements.txt
5765
$ python demo/manage.py runserver
5866
$ # login /admin: admin:pass
5967
```
@@ -62,7 +70,7 @@ Todo
6270
====
6371
- [ ] Add records by season, driver, team, competition
6472
- [ ] Add drivers profile with records, last_wins, teams...
65-
- [ ] Add easy clone to Season
73+
- [x] Add easy clone to Season
6674
- [ ] Translate
6775
- [ ] 1980's punctuation. Only 11 best results.
6876
- [ ] Old punctuation. Split season races, and get only 4 of each half.

README.rst

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
|Build Status| |codecov| |Code Climate| |Requirements Status|
2+
3+
driver27
4+
========
5+
6+
Racing competition manager in Django where you can manage different
7+
motor competitions with its own punctuation rules, races, drivers, teams
8+
which, at the same time, can be part of multiple competitions.
9+
10+
Modify your settings.py
11+
=======================
12+
13+
::
14+
15+
INSTALLED_APPS = [
16+
'bootstrap3',
17+
...
18+
'django_countries',
19+
'tabbed_admin',
20+
'driver27'
21+
]
22+
23+
24+
TABBED_ADMIN_USE_JQUERY_UI = True
25+
26+
Versions
27+
========
28+
29+
- 0.14c (Fernando Alonso 14)
30+
- 0.16c (Race to Championship '16)
31+
- 0.27-VIL (Gilles Villeneuve 27)
32+
33+
0.16
34+
====
35+
36+
- What would happen if the 10-point scoring system was used? Would the
37+
champion be the same? This version will give you the answer.
38+
- Olympic rank: Alternative rank with the gold first method. The driver
39+
with superior race results (based on descending order, from number of
40+
wins to numbers of second-places down) will gain precedence.
41+
- Road to championship: When the season goes down, we can calculate who
42+
would be the champion predicting the results in the last races.
43+
Olympic rank is counted in case of points tie. Rosberg or Hamilton?
44+
45+
0.14
46+
====
47+
48+
- Initial models
49+
- Basic relation restriction with exceptions and tests
50+
- Basic templates to frontend views
51+
- Basic demo to test the app
52+
53+
models
54+
======
55+
56+
- Driver
57+
- Team
58+
- Circuit
59+
- Grand Prix
60+
- Competition
61+
- Season
62+
- Race
63+
- Result
64+
- Contender (Driver/Competition relation)
65+
- Seat (Contender/Team relation)
66+
- fixtures folder contains fixture of each model to demo project.
67+
68+
Demo (virtuaenv recomended)
69+
===========================
70+
71+
.. code:: bash
72+
73+
$ git clone https://github.com/SRJ9/django-driver27
74+
$ cd django-driver27 # or name of destiny folder
75+
$ pip install -r requirements.txt
76+
$ python demo/manage.py runserver
77+
$ # login /admin: admin:pass
78+
79+
Todo
80+
====
81+
82+
- [ ] Add records by season, driver, team, competition
83+
- [ ] Add drivers profile with records, last\_wins, teams...
84+
- [x] Add easy clone to Season
85+
- [ ] Translate
86+
- [ ] 1980's punctuation. Only 11 best results.
87+
- [ ] Old punctuation. Split season races, and get only 4 of each half.
88+
89+
History
90+
=======
91+
92+
Driver 27 is a reference to car number of Gilles Villeneuve, F1 Driver
93+
died in 1982. Gilles is considered one of best driver despite he never
94+
won the World Championship, something that Jacques Villeneuve, his son,
95+
did in 1998.
96+
97+
In 1980's decade, F1 teams kept their numbers unless they were
98+
champions. This made Ferrari, the most legendary team of the F1, take
99+
that number for many years (1981-1995), making the number an icon of
100+
this sport.
101+
102+
.. |Build Status| image:: https://travis-ci.org/SRJ9/django-driver27.svg?branch=develop
103+
:target: https://travis-ci.org/SRJ9/django-driver27
104+
.. |codecov| image:: https://codecov.io/gh/SRJ9/django-driver27/branch/develop/graph/badge.svg
105+
:target: https://codecov.io/gh/SRJ9/django-driver27
106+
.. |Code Climate| image:: https://codeclimate.com/github/SRJ9/django-driver27/badges/gpa.svg
107+
:target: https://codeclimate.com/github/SRJ9/django-driver27
108+
.. |Requirements Status| image:: https://requires.io/github/SRJ9/django-driver27/requirements.svg?branch=develop
109+
:target: https://requires.io/github/SRJ9/django-driver27/requirements/?branch=develop

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
with open('requirements.txt') as f:
44
requirements = f.read().splitlines()
55

6-
readme = open('README.md', 'r')
6+
readme = open('README.rst', 'r')
77
README_TEXT = readme.read()
88
readme.close()
99

1010
setup(
1111
name='django-driver27',
12-
version='0.16b',
12+
version='0.16c',
1313
include_package_data=True,
1414
packages=find_packages(),
1515
url='https://github.com/SRJ9/django-driver27.git',

0 commit comments

Comments
 (0)