This document explains how to structure and write database migrations for
different scenarios you might encounter. For ...
AI君
3年前 (2019-03-28) 141℃
0喜欢
This document will guide you through installing Python 3.5 and Django on
Windows. It also provides instructions for ins...
AI君
3年前 (2019-03-28) 134℃
0喜欢
See also
For an introduction to the use of django.contrib.staticfiles, see
Managing static files (e.g. images, JavaScr...
AI君
3年前 (2019-03-28) 139℃
0喜欢
Websites generally need to serve additional files such as images, JavaScript,
or CSS. In Django, we refer to these file...
AI君
3年前 (2019-03-28) 205℃
0喜欢
In your project, you might want to override a template in another Django
application, whether it be a third-party appli...
AI君
3年前 (2019-03-28) 127℃
0喜欢
This document explains how to output PDF files dynamically using Django views.
This is made possible by the excellent, ...
AI君
3年前 (2019-03-28) 129℃
0喜欢
This document explains how to output CSV (Comma Separated Values) dynamically
using Django views. To do this, you can e...
AI君
3年前 (2019-03-28) 125℃
0喜欢
While Django is best suited for developing new applications, it’s quite
possible to integrate it into legacy data...
AI君
3年前 (2019-03-28) 160℃
0喜欢
It’s sometimes useful to pre-populate your database with hard-coded data when
you’re first setting up an ap...
AI君
3年前 (2019-03-28) 144℃
0喜欢
Jython is an implementation of Python that runs on the Java platform (JVM).
If you want to use Jython (which supports o...
AI君
3年前 (2019-03-28) 130℃
0喜欢
When you’re running a public site you should always turn off the
DEBUG setting. That will make your server run mu...
AI君
3年前 (2019-03-28) 175℃
0喜欢
The Internet is a hostile environment. Before deploying your Django project,
you should take some time to review your s...
AI君
3年前 (2019-03-28) 176℃
0喜欢
While it can be a complex process at times, upgrading to the latest Django
version has several benefits:
New features ...
AI君
3年前 (2019-03-28) 122℃
0喜欢
Django’s chock-full of shortcuts to make Web developer’s lives easier, but all
those tools are of no use if...
AI君
3年前 (2019-03-28) 130℃
0喜欢
Django’s primary deployment platform is WSGI, the Python standard for web
servers and applications.
Django’...
AI君
3年前 (2019-03-28) 130℃
0喜欢
如果你需要提供自定义文件储存功能——一个普通的例子是,把文件储存在远程系统中——自定义一个存储类可以完成这一任务来完成。下面是需要完成的具体步骤:
你自定义的存储系统必须为 Django.core.files.storage.Stor...
AI君
3年前 (2019-03-28) 131℃
0喜欢
Django’s template language comes with a wide variety of built-in
tags and filters designed to address the
present...
AI君
3年前 (2019-03-28) 163℃
0喜欢
Django offers a wide variety of built-in lookups for
filtering (for example, exact and icontains). This documentation
e...
AI君
3年前 (2019-03-28) 125℃
0喜欢
介绍¶
The model reference documentation explains how to use
Django’s standard field classes — CharField,
Da...
AI君
3年前 (2019-03-28) 208℃
0喜欢
Applications can register their own actions with manage.py. For example,
you might want to add a manage.py action for...
AI君
3年前 (2019-03-28) 150℃
0喜欢