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.

Ask HN: What is the best base template of html for django?

2 pointsby mascot6699about 10 years ago
Any open source project which has best base template for django.<p>example:- https:&#x2F;&#x2F;github.com&#x2F;learningequality&#x2F;ka-lite&#x2F;blob&#x2F;master&#x2F;kalite&#x2F;distributed&#x2F;templates&#x2F;distributed&#x2F;base.html

3 comments

phantom_oracleabout 10 years ago
There&#x27;s no such thing as the &quot;best&quot;.<p>It will depend on your needs. The &quot;best&quot; template would be the one that users enjoy using the most and&#x2F;or the one that makes you the most money.<p>Also, this question isn&#x27;t quite appropriate for HN or even a site like StackOverFlow.<p>Why not design 3 or 5 bases and let us pick 1 for you.<p>If by best, you are referring to the 1 that can kickstart your work quickest, then the 1 that is easiest for you to understand whilst giving you the most to work with will be the &quot;best&quot;.
评论 #9272691 未加载
评论 #9272658 未加载
metaculusabout 10 years ago
I don&#x27;t see why there should be a specific HTML template for just Django, since the HTML representations are pretty separated from the controller and model, any template should do.<p>HTML5boilerplate is a great one to start, just because it deals with a lot of cross-browser compatibility issues.
评论 #9272705 未加载
bmeltonabout 10 years ago
Mine looks something like<p><pre><code> &lt;!doctype html&gt; &lt;html lang=en&quot; ng-app=&quot;App&gt; &lt;head&gt;[...]&lt;&#x2F;head&gt; &lt;body&gt;&lt;div ui-view id=&quot;content&quot;&gt;&lt;&#x2F;div&gt;&lt;&#x2F;body&gt; &lt;script src=&quot;&#x2F;path&#x2F;to&#x2F;production.js&quot;&gt;&lt;&#x2F;script&gt; &lt;&#x2F;html&gt; </code></pre> And, aside from the stuff I snipped out of the head, that&#x27;s about it. Angular populates all the rest.
评论 #9272744 未加载