Skip to content

Commit

Permalink
Update TokenAdmin in admin.py and django version in requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
FeloxleF committed Mar 18, 2024
1 parent 6e2af3e commit 2435e84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions activmindback/core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@
class TokenAdmin(admin.ModelAdmin):
search_fields = ('token',) # Ajoutez les champs que vous souhaitez utiliser pour la recherche

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

2 changes: 1 addition & 1 deletion activmindback/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
django
django=5.0.2
mysqlclient
djangorestframework
django-debug-toolbar
Expand Down

0 comments on commit 2435e84

Please sign in to comment.