django

  • 网络姜戈;迪亚戈;西部片迪亚哥

djangodjango

django

姜戈

瓦尔茨:在奥地利,姜戈Django)这个名字是家喻户晓的,几乎每一部通心粉西部片,无论有名没命,都有一个“姜戈”在里面 …

迪亚戈

...1966年由塞吉奥·考布西执导的经典意大利西部片《迪亚戈》(Django)的致敬之作,将是一部集合大量幽默元素、动作场面 …

西部片迪亚哥

首先它是向义大利经典西部片迪亚哥(Django)致敬的作品,风格上是典型的通心粉型西部片(Spaghetti Western),即1960年代…

赞高

...go Unchained》,以至占美霍士饰演的主角赞高Django),其名字原来都玩味十足别有故事,话说已故意大利cult片大师Se…

米爸

强哥

主角强哥(Django) [右]吸血鬼猎人, 继承太阳族的血统, 拥有太阳的力量.因为老爸被吸血鬼伯爵打败而踏上旅程. 身上的围巾是他 …

强戈

...与杰米福克斯(Jamie Foxx)所饰演的主角“强戈”(Django)。

1
Django comes with its own object-relational mapper (ORM) library that supports dynamic database access through a Python object interface. Django提供了自己的对象关系型数据映射组件(object-relationalmapper,ORM)库,它可以通过Python对象接口支持动态数据库访问。
2
The Template layer of a Django application allows you to separate the UI or presentation layout of a Web application from its data. Django应用程序的模板层允许您将Web应用程序的UI或显示布局与它的数据分开。
3
Django: Food is fuel. You get picky about what you put in the tank; your engine is going to die. Now shut up and eat your garbage. 迪亚哥:食物是燃料,如果你对放在你肚子里的东西如此吹毛求疵的话,你的能量很快就会用光的。所以,现在闭嘴吃你的垃圾吧。
4
Luckily, most shared Web-hosting providers include Python support, so it is possible to deploy Django applications in this scenario. 好消息是,大部分Web宿主服务器都支持Python,因此在这个场景中可以部署Django应用程序。
5
Then create a small Python script that informs Apache of the various settings for your Django project and executes the FastCGI program. 然后创建一小段Python脚本,告诉Apache您的Django项目的不同设置,并执行FastCGI程序。
6
Raul and his wife had two children of their own by this time, and Django resembled them, too. 现在劳尔和妻子已经有了两个孩子,Django跟他们很像。
7
The RequestContext is a Django context with a few differences from the regular django. template. Context. RequestContext是一个Django上下文,与常规的django.template.Context有些许差异。
8
This will allow you to only use your Web server for Django requests and keep your media on a separate server. 这样您的Web服务器就专门用于Django请求,而媒体文件则放在另一个服务器上。
9
One of the most interesting and talked-about features of Django is its automatic administrative interface. 最有趣、最经常被提起的Django特性之一就是它的自动管理界面。
10
It's important to note that Django's template system does not allow Python code to be executed directly from the template. 注意,Django的模板系统不允许直接从模板执行Python代码。
11
Before we move onto the anatomy of a Django application, we will test that our development environment is up and running correctly. 在剖析Django应用程序之前,我们先测试开发环境是否正确。
12
Next, I'm going to a Django 100 concert, commemorating the centennial of the legendary gypsy jazz guitarist. 我的下一步计划,是前往迪亚哥百年纪念音乐会,参加为这一传奇的吉普赛爵士吉他演奏家举办的专场。
13
One of the biggest selling points of Django is its well-polished admin interface. Django的最大卖点之一是其一流的管理界面。
14
The TurboGears system is quicker to set up than Django, since it requires only an expose decorator to make new pages available. TurboGears系统的设置比Django更加快捷,因为它只需要一个expose操作让新页面变成可用即可。
15
Then we'll take a brief look at deploying to a shared Web-hosting environment, where access to httpd. conf is forbidden. 然后粗略了解一下如何将Django应用程序部署到共享的Web宿主环境,在这里不能访问httpd.conf。
16
The Django URL dispatch system uses regular-expression configuration modules that map URL string patterns to Python methods called views. DjangoURL分发系统使用了正则表达式配置模块,它可以将URL字符串模式映射为Python方法views。
17
But rather than make it Django-specific, we chose to first roll out cmislib as a lower-level Python API. 我们选择首先使用cmislib作为一个低级PythonAPI,而不是使集成特定于Django。
18
For that, you need to deploy Django to a production-grade Web server, such as Apache or lighttpd. 因此,您需要将Django应用程序部署到生产级Web服务器,比如Apache或lighttpd。
19
We have given a high-level overview of how a Django application is created and of how the MTV pattern it is based on works. 我们已经概述过如何创建Django应用程序,以及它所基于的MTV模式是如何工作的。
20
Django: Food is fuel. You get picky about what you put in the tank, your engine is gonna die. Now shut up. 迪亚哥:食物是燃料,如果你对放在你肚子里的东西如此吹毛求疵的话,你的能量很快就会用光的。所以现在闭嘴吃你的。
21
Python is for instance very popular among web developers, especially in combination with the Django framework. Python目前在web开发者中非常流行,特别用是在与Django框架的组合中。
22
The model layer of a Django application is handled by Django's data-access layer. Django应用程序的模型层由Django的数据访问层处理。
23
Dino explains the first step in getting Django running was getting a database provider that would run on . NET and work with Django. Dino解释了让Django运行起来的第一步工作,就是让数据库提供器(databaseprovider)能够运行在.NET和Django上。
24
Models in Django can be seen as descriptions of the database table schemas, represented in Python code. Django中的模型可以看作是对用Python代码表示的数据库表架构的描述。
25
Listing 7 shows how this template would be used in a Django application. 清单7显示了如何在Django应用程序中使用这个模板。
26
The Django team has not chosen a JavaScript library to include with their framework by default, but has discussed the possibility. Django团队没有选择使用一个JavaScript库来默认地包含自己的框架,但是他们已经对这种可能性展开了讨论。
27
Note that the App Engine data store is not a relational database, which is required by some Django components. 请注重,发动机数据存储的应用步骤不是一个关系数据库,这是需求一些Django组件。
28
Django URLs can be easily remapped onto an application after a major refactoring. 在发生重大变化之后,DjangoURL可以简单地重新映射到应用程序上。
29
"Link rot" severely hurts the traffic levels and usability of content-based Web sites that Django was designed to create. “链接失效”会对Django设计用来创建的基于内容的Web站点的通信级和可用性造成很大的影响。
30
If the status object isn't empty, Django loops through each status object and displays the corresponding text. 如果status对象不为空,Django就会循环遍历每个status对象并显示相应的文本。