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.

Learn web development: Django Web Framework

290 pointsby faraboveover 8 years ago

11 comments

nikisweetingover 8 years ago
If you&#x27;re curious about how to set up a modern JS frontend on top of Django, I wrote up a tutorial recently. It might be helpful if you&#x27;re debating between trying a Single Page App approach or some other design: <a href="https:&#x2F;&#x2F;medium.com&#x2F;@theSquashSH&#x2F;reconciling-djangos-mvc-templates-with-react-components-3aa986cf510a" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@theSquashSH&#x2F;reconciling-djangos-mvc-temp...</a>
评论 #13614432 未加载
评论 #13612865 未加载
评论 #13614159 未加载
评论 #13613662 未加载
评论 #13615520 未加载
评论 #13617062 未加载
评论 #13614522 未加载
molly0over 8 years ago
Great to see Mozilla supporting Django. But isn&#x27;t the official Django tutorial cover all of this, Why not just link to it?
评论 #13612398 未加载
评论 #13629328 未加载
评论 #13612273 未加载
gt565kover 8 years ago
I had used Django back in version 1.3 and was just thinking today of how I need to brush up, as it has been a few years.<p>The timing of this article couldn&#x27;t have been better. Now I&#x27;ve got my weekend cut out :)
评论 #13613263 未加载
nicolaslemover 8 years ago
Django is such an important building block of the web, it completely deserves this tutorial on MDN.<p>As someone who came to Django quite late, I cannot stress enough how coding in Django is refreshing. Yes it&#x27;s not about microservices nor it bring all the trendy technologies that we all hear about.<p>And that&#x27;s just fine, you get things done with it and at the end of the day this is what matters.
cponeillover 8 years ago
This is pretty fantastic. I was just thinking about diving into learning Django for an idea I want to build so this link is timely.
评论 #13629311 未加载
desdivover 8 years ago
Dumb question, why does the guide suggest that you create an empty folder and then initialize the project from there? (django_test&#x2F;mytestsite, locallibrary&#x2F;locallibrary)<p>As far as I can tell, no file, hidden or otherwise, is left in the outer folder.
评论 #13615114 未加载
StavrosKover 8 years ago
This looks fantastic! May I suggest some syntax highlighting so the code boxes don&#x27;t look so drab, though?
voyceyover 8 years ago
It has been years since I have used Django - do they still expect everything in the model to go in a single file or can you put each model in it&#x27;s own file now?
评论 #13613887 未加载
icn2over 8 years ago
Is Django restful in current version? Or I still need these if request.GET and if request.POST ?
评论 #13612971 未加载
TheOneTrueKyleover 8 years ago
Oh man, this is far superior to the official Django tutorial I think. MDN really does a good job at holding your hand through the process.<p>There are moments when going through docs where way too many assumptions are made about what I know. This is where prerequisites and objectives really help out. I know what I am getting into before grokking.
评论 #13612684 未加载
idiotclockover 8 years ago
Huh. Makes me miss php
评论 #13627955 未加载