Skip to content

Commit

Permalink
Remove unused TokenAdmin class from admin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FeloxleF committed Mar 18, 2024
1 parent 6cd1f13 commit 094fa33
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions activmindback/core/admin.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
from django.contrib import admin
from rest_framework.authtoken.models import Token

class TokenAdmin(admin.ModelAdmin):
search_fields = ('email') # Ajoutez les champs que vous souhaitez utiliser pour la recherche

# Enregistrez le modèle Token avec TokenAdmin
admin.site.register(Token, TokenAdmin)

0 comments on commit 094fa33

Please sign in to comment.