Add some decoration
This commit is contained in:
parent
55977bcbe7
commit
559445c8b4
5 changed files with 24 additions and 3 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue