学习Django 1.5的最佳方法是什么?

时间:2021-10-30 19:21:04

What is the best way to learn Django 1.5 thouroughly? I have been a .NET developer and have a really good understanding of OOP, HTML5, CSS and JavaScript. I also have an entry-level knowledge of Python. I am completely new to MVC (or MVT, in this case).

学习Django 1.5的最佳方法是什么?我是一名.NET开发人员,对OOP,HTML5,CSS和JavaScript有很好的理解。我也有Python的入门级知识。我对MVC(或MVT,在这种情况下)是全新的。

I have a need to build apps with Django that provide users with features such as finding each other based on geographical distance, upload pictures and edit them online, natural language search, etc... (just to highlight that I need to know more than how to build a poll app or a simple blog).

我需要使用Django构建应用程序,为用户提供诸如根据地理距离找到对方,上传图片和在线编辑,自然语言搜索等功能...(只是为了强调我需要了解更多)如何构建民意调查应用程序或简单的博客)。

My understanding is that the entry point to learn Django is by completing the tutorial at the Django project site. Then, what? What path would you recommend? I have seen that lots of learning resources on the web target versions lower than 1.5 and I couldn't really find books on 1.5. When reading reviews on learning material on 1.4, I often see they are outdated and not really applying to 1.5.

我的理解是学习Django的切入点是在Django项目站点完成教程。那么,什么?你会推荐什么样的路径?我已经看到网络上的大量学习资源目标版本低于1.5,我无法在1.5上找到书籍。在阅读关于1.4的学习材料的评论时,我经常看到它们已经过时,并没有真正适用于1.5。

Also, I briefly looked at what it takes to deploy a Django app. Virtualenv, git, pip, etc... are all things unknown to me and it looks a bit scary for a guy used to deploy apps by uploading the compiled binaries through FTP.

此外,我简要介绍了部署Django应用程序所需的内容。 Virtualenv,git,pip等等都是我不知道的事情,对于一个通过FTP上传已编译的二进制文件来部署应用程序的人看起来有点吓人。

Help in defining a clear path to learn how to bend Django to my will would be invaluable!

帮助定义一条清晰的路径来学习如何将Django弯曲到我的意愿将是非常宝贵的!

2 个解决方案

#1


6  

  1. The official Django tutorial (as you are aware)
  2. Django官方教程(如您所知)
  3. 2 Scoops of Django e-book or paperback (https://django.2scoops.org/). There are lots of useful information in it, even about virtualenv, custom settings etc.
  4. Django电子书或平装本的2个独家新闻(https://django.2scoops.org/)。其中有很多有用的信息,甚至关于virtualenv,自定义设置等。

If you don't want to spend the few bucks for the excellent book, have a look at this github repository: https://github.com/jacobian/djangobook.com which is an ongoing project.

如果你不想花几块钱买这本优秀的书,请看看这个github存储库:https://github.com/jacobian/djangobook.com这是一个正在进行的项目。

#2


1  

I'm a newbie to python and Django.
Here is the path that I am following in this order :

我是python和Django的新手。以下是我按此顺序关注的路径:

  1. www.learnpythonthehardway.org (free html online)
  2. www.learnpythonthehardway.org(免费html在线)
  3. do the djangoproject poll tutorial
  4. 做djangoproject民意调查教程
  5. gettingstartedwithdjango.com (GSWD)
  6. gettingstartedwithdjango.com(GSWD)

It is important to follow these tutorials in this order because this will setup your environment for GSWD and it will go over virtualenv.

按照这个顺序执行这些教程非常重要,因为这将为GSWD设置环境,并且它将覆盖virtualenv。

Also as mentioned, the 2Scoops book is a best practices book.

同样如上所述,2Scoops书是一本最佳实践书。

#1


6  

  1. The official Django tutorial (as you are aware)
  2. Django官方教程(如您所知)
  3. 2 Scoops of Django e-book or paperback (https://django.2scoops.org/). There are lots of useful information in it, even about virtualenv, custom settings etc.
  4. Django电子书或平装本的2个独家新闻(https://django.2scoops.org/)。其中有很多有用的信息,甚至关于virtualenv,自定义设置等。

If you don't want to spend the few bucks for the excellent book, have a look at this github repository: https://github.com/jacobian/djangobook.com which is an ongoing project.

如果你不想花几块钱买这本优秀的书,请看看这个github存储库:https://github.com/jacobian/djangobook.com这是一个正在进行的项目。

#2


1  

I'm a newbie to python and Django.
Here is the path that I am following in this order :

我是python和Django的新手。以下是我按此顺序关注的路径:

  1. www.learnpythonthehardway.org (free html online)
  2. www.learnpythonthehardway.org(免费html在线)
  3. do the djangoproject poll tutorial
  4. 做djangoproject民意调查教程
  5. gettingstartedwithdjango.com (GSWD)
  6. gettingstartedwithdjango.com(GSWD)

It is important to follow these tutorials in this order because this will setup your environment for GSWD and it will go over virtualenv.

按照这个顺序执行这些教程非常重要,因为这将为GSWD设置环境,并且它将覆盖virtualenv。

Also as mentioned, the 2Scoops book is a best practices book.

同样如上所述,2Scoops书是一本最佳实践书。