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.

DjangoAdmin 2.0 - rewrite of django.contrib.admin

96 pointsby pajjualmost 12 years ago

6 comments

darwiniaalmost 12 years ago
Good to know! BTW, this one worth also trying. <a href="http:&#x2F;&#x2F;djangosuit.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;djangosuit.com&#x2F;</a> (it&#x27;s not my project)
Siecjealmost 12 years ago
My issues with the default admin are:<p>1)You can&#x27;t add text to a page. I want to add information from another model. For example a field of a foreign key model.<p>What I currently do is put that in the __unicode__ function, but it has no context as to what it is. Then in the rest of my site(outside of admin) I use the values directly. print (model.name) instead of print (model)<p>2) You can&#x27;t put display return values of model methods. You have to create property values. But property values are not query sets so you can&#x27;t really use them, but don&#x27;t realize that you need .filter until your site is super slow.<p>3) Inline form validation is magical. You can&#x27;t just add validation to an inline form, you have to do this <a href="http:&#x2F;&#x2F;pastebin.com&#x2F;CGjLX2vf" rel="nofollow">http:&#x2F;&#x2F;pastebin.com&#x2F;CGjLX2vf</a><p>4) You can&#x27;t search in foreign key form fields. I have a M2M foreign key field and when I select I have to hold ctrl and scroll with this tiny scroll bar the size of my mouse cursor and I have hundreds of items in the field.<p>Please let me know if I am just doing it wrong.
评论 #5901275 未加载
评论 #5901315 未加载
googletronalmost 12 years ago
are there screenshots for the new admin?
评论 #5900790 未加载
评论 #5900783 未加载
wireminealmost 12 years ago
In general, my take is: &#x27;bout time.<p>Even if this particular project doesn&#x27;t make it into django.contrib, it is nice to see movement in this area.
评论 #5900504 未加载
hacliffalmost 12 years ago
Great project, the standard django admin regularly feels too &#x27;magical&#x27;, try to do anything custom and you&#x27;re screwed.
评论 #5900467 未加载
评论 #5900585 未加载
评论 #5900473 未加载
vanwilder77almost 12 years ago
Great job!! Looks cool