from django.contrib import admin
from .models import HomeDocs

# Register your models here.
class HomeDocsAdmin(admin.ModelAdmin):
    fields = ['name', 'media', 'details', 'doc_type', 'slug']
    prepopulated_fields = {'slug': ('name', )}

admin.site.register(HomeDocs, HomeDocsAdmin)
fcbb4719936558426ac808ee3fb8476b1069b5aa
<mask token>


class HomeDocsAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>


<mask token>

<mask token>


class HomeDocsAdmin(admin.ModelAdmin):
    fields = ['name', 'media', 'details', 'doc_type', 'slug']
    prepopulated_fields = {'slug': ('name',)}


<mask token>

<mask token>


class HomeDocsAdmin(admin.ModelAdmin):
    fields = ['name', 'media', 'details', 'doc_type', 'slug']
    prepopulated_fields = {'slug': ('name',)}


admin.site.register(HomeDocs, HomeDocsAdmin)

from django.contrib import admin
from .models import HomeDocs


class HomeDocsAdmin(admin.ModelAdmin):
    fields = ['name', 'media', 'details', 'doc_type', 'slug']
    prepopulated_fields = {'slug': ('name',)}


admin.site.register(HomeDocs, HomeDocsAdmin)

from django.contrib import admin
from .models import HomeDocs

# Register your models here.
class HomeDocsAdmin(admin.ModelAdmin):
    fields = ['name', 'media', 'details', 'doc_type', 'slug']
    prepopulated_fields = {'slug': ('name', )}

admin.site.register(HomeDocs, HomeDocsAdmin)