Ludovic Stephan
782cb34b0e
Change get_herited method
2017-07-21 16:24:53 +02:00
Ludovic Stephan
ef8c62835b
Migrations
2017-07-21 16:20:39 +02:00
Ludovic Stephan
8a587b3d56
Override attribution save() + stuff
2017-07-21 16:18:19 +02:00
Ludovic Stephan
3439abe922
Merge branch 'master' of git.eleves.ens.fr:cof-geek/GestionEvenementiel into Aufinal/communication_models
2017-07-20 15:24:23 +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
da75dc7d9c
Test + small changes
2017-07-18 17:18:54 +02:00
Ludovic Stephan
270e31f12b
adapt migrations and tests
2017-07-18 15:37:13 +02:00
Ludovic Stephan
4e8873226f
Oops
2017-07-18 13:55:09 +02:00
Ludovic Stephan
19093d01f3
Small fixes
2017-07-18 13:54:11 +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
26c02df53d
All commentables are notifying
2017-07-15 18:37:47 +02:00
Ludovic Stephan
80be26c5b3
Minor changes
2017-07-15 18:14:26 +02:00
Ludovic Stephan
3bbea85b3a
Add commentable property to activities
2017-07-15 18:14:15 +02:00
Ludovic Stephan
a22ab92e87
Add comment and notification models
2017-07-15 18:13:45 +02:00
Ludovic Stephan
f1afadda76
Add possibility for endless events
2017-07-15 17:50:58 +02:00
Ludovic Stephan
1d07c5e8fd
Add amount field to EquipmentRemark
2017-07-15 17:50:15 +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