boneless icon indicating copy to clipboard operation
boneless copied to clipboard

Register admin site like Django

Open renanbastos93 opened this issue 1 year ago • 0 comments

Enabling Model Registration within an Admin Site, similar to Django, is an appealing idea. We aim to incorporate this feature into Boneless.

Do any of you have an opinion on this?

Reference link: https://docs.djangoproject.com/pt-br/4.2/ref/contrib/admin/

Maybe use that

import "github.com/renanbastos93/boneless/pkg/admin"
import model "your-model"

type ModelAdmin struct {
    model.AdminData
}

admin.Register(ModelAdmin)

We may need to create, generate, and utilize templates for this purpose.

renanbastos93 avatar Aug 16 '23 00:08 renanbastos93