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

Django admin documentation #140

Closed
fcovatti opened this issue Oct 25, 2021 · 2 comments
Closed

Django admin documentation #140

fcovatti opened this issue Oct 25, 2021 · 2 comments

Comments

@fcovatti
Copy link

Description

The question may seem a little bit dumb, but are there some example usages of htmx to expand the django admin interface?

I did search a little bit and did not find any good examples. My company has been using django admin internally for data management and django REST interface with a frontend framework for displaying data for the customers.

I believe that a good way of expanding the django to use htmx and being a potential candidate to replace a frontend framework would start by improving the django admin with htmx functionalities. In this way I could gain confidence and knowledge on django-htmx and htmx, proving the worth of it.

@adamchainz
Copy link
Owner

It is possible to extend the Django admin and I've seen it done. But it doesn't really require anything special. You only need to combine the knowledge "extending the Django admin" with "using htmx", both of which are individually well documented.

This seems like a topic for a blog post, but I don't think there really needs to be anything in the django-htmx documentation.

Did you try reading the example app here?

@fcovatti
Copy link
Author

Thanks for the feedback. Yes, makes sense to not have it in the django-htmx documentation. I will definitely try the example in here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants