Martin Pépin
ac06211841
Make bds tests resilient to LOGIN_URL changes
2020-07-20 11:12:01 +02:00
Martin Pépin
5c1e2e9cda
Basic tests for BDS registration views
2020-07-20 11:12:01 +02:00
Martin Pépin
c1e48579f1
BDS: UserUpdateView
2020-07-20 11:11:53 +02:00
Martin Pépin
e7517195cd
Generic autocompletion view
2020-07-18 16:07:12 +02:00
Martin Pépin
9a90f19502
Separate the autocompletion logic form the views
2020-07-05 11:15:50 +02:00
Martin Pépin
c7ca96bce5
Autocompletion: new de-duplication mechanism
2020-07-04 13:06:24 +02:00
Martin Pépin
701ea96a90
BDS autocompletion: add missing span in html
2020-06-29 20:49:02 +02:00
Martin Pépin
56f1edebe3
BDS: fancier home page
2020-06-29 20:47:36 +02:00
Martin Pépin
c52bac05b3
Restrict bds views to the staff
2020-06-29 20:47:36 +02:00
Martin Pépin
5d24786e20
BDS: user search on the home page
2020-06-29 20:47:35 +02:00
Martin Pépin
bca75dbf98
Add user-search in the BDS app
2020-06-29 20:47:35 +02:00
Martin Pépin
6a32a72c15
One url file to rule them all,
...
one url file to find them
One url file to bring them all,
and in the darkness bind them.
2020-06-29 20:45:52 +02:00
Martin Pépin
858759865e
BDSProfile: s/membre/adhérent⋅e/
2019-12-26 23:19:41 +01:00
Martin Pépin
8bae013152
BDSProfile: add is_member & cotisation_type fields
2019-12-26 13:11:37 +01:00
Martin Pépin
4d5419fdbc
Use permissions to authenticate bds buro members
...
I prefer using a permission (namely `bds.is_team`) to determine if a
user is member of the BDS staff rather that using a `is_buro` boolean
field.
We already use this approach is the kfet app
2019-12-26 13:09:38 +01:00
Martin Pépin
98fe68d0be
Translation fixes in bds.models
...
- the 'u' in ugettext_lazy in a legacy of python2, we can drop it now
- translate all verbose names
- start field verbose names with a lowercase letter
2019-10-15 21:54:52 +02:00
Martin Pépin
e2a7e1f6de
BDSProfile: enable the default admin
2019-10-15 21:53:04 +02:00
Ludovic Stephan
53ea6f24ee
Isort setup
2019-10-15 21:52:19 +02:00
Ludovic Stephan
b3e7b59903
Migrations
...
Une migration pour les modèles, et une pour créer le groupe du Burô du
BDS
2019-10-15 21:51:40 +02:00
Ludovic Stephan
bc7c30e2ee
Init app + models
...
Le modèle de profil BDS est le seul utile pour l'instant ; c'est un mix
entre `CofProfile` et les modèles de Sport@Ulm.
2019-10-15 21:51:40 +02:00