Autocompletion: more idiomatic permission handling
This commit is contained in:
parent
9a90f19502
commit
f2b1962e1c
2 changed files with 5 additions and 11 deletions
|
@ -108,12 +108,12 @@ if "gestioncof" in settings.INSTALLED_APPS:
|
|||
# Autocompletion
|
||||
path(
|
||||
"autocomplete/registration",
|
||||
gestioncof_views.registration_autocomplete,
|
||||
gestioncof_views.RegistrationAutocompleteView.as_view(),
|
||||
name="cof.registration.autocomplete",
|
||||
),
|
||||
path(
|
||||
"user/autocomplete",
|
||||
gestioncof_views.user_autocomplete,
|
||||
gestioncof_views.UserAutocompleteView.as_view(),
|
||||
name="cof-user-autocomplete",
|
||||
),
|
||||
# Liens utiles du COF et du BdA
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue