Verify that Django is on your path by trying the command $ django-admin --version.
通过尝试使用命令 $django-admin --version 来验证 Django 是否处于您的路径内。
As we have seen, the Django framework conveniently includes a development server, which is ideal for debugging and testing your Django application.
我们在前面已经看到,Django框架还包含了一个开发服务器,用它调试和测试django应用程序非常方便。
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运行起来的第一步工作,就是让数据库提供器(database provider)能够运行在。NET和Django上。
These are set to True by default when you create your django application using django-admin.py startproject.
在您使用django - admin . py startproject创建django应用程序时,它们的默认设置为True。
And the license specifies that neither the Django name nor the names of Django contributors can be used to endorse or promote derivative products without express written permission.
该许可规定,在未获得书面许可的情况下,不得使用Django这个名称或Django贡献者的名称冠名或促销衍生产品。
Once you have done this, Django will have been installed into your Python installation's site-packages folder, and you are ready to start developing in Django.
完成以上操作之后,Django将被安装到您的Python安装的site - packages文件夹中,您可以开始在Django中进行开发了。
This article USES the development version of Django, to take advantage of the recent improvements to the Django framework.
本文使用了Django的开发版本,以便能够利用Django框架的最新改进。
Before discussing how to set up your production environment for your Django application, there are a few things you need to do in your Django application's Settings.
在讨论如何为Django应用程序设置生产环境之前,我们先要对Django应用程序进行一些设置。
Django is written entirely in Python, so to install Django, you first need to install Python.
Django完全是用Python编写的,因此在安装Django之前必须先安装Python。
According to the Django documentation, a setup of the Apache Web server running mod_python is the recommended option for deploying Django applications.
根据Django文档,建议对运行mod_python的ApacheWeb服务器进行设置,然后再部署Django应用程序。
Because of this, the Django team refers to Django as an MVT (model-view-template) framework.
由于这个原因,Django小组将Django称为一个MVT (model - view - template)框架。
To begin a Django project, use the django-admin startproject command, like so
要启动Django 项,请使用 django-admin startproject 命令,如下所示
The Django project is a custom-built framework that originated with an online newspaper Website and was released as open source in July 2005. The core components of the Django framework are
Django项目是一个定制框架,它源自一个在线新闻Web 站点,于 2005 年以开源的形式被释放出来。
The first step in installing the official Django release is to get the tarball from the Django download page.
安装官方Django发布版的第一步是从Django下载页面获取tarball。
The first step in installing the official Django release is to get the tarball from the Django download page.
安装官方Django发布版的第一步是从Django下载页面获取tarball。
应用推荐