Django 官方教程翻译项目如果对上述草稿有话想说,请参与讨论。 5. 可以开始翻译咯。 6. PR。 README - 5 - 本文档使用 书栈(BookStack.CN) 构建 初识 Django 初识 Django 设计模型 创建模型 享用便捷的 API 动态生成的管理页面:并非徒有其表 规划 URL 编写视图 设计模板 这只是冰山一角 Django 最初被设计用于具有快速开发需求的新闻类站点,目的是要实现简单快捷的网站开发。以下 实例教程(zh)开始入手,或者直接开始阅读详细的参考文档。 Django 无需数据库就可以使用,它提供了对象关系映射器(ORM)。通过此技术,你可以使用 Python 代码来描述数据库结构。 数据模型语法提供了很多方法来描述你的数据,这解决了多年来在数据库模式中的难题。以下是一个 简明的例子: 1. # mysite/news/models.py 2. 3. from django.db pub_date = models.DateField() 13. headline = models.CharField(max_length=200) 初识 Django 设计模型 初识 Django - 6 - 本文档使用 书栈(BookStack.CN) 构建 14. content = models.TextField() 15. reporter0 码力 | 103 页 | 1.86 MB | 1 年前3
Django 1.8.x DocumentationConfiguring static files Serving static files during development. Serving files uploaded by a user during development. Testing Deployment Learn more Deploying static files Serving static files in production tzinfo Validators Writing validators How validators are run Built-in validators Built-in Views Serving files in development Error views Meta-documentation and miscellany API stability What “stable” the session topic guide section on security for details. User-uploaded content Note Consider serving static files from a cloud service or CDN to avoid some of these issues. If your site accepts file0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 1.8.x Documentationsession topic guide section on security for details. 3.20.8 User-uploaded content Note: Consider serving static files from a cloud service or CDN to avoid some of these issues. • If your site accepts file (DOS) attacks. In Apache, this can be easily set using the LimitRequestBody directive. • If you are serving your own static files, be sure that handlers like Apache’s mod_php, which would execute static files Documentation, Release 1.8.20.dev20180306181007 1. One class of attacks can be prevented by always serving user uploaded content from a distinct top-level or second-level domain. This prevents any exploit0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.11.x DocumentationConfiguring static files Serving static files during development Serving files uploaded by a user during development Testing Deployment Learn more Deploying static files Serving static files in production translation Validators Writing validators How validators are run Built-in validators Built-in Views Serving files in development Error views Meta-documentation and miscellany API stability What “stable” the session topic guide section on security for details. User-uploaded content Note Consider serving static files from a cloud service or CDN to avoid some of these issues. If your site accepts file0 码力 | 2747 页 | 2.67 MB | 1 年前3
Django 2.2.x DocumentationConfiguring static files Serving static files during development Serving files uploaded by a user during development Testing Deployment Learn more Deploying static files Serving static files in production translation Validators Writing validators How validators are run Built-in validators Built-in Views Serving files in development Error views Meta-documentation and miscellany API stability What “stable” the session topic guide section on security for details. User-uploaded content Note Consider serving static files from a cloud service or CDN to avoid some of these issues. If your site accepts file0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 4.2.x DocumentationConfiguring static files Serving static files during development Serving files uploaded by a user during development Testing Deployment Learn more How to deploy static files Serving static files in production translation Validators Writing validators How validators are run Built-in validators Built-in Views Serving files in development Error views Meta-documentation and miscellany API stability What “stable” the session topic guide section on security for details. User-uploaded content Note Consider serving static files from a cloud service or CDN to avoid some of these issues. If your site accepts file0 码力 | 3305 页 | 3.16 MB | 1 年前3
Django 1.10.x DocumentationConfiguring static files Serving static files during development Serving files uploaded by a user during development Testing Deployment Learn more Deploying static files Serving static files in production translation Validators Writing validators How validators are run Built-in validators Built-in Views Serving files in development Error views Meta-documentation and miscellany API stability What “stable” the session topic guide section on security for details. User-uploaded content Note Consider serving static files from a cloud service or CDN to avoid some of these issues. If your site accepts file0 码力 | 2538 页 | 2.59 MB | 1 年前3
Django 2.1.x DocumentationConfiguring static files Serving static files during development Serving files uploaded by a user during development Testing Deployment Learn more Deploying static files Serving static files in production translation Validators Writing validators How validators are run Built-in validators Built-in Views Serving files in development Error views Meta-documentation and miscellany API stability What “stable” the session topic guide section on security for details. User-uploaded content Note Consider serving static files from a cloud service or CDN to avoid some of these issues. If your site accepts file0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.0.x DocumentationConfiguring static files Serving static files during development Serving files uploaded by a user during development Testing Deployment Learn more Deploying static files Serving static files in production translation Validators Writing validators How validators are run Built-in validators Built-in Views Serving files in development Error views Meta-documentation and miscellany API stability What “stable” the session topic guide section on security for details. User-uploaded content Note Consider serving static files from a cloud service or CDN to avoid some of these issues. If your site accepts file0 码力 | 2746 页 | 2.67 MB | 1 年前3
Django CMS 3.11.10 Documentationto configure suitable media file serving. For development purposes only, the following will work in your urls.py: (See the Django documentation for guidance on serving media files in production [https://docs than with helping you understand how it works. Plugins Application hooks (“apphooks”) Publishing Serving content in multiple languages Internationalisation Permissions Search and django CMS Using touch-screen all languages of my page if content.versions.first().state == DRAFT: # do something Serving content in multiple languages Basic concepts django CMS has a sophisticated multilingual capability0 码力 | 493 页 | 1.44 MB | 6 月前0.03
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













