boneless
boneless copied to clipboard
Register admin site like Django
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.