Commit graph

32 commits

Author SHA1 Message Date
Erkan Narmanli
26d7ad474f Merge branch 'master' into 'Qwann/Serializers'
# Conflicts:
#   event/models.py
2017-08-13 18:27:40 +02:00
Aurélien Delobelle
07d4c3ead1 Reflect changes on validators/fields 2017-08-12 15:01:57 +02:00
Aurélien Delobelle
cd78757244 Clean some models
Add/fix some field names, verbose_name, help_text, on_delete (for
foreign keys), etc.
2017-08-03 12:09:03 +02:00
Qwann
ee411d06a6 help text added 2017-08-02 17:28:26 +02:00
Qwann
f87fe3d5a0 renamed attribute + PEP 2017-07-26 13:16:52 +02:00
Qwann
c709583e06 Activity parent nullable 2017-07-25 14:07:20 +02:00
Qwann
cab370421b small fixes 2017-07-23 16:21:11 +02:00
Ludovic Stephan
782cb34b0e Change get_herited method 2017-07-21 16:24:53 +02:00
Ludovic Stephan
8a587b3d56 Override attribution save() + stuff 2017-07-21 16:18:19 +02:00
Ludovic Stephan
670a9d45da Use EventSpecificMixin for event-specific models 2017-07-18 19:08:09 +02:00
Ludovic Stephan
53d9084d63 Correct Activity inheritance and get_herited() 2017-07-18 18:41:44 +02:00
Ludovic Stephan
5b005571d5 Event ending_date no longer optional 2017-07-18 17:31:01 +02:00
Ludovic Stephan
af75c90b84 Refactor communication models
We now use `django-notifications` and `django-contrib-comments` to manage notifications and comments.

Subscriptions are managed through the `SubscriptionMixin` model, and can correspond to unique
users and to group-like subscriptions.
2017-07-17 17:47:34 +02:00
Ludovic Stephan
6f158638bf Various bugfixes 2017-07-15 21:22:15 +02:00
Ludovic Stephan
3bbea85b3a Add commentable property to activities 2017-07-15 18:14:15 +02:00
Ludovic Stephan
f1afadda76 Add possibility for endless events 2017-07-15 17:50:58 +02:00
Ludovic Stephan
350b0c58be Add begin/end date to activities 2017-07-15 17:46:13 +02:00
Ludovic Stephan
35e8585f4c Verbose names in lowercase 2017-07-15 17:44:15 +02:00
Qwann
0741d330d9 small i18n fixes 2017-05-16 20:20:38 +02:00
Qwann
d168c8c8e6 translators added 2017-04-27 02:12:41 +02:00
Qwann
8055be4c20 fixes 2017-02-21 17:25:46 +01:00
Qwann
926bb66450 small fixes 2016-10-21 18:49:46 +02:00
Qwann
f3180c0b3e small fixes 2016-10-17 20:06:00 +02:00
Qwann
895ae3df55 Merge branch 'models' of git.eleves.ens.fr:cof-geek/GestionEvenementiel into models 2016-10-17 19:40:37 +02:00
Qwann
f06ae696e5 validator modified 2016-10-17 19:40:31 +02:00
Qwann
3c93b0fa23 models de equipment done 2016-10-14 13:02:25 +02:00
Qwann
a32c66dc38 Merge branch 'models' of git.eleves.ens.fr:cof-geek/GestionEvenementiel into models_equipement 2016-10-13 16:28:45 +02:00
Qwann
d646f77d7e heritage de titre pour __str__ de Activity 2016-10-13 16:26:35 +02:00
Qwann
dc8fc77130 premier jet models equipement 2016-10-13 16:24:19 +02:00
Qwann
6365704d2d models & tests de event
normalement c'est fini
2016-10-13 11:51:41 +02:00
Qwann
d4b96f0567 debut des tests
ajout des méthodes __str__
2016-10-03 00:31:21 +02:00
Qwann
95b492e05d Tous les modèles et champs sont là
Reste à faire les __getattr__ et __setattr__
2016-09-30 20:10:35 +02:00