8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00
re2o/users
histausse b317eceec3 Split the membership duration from the connection duration
changes:

Article:
remove COTISATION_TYPE, duration(_days), type_cotisation
add duration(_days)_connection, duration(_days)_membership

Vente:
remove COTISATION_TYPE, duration(_days), type_cotisation
add duration(_days)_connection, duration(_days)_membership
add method `test_membership_or_connection()` to replace
`bool(type_cotisation)`

Cotisation:
remove COTISATION_TYPE, date_start, date_end, type_cotisation
add date_start_con, date_end_con, date_start_memb, date_end_memb

create_cotis(date_start=False) -> create_cotis(date_start_con=False, date_start_memb=False)

+ migration
+ changes to use the new models in the remaining of the code
2021-01-24 16:36:16 +01:00
..
api Add thumbnail to user model 2021-01-24 16:36:16 +01:00
locale/fr/LC_MESSAGES Add thumbnail to user model 2021-01-24 16:36:16 +01:00
management/commands Reset clean_notyetactive command to its correct state 2021-01-24 16:33:31 +01:00
migrations Add migration file 2021-01-24 16:36:16 +01:00
templates/users Add thumbnail to user model 2021-01-24 16:36:16 +01:00
__init__.py Hello Lara :D 2019-10-01 13:37:56 +02:00
acl.py Fix can_view_app 2021-01-24 16:36:16 +01:00
admin.py Final translation of users app 2021-01-24 16:36:16 +01:00
forms.py Supprime l'avatar à la création (inutile/buggé) 2021-01-24 16:36:16 +01:00
models.py Split the membership duration from the connection duration 2021-01-24 16:36:16 +01:00
test_models.py I like my black. 2019-11-04 22:47:24 +01:00
tests.py I like my black. 2019-11-04 22:47:24 +01:00
urls.py Final translation of users app 2021-01-24 16:36:16 +01:00
views.py Translation of user app views + remove trailing spaces 2021-01-24 16:36:16 +01:00
widgets.py I like my black. 2019-11-04 22:47:24 +01:00