TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A Bootstrap theme for Django Admin

86 点作者 riccardoforina超过 12 年前

11 条评论

andybak超过 12 年前
While there is a place for this, there should also be a caveat. You are essentially forking django-admin - at least all the templates for it. Someone will have to keep that synced with any changes to Django going forward.<p>I stuck to a much lighter 'CSS only' theming of the Django admin which is less likely to need a lot of work to track changes to Django core.
评论 #4793521 未加载
ivanbernat超过 12 年前
Combine this with Crispy Forms on the user side and you get a good looking app in minutes!<p><a href="http://django-crispy-forms.readthedocs.org/en/d-0/" rel="nofollow">http://django-crispy-forms.readthedocs.org/en/d-0/</a>
fasouto超过 12 年前
As a Django user I appreciate this, every contribution to the Django ecosystem helps. Thanks.<p>But I have a question, why do you decide to create this project instead of contribute to others with the same objective? <a href="https://github.com/douglasmiranda/django-admin-bootstrap" rel="nofollow">https://github.com/douglasmiranda/django-admin-bootstrap</a> <a href="https://bitbucket.org/salvator/django-admintools-bootstrap" rel="nofollow">https://bitbucket.org/salvator/django-admintools-bootstrap</a> and <a href="https://github.com/aobo711/bootstrap-django-admin" rel="nofollow">https://github.com/aobo711/bootstrap-django-admin</a>
评论 #4793839 未加载
adambratt超过 12 年前
I've found that the Django admin will usually only get you so far. After a certain point you really have to break out of the built-in change_list's etc to efficiently get what you need.<p>I still use the admin as a wrapper but for a lot of the views I've written my own handling.
评论 #4794712 未加载
ZeroGravitas超过 12 年前
One minor visual thing:<p>The Bootstrap Navlist .well has some inline style to remove the padding, so the blue highlight goes from side to side.<p><pre><code> padding: 8px 0px; </code></pre> It's a bit weird that it's not in the actual Bootstrap code, but that's what they have in their doc example (to be exact, they don't show that in the example code listing, but if you examine the example it has that code).
评论 #4796160 未加载
kmfrk超过 12 年前
This is been a long time coming, and this is probably the best way to go about it - which also lets the Bootstrap people to handle most of the front-end.<p>Installation needs to be a little easier for this to catch on, but I think this will be the unofficial official admin look just like django-registration is the unofficial official account back-end. :)
评论 #4794149 未加载
mixmastamyk超过 12 年前
Not perfect, but looks <i>much</i> better. I'm always embarrassed to show people the default admin... with its cyan and yellow header, yuck. Yes it can be changed, but when writing a new app you've already got more than enough to do.<p>How to get one of these bootstrap themes shipped as the default? Any Django core developers here?
jdgiese超过 12 年前
This looks fabulous; I am currently working on a site that uses Django and Bootstrap (my first site with Django actually), and I haven't veered too far from what comes standard with Django. I hope to try plugging your templates into our site this weekend!
bryanlarsen超过 12 年前
For those using Rails, there's [hobo_bootstrap](<a href="https://github.com/Hobo/hobo_bootstrap" rel="nofollow">https://github.com/Hobo/hobo_bootstrap</a>)
hcarvalhoalves超过 12 年前
As much as people love bootstrap nowadays, I don't feel this improves the admin UI, in fact, it worsens it. Just looking at the screenshots I can find a dozen flaws. Need more polishing to be usable.
zalew超过 12 年前
why use it instead of Grappelli? <a href="http://www.grappelliproject.com/" rel="nofollow">http://www.grappelliproject.com/</a>
评论 #4793319 未加载