from django.contrib import admin

from .models import Sponsor


class SponsorAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('name',)}
    list_display = ('name', 'type')


admin.site.register(Sponsor, SponsorAdmin)


@@ -95,16 +95,92 @@
 Admin):%0A
+    fields = ('name', 'slug', 'type', 'about', 'url', 'image', 'is_active')%0A
     prep

fix sponsor field order in admin