TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Customize Django Admin Interface

61 pointsby applikualmost 2 years ago

6 comments

samwillisalmost 2 years ago
The Django admin is a superpower, it&#x27;s a x10 productivity multiplayer at the beginning of (or even far to far into) a project.<p>However, I also dislike so much of it. The hacks I have used to contort it to do what I want I would be embarrassed for another developer to see...<p>Former Django fellow Carlton is working on a nice toolkit called &quot;Neapolitan&quot;, it&#x27;s early stage, but is designed to enable building CRUD views very quickly. There is a good chance that in time it, or a layer on top of it, will become the perfect successor to the Admin.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;carltongibson&#x2F;neapolitan">https:&#x2F;&#x2F;github.com&#x2F;carltongibson&#x2F;neapolitan</a>
评论 #36877118 未加载
评论 #36876359 未加载
snidealmost 2 years ago
I&#x27;m sort of fascinated by the resilience of the Django admin. It&#x27;s nearly 20 years old at this point and really hasn&#x27;t changed too much since I first used it in 2007. I&#x27;ve always thought it was a good example of what having a strong designer early in your project life-cycle can do.
评论 #36876345 未加载
评论 #36876314 未加载
santiagobasultoalmost 2 years ago
We use the Django Admin A LOT. It&#x27;s an amazing power. Lately, we&#x27;ve also added a Jupyter server connected to a read-only DB replica, with the Django models available.<p>It&#x27;s impressive how much you can do with these two tools. There&#x27;s no need for an internal management dashboard or a BI tool. Just the admin and a bunch of notebooks.<p>(Obligatory note: we are a bootstrapped startup)
评论 #36878160 未加载
评论 #36889512 未加载
delbronskialmost 2 years ago
I’ve found htmx to be the ultimate Django customising machine. Just make an htmx view and stick it anywhere in your admin. You can do this either by overriding a specific model admin’s template for more complex logic (for example the change template), or by sticking the htmx view in an admin read only field (super simple and works very well).<p>This approach allows you to have some very complex views in the Django admin without ever touching the internal of the Django admin itself. I used to waste hours trying to get the admin to do what I wanted until I figured out this neat little trick.
r_singhalmost 2 years ago
Just want to chime in and say I&#x27;ve been using AppLiku to host a Django service since over a year and it&#x27;s a great alternative to Heroku if one is bogged down by the limitations. Kudos to the maker!
评论 #36878129 未加载
indymikealmost 2 years ago
django admin &gt; database console.<p>Even though the admin is far from perfect it is a fantastic alternative to having operations people have to contend wit a database control panel.
评论 #36878238 未加载