You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Darks 1d638689c6
Modifications on trophies and titles #10 (and more)
1 month ago
app Modifications on trophies and titles #10 (and more) - remove `title` attribute - do the migration of db - add initialization routine in `master.py` - add default trophies and titles in `data/trophies.yaml` - add `add_trophy` method in `Member` class - add `update_trophies` method in `Member` class - add form in admin panel to give a trophy to a member - same to remove a trophy - change `if request.method == "POST"` to `if form.submit.data` 1 month ago
assets api: remove less used requests 1 month ago
migrations Modifications on trophies and titles #10 (and more) - remove `title` attribute - do the migration of db - add initialization routine in `master.py` - add default trophies and titles in `data/trophies.yaml` - add `add_trophy` method in `Member` class - add `update_trophies` method in `Member` class - add form in admin panel to give a trophy to a member - same to remove a trophy - change `if request.method == "POST"` to `if form.submit.data` 1 month ago
scripts Updating .env, run_dev script and REQUIREMENT.md file 5 months ago
.env Updating .env, run_dev script and REQUIREMENT.md file 5 months ago
.gitignore Add Pipfile 3 months ago
Pipfile Add Pipfile 3 months ago
README.md Quelques changements pour respecter la PEP8 1 month ago
REQUIREMENTS.md Updating requirements file and adding a new one 3 months ago
V5.py core: introduce a master script and enable proper privilege checks 1 month ago
config.py core: parameterize minimum password length 1 month ago
master.py Modifications on trophies and titles #10 (and more) - remove `title` attribute - do the migration of db - add initialization routine in `master.py` - add default trophies and titles in `data/trophies.yaml` - add `add_trophy` method in `Member` class - add `update_trophies` method in `Member` class - add form in admin panel to give a trophy to a member - same to remove a trophy - change `if request.method == "POST"` to `if form.submit.data` 1 month ago
package.txt Django est mort, vive Flask ! 1 year ago
requirements.txt Updating requirements file and adding a new one 3 months ago

README.md

Planète Casio v5

Code de conduite

Don’t be an asshole.

Style de code

  • On respecte la PEP8. Je sais c’est relou d’indenter avec des espaces, mais au moins le reste est consistant.
  • La seule exception concerne la longueur des lignes. Merci d’essayer de respecter les 79 colonnes, mais dans certains cas c’est plus crade de revenir à la ligne, donc blc.
  • Je conseille d’utiliser Flake8 qui permet de vérifier les erreurs de syntaxe, de style, etc. en live.