first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 22:27:56 +03:00
commit d9f1ea341e
1021 changed files with 70645 additions and 0 deletions

11
contact/admin.py Normal file
View File

@@ -0,0 +1,11 @@
from django.contrib import admin
from .models import Contact
# Register your models here.
class ContactAdmin(admin.ModelAdmin):
list_display = ('name', 'email', 'subject', 'created_at')
list_filter = ('created_at',)
search_fields = ('name', 'email', 'subject', 'message')
readonly_fields = ('created_at', 'updated_at')
admin.site.register(Contact, ContactAdmin)