django application
django应用程序 django applications
django应用程序
这些模型将数据从Django应用程序 映射到数据库。 These models map the data from your Django application to the database. Deploying Django applications to a production server. See as you build your first Django applications . 清单7显示了如何在Django应用程序 中使用这个模板。 Listing 7 shows how this template would be used in a Django application . Django应用程序 的模型层由Django的数据访问层处理。The model layer of a Django application is handled by Django's data-access layer. Combinations with other parts of speech
Usage with adjectives
More
我们现在看看如何将Django应用程序 部署到运行Apache和mod_python的服务器。 You will then find out how to deploy your Django application to the Web on a server running Apache and mod_python. 开发Django应用程序 很简单,因为该框架包含了一个开发Web服务器。 Getting started with developing Django applications is simple, as a development Web server is included with the framework. 我们查看了Django应用程序 的组成,并了解它基于的Model-Template-View(MTV)模式。 We looked at what a Django application is made up of and learned about the Model-Template-View(MTV) pattern it is based on. 可以将视图储存在Django应用程序 中的任意位置,但它们通常储存在名为views.py的文件中。 Views can be stored anywhere in a Django application , but are usually stored in a file named views. py. 在这篇文章中,我们将了解如何优化django应用程序 的性能。 In this article we are going to learn how to optimize the queries in Django applications . 但是这个框架不适合在生产环境中使用,因此需要进一步将Django应用程序 部署到Web。 However, this server is not suitable for use in a production environment, so further steps are required to deploy your Django application to the Web. 好消息是,大部分Web宿主服务器都支持Python,因此在这个场景中可以部署Django应用程序 。 Luckily, most shared Web-hosting providers include Python support, so it is possible to deploy Django applications in this scenario. 这告诉Apache应用程序已经更新,然后它会重启Django应用程序 。 This tells Apache that the application has been updated, and it will continue to restart your Django application . 在本指南中,我们将演示如何在Ubuntu16.04上安装和配置一些组件以支持和服务Django应用程序 。 In this guide, we will demonstrate how to install and configure some components on Ubuntu 16.04 to support and serve Django applications . 我们在前面已经看到,Django框架还包含了一个开发服务器,用它调试和测试Django应用程序 非常方便。 As we have seen, the Django framework conveniently includes a development server, which is ideal for debugging and testing your Django application . 接着您将了解如何在运行Apache和mod_python的服务器上将Django应用程序 部署到Web。 You will then find out how to deploy your Django application to the Web on a server running Apache and mod_python. 不幸的是,这个扩展对Django应用程序 的性能有负面影响。 Unfortunately, this extension can have a negative effect on the performance of a Django application . 请注意,如果没有一个project,你就无法运行Django应用程序 。 It's important to note that you can't run a Django app without a project. 了解Django是什么,它提供了哪些功能,以及Django应用程序 的主要构建块。 To gain familiarity with what Django is, what functionality it provides, and the main building blocks of a Django application . 高效的缓存能够极大地提升Django应用程序 的性能。 Effective caching can drastically enhance the performance of your Django applications . 接下来,检查一下Django应用程序 ,然后将其部署到生产服务器。 Next, take a look at taking Django applications and deploying them to production servers. 完成之后,将浏览器指向WEB并登录以管理Django应用程序 的后端。 Once you have done so, simply point your browser to WEB and log in to manage the back end of your Django application . 我们已经概述过如何创建Django应用程序 ,以及它所基于的MTV模式是如何工作的。 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应用程序 的模板层允许您将Web应用程序的UI或显示布局与它的数据分开。The Template layer of a Django application allows you to separate the UI or presentation layout of a Web application from its data. 探索Django应用程序 是如何开发的,以及为您的应用程序创建的自动管理界面。 Discover how a Django application is made and about the automatic administration interface created for your application. 当将Django应用程序 部署到真实的生产环境中时,您几乎总是希望使用anofficialpackagedreleaseofDjango。 When deploying a Django application into a real production environment, you will almost always want to use an official packaged release of Django. . 最后,了解如何根据应用程序 需求的增长而扩展Django应用程序 。 Finally, learn how Django applications can and should be scaled as your application 's requirements grow. Deploying Django applications to a production server. Deploying Django applications to a shared Web-hosting environment. 将Django 应用程序部署到运行mod_python的Apache. Deploying Django applications to Apache with mod_python.
Display more examples
Results: 79205 ,
Time: 0.02