admin.py 219 B

12345678910
  1. from django.contrib import admin
  2. from .models import Profile
  3. # Register your models here.
  4. class ProfileAdmin(admin.ModelAdmin):
  5. list_display = ["user", "contribution"]
  6. admin.site.register(Profile, ProfileAdmin)