mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-21 01:48:21 +02:00
Add some decoration
This commit is contained in:
@ -46,6 +46,8 @@ register_activity_urls(router, 'activity')
|
||||
# Routers for note app
|
||||
register_note_urls(router, 'note')
|
||||
|
||||
app_name = 'api'
|
||||
|
||||
# Wire up our API using automatic URL routing.
|
||||
# Additionally, we include login URLs for the browsable API.
|
||||
urlpatterns = [
|
||||
|
@ -142,7 +142,7 @@ class UserListView(LoginRequiredMixin,SingleTableView):
|
||||
|
||||
class GenerateAuthTokenView(LoginRequiredMixin, TemplateView):
|
||||
"""
|
||||
Génère un jeton d'authentification pour un utilisateur
|
||||
Génère un jeton d'authentification pour un utilisateur et détruit l'ancien
|
||||
"""
|
||||
template_name = "member/generate_auth_token.html"
|
||||
|
||||
|
Reference in New Issue
Block a user