First commit

This commit is contained in:
Johan
2025-12-18 14:35:15 +01:00
commit 460c962bb6
26 changed files with 796 additions and 0 deletions

10
profiles/admin.py Normal file
View File

@@ -0,0 +1,10 @@
from django.contrib import admin
from .models import Profile
@admin.register(Profile)
class ProfileAdmin(admin.ModelAdmin):
"""
Configuration de l'interface admin pour les profils.
"""
list_display = ('user', 'secret_note')
search_fields = ('user__username',)