ShapeEditor 应用:实现列表视图、导入和导出功能
1. ShapeEditor 界面介绍
在 ShapeEditor 的界面中,之前在管理界面创建的 Shapefile 会显示出来,同时还有相关的超链接和按钮,用于访问 ShapeEditor 的其他功能:
- 编辑(Edit) :点击该超链接会将用户带到 /shape-editor/edit/1 URL,用户可以编辑具有给定记录 ID 的 Shapefile。
- 导出(Export) :点击该超链接会将用户带到 /shape-editor/export/1 URL,用户可以下载具有给定 ID 的 Shapefile 的副本。
- 删除(Delete) :点击该超链接会将用户带到 /shape-editor/delete/1 URL,用户可以删除给定的 Shapefile。
- 导入新 Shapefile(Import New Shapefile) :点击该按钮会将用户带到 /shape-editor/import URL,用户可以上传新的 Shapefile。
你可以点击这些 URL 进行探索,它们目前只会显示错误页面,但能让你了解这些 URL 是如何将 ShapeEditor 的各个功能部分连接在一起的。同时,详细查看 Django 错误页面有助于追踪错误。
超级会员免费看
订阅专栏 解锁全文
13

被折叠的 条评论
为什么被折叠?



