Commit graph

17 commits

Author SHA1 Message Date
Martin Pépin a73736bf41 Merge branch 'master' into Kerl/drop_py2_compat 2018-04-16 14:12:36 +02:00
Martin Pépin 57411ab46f Remove __future__ imports 2018-01-06 16:10:13 +01:00
Martin Pépin 475f1adec5 Remove "coding: utf8" line 2018-01-06 16:10:13 +01:00
Ludovic Stephan 684603709e Class attributes and properties + more verbose log
SpectacleRevente gets brand new properties and attributes to simplify
code ; also, manage_reventes command output is more verbose
2017-10-23 20:30:34 +02:00
Martin Pépin ba88b94320 Fixes and cleanup 2017-02-03 17:07:50 +01:00
Martin Pépin 18b186929c Dev data loaded using a django admin command
- Sites, surveys, events and petits cours demands/subjects are still
  loaded from fixtures
- The users and their subscriptions to petits cours are loaded using the
  `loaddevdata` command
- The sub command `loadbdadevdata` is called by `loaddevdata` and
  populates the database with BdA related stuff :
  - 2 tirages
  - Show places
  - Shows
  - subscriptions
2017-02-03 14:33:10 +01:00
Ludovic Stephan a9f25374ff Merge branch 'master' of git.eleves.ens.fr:cof-geek/gestioCOF into Aufinal/clean_code 2016-11-23 01:49:54 -02:00
Martin Pépin debc10213e Typo + docstrings inutiles 2016-11-20 16:52:07 +01:00
Martin Pépin f93b095e0f Styling
Ou comment faire plaisir à pylint sur les bouts de code concernés
par cette MR
2016-11-20 16:39:26 +01:00
Ludovic Stephan a63269a4ce more coherent names 2016-11-14 12:52:02 -02:00
Basile Clement 03f7dff813 Garde la locale par defaut dans les management commands 2016-11-12 11:09:40 +01:00
Ludovic Stephan 7fbf0e4809 fix manage_reventes 2016-10-03 16:47:22 +02:00
Ludovic Stephan 018f493b16 fix date writing 2016-10-03 14:47:13 +02:00
Ludovic Stephan 15e755334d cron 2016-09-26 15:31:09 +02:00
Ludovic Stephan 051a979a9b added cron management 2016-09-21 15:30:41 +02:00
Martin Pépin c3631e2cd5 Améliorations 2016-07-15 02:20:58 +02:00
Martin Pépin ce03a28b4b Ajoute une commande pour les mails de rappel
Les mails de rappel pour les spectacles à venir (dans les 4 jours)
peuvent être envoyés à l'aide de la commande
`python manage.py sendrappels`
Il suffit donc de mettre un cron qui lance cette commande à un intervalle
régulier pour ne plus avoir à se soucier des mails de rappel.

Fixes #1
2016-07-12 20:38:27 +02:00