Django 官方教程翻译项目开发版的拷贝 回滚到先前的 Django 版本 第一次运行 Django 的测试套件 为你的补丁创建一个分支 为你的任务编写一些测试 为任务 #24788 编写一些测试 运行你写的新测试 为你的任务编写代码 为任务 #24788 编写代码 现在验证并通过你的测试 第二次运行 Django 的测试套件 写文档 预览你的修改 提交补丁中的修改 推送提交和拉取请求(pull request) Django 贡献补丁的流程。在本教程结束时,你应该对工具和流程都有了基 本认识。特别地,我们将会介绍以下内容: 安装 Git 如何下载 Django 开发版的拷贝 运行 Django 的测试套件 为你的补丁编写测试程序 为你的补丁编写代码 测试你的补丁 提交拉去请求(pull request) 哪里可以查看更多信息 一旦你完成了本教程,你就可以去看完为 Django 做贡献文档的剩下部分了。那里有很多信息,而 任务(ticket)作为例子学习,所以在任务(ticket)补丁应 用之前,我们将回退到 Django 的历史版本。这让我们可以走完所有步骤,包括从头开始写编写补 丁,还有运行 Django 的测试套件。 请记住,为了下面的教程,我们将使用 Django 的主干旧版本,当你编写自己的补丁时,你应该始 终使用 Django 当前的开发版本 注意 这个任务(ticket)的补丁已经由 Paweł0 码力 | 103 页 | 1.86 MB | 1 年前3
Django 1.8.x Documentationspatial backends that support it, it may be set to 3 for three-dimensional support. Note: At this time 3D support is limited to the PostGIS spatial backend. geography GeometryField.geography If set to True and edit geographic data on a visual map. Note that none of the currently available widgets supports 3D geometries, hence geometry fields will fallback using a simple Textarea widget for such data. Widget 8.20.dev20180306181007 BaseGeometryWidget.supports_3d Indicates if the widget supports edition of 3D data (default is False). BaseGeometryWidget.template_name The template used to render the map widget0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.8.x Documentationspatial backends that support it, it may be set to 3 for three-dimensional support. Note At this time 3D support is limited to the PostGIS spatial backend. geography GeometryField.geography If set to True and edit geographic data on a visual map. Note that none of the currently available widgets supports 3D geometries, hence geometry fields will fallback using a simple Textarea widget for such data. Widget purposes (default is False). BaseGeometryWidget.supports_3d Indicates if the widget supports edition of 3D data (default is False). BaseGeometryWidget.template_name The template used to render the map widget0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 2.1.x Documentationspatial backends that support it, it may be set to 3 for three-dimensional support. Note: At this time 3D support is limited to the PostGIS spatial backend. 4 Terry A. Slocum, Robert B. McMaster, Fritz C and edit geographic data on a visual map. Note that none of the currently available widgets supports 3D geometries, hence geometry fields will fallback using a simple Textarea widget for such data. Widget purposes (default is False). BaseGeometryWidget.supports_3d Indicates if the widget supports edition of 3D data (default is False). BaseGeometryWidget.template_name The template used to render the map widget0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 1.11.x Documentationspatial backends that support it, it may be set to 3 for three-dimensional support. Note: At this time 3D support is limited to the PostGIS spatial backend. geography GeometryField.geography If set to True and edit geographic data on a visual map. Note that none of the currently available widgets supports 3D geometries, hence geometry fields will fallback using a simple Textarea widget for such data. Widget purposes (default is False). BaseGeometryWidget.supports_3d Indicates if the widget supports edition of 3D data (default is False). BaseGeometryWidget.template_name The template used to render the map widget0 码力 | 1878 页 | 6.40 MB | 1 年前3
Django 1.10.x Documentationspatial backends that support it, it may be set to 3 for three-dimensional support. Note: At this time 3D support is limited to the PostGIS spatial backend. geography GeometryField.geography If set to True and edit geographic data on a visual map. Note that none of the currently available widgets supports 3D geometries, hence geometry fields will fallback using a simple Textarea widget for such data. Widget purposes (default is False). BaseGeometryWidget.supports_3d Indicates if the widget supports edition of 3D data (default is False). BaseGeometryWidget.template_name The template used to render the map widget0 码力 | 1817 页 | 6.19 MB | 1 年前3
Django 1.11.x Documentationspatial backends that support it, it may be set to 3 for three-dimensional support. Note At this time 3D support is limited to the PostGIS spatial backend. geography GeometryField.geography If set to True and edit geographic data on a visual map. Note that none of the currently available widgets supports 3D geometries, hence geometry fields will fallback using a simple Textarea widget for such data. Widget purposes (default is False). BaseGeometryWidget.supports_3d Indicates if the widget supports edition of 3D data (default is False). BaseGeometryWidget.template_name The template used to render the map widget0 码力 | 2747 页 | 2.67 MB | 1 年前3
Django 1.10.x Documentationspatial backends that support it, it may be set to 3 for three-dimensional support. Note At this time 3D support is limited to the PostGIS spatial backend. geography GeometryField.geography If set to True and edit geographic data on a visual map. Note that none of the currently available widgets supports 3D geometries, hence geometry fields will fallback using a simple Textarea widget for such data. Widget purposes (default is False). BaseGeometryWidget.supports_3d Indicates if the widget supports edition of 3D data (default is False). BaseGeometryWidget.template_name The template used to render the map widget0 码力 | 2538 页 | 2.59 MB | 1 年前3
Django 2.1.x Documentationspatial backends that support it, it may be set to 3 for three-dimensional support. Note At this time 3D support is limited to the PostGIS spatial backend. geography GeometryField.geography If set to True and edit geographic data on a visual map. Note that none of the currently available widgets supports 3D geometries, hence geometry fields will fallback using a simple Textarea widget for such data. Widget purposes (default is False). BaseGeometryWidget.supports_3d Indicates if the widget supports edition of 3D data (default is False). BaseGeometryWidget.template_name The template used to render the map widget0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.0.x Documentationspatial backends that support it, it may be set to 3 for three-dimensional support. Note: At this time 3D support is limited to the PostGIS spatial backend. geography GeometryField.geography If set to True and edit geographic data on a visual map. Note that none of the currently available widgets supports 3D geometries, hence geometry fields will fallback using a simple Textarea widget for such data. Widget purposes (default is False). BaseGeometryWidget.supports_3d Indicates if the widget supports edition of 3D data (default is False). BaseGeometryWidget.template_name The template used to render the map widget0 码力 | 1880 页 | 6.41 MB | 1 年前3
共 31 条
- 1
- 2
- 3
- 4













