Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register admin site like Django #17

Open
renanbastos93 opened this issue Aug 16, 2023 · 0 comments
Open

Register admin site like Django #17

renanbastos93 opened this issue Aug 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@renanbastos93
Copy link
Owner

renanbastos93 commented Aug 16, 2023

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 renanbastos93 added the enhancement New feature or request label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant