在数据库中存储和使用查询的简单方法,以使用dba for django admin
requer的Python项目详细描述
requery
==
在数据库中存储和使用查询的简单方法,以便在django admin中使用dba
。图片::https://d2weczhvl823v0.cloudfront.net/ebertti/requery/trend.png
图片::https://pypip.in/v/requery/badge.png
…图片::https://pypip.in/d/requery/badge.png
`` pip install requery``
2.将“requery”添加到“settings.py”中的“installed\u apps”中:
…代码块:python
已安装的应用程序=(
…
‘重新查询’,
)
3。运行``python manage.py migrate``
屏幕截图
----
<1)创建和编辑查询
图片::https://raw.githubusercontent.com/ebertti/requery/master/screenshot/change_form.png
2)列出存储在django admin中的查询
您可以选择要运行的查询,只需单击**run**
。图片::https://raw.githubusercontent.com/ebertti/requery/master/screenshot/change_list.png
<3)运行并显示结果
用参数填写表单,然后单击**运行**查看结果
。图片::https://raw.githubusercontent.com/ebertti/requery/master/screenshot/running.png
欢迎反馈和建议,我鼓励您使用Github上的“问题列表”http://github.com/ebertti/requery/issues>;``来提供反馈。
作者
----
该请求是由ezequiel bertti`@ebertti<;https://github.com/ebertti>;``和jo_o leite`@joaoleite<创建的;2012年9月,
>changlog
-
>
*在pytho3-`@tomatothater<;https://github.com/tomatothater>;`
<0.4.1.0
*允许接收列表参数作为查询的参数
<0.4.1.1.1
<0.3.3.3.3.5.5.5.1
>br/>*在模板中修复反向url
==
在数据库中存储和使用查询的简单方法,以便在django admin中使用dba
。图片::https://d2weczhvl823v0.cloudfront.net/ebertti/requery/trend.png
图片::https://pypip.in/v/requery/badge.png
…图片::https://pypip.in/d/requery/badge.png
`` pip install requery``
2.将“requery”添加到“settings.py”中的“installed\u apps”中:
…代码块:python
已安装的应用程序=(
…
‘重新查询’,
)
3。运行``python manage.py migrate``
屏幕截图
----
<1)创建和编辑查询
图片::https://raw.githubusercontent.com/ebertti/requery/master/screenshot/change_form.png
2)列出存储在django admin中的查询
您可以选择要运行的查询,只需单击**run**
。图片::https://raw.githubusercontent.com/ebertti/requery/master/screenshot/change_list.png
<3)运行并显示结果
用参数填写表单,然后单击**运行**查看结果
。图片::https://raw.githubusercontent.com/ebertti/requery/master/screenshot/running.png
欢迎反馈和建议,我鼓励您使用Github上的“问题列表”http://github.com/ebertti/requery/issues>;``来提供反馈。
作者
----
该请求是由ezequiel bertti`@ebertti<;https://github.com/ebertti>;``和jo_o leite`@joaoleite<创建的;2012年9月,
>changlog
-
>
*在pytho3-`@tomatothater<;https://github.com/tomatothater>;`
<0.4.1.0
*允许接收列表参数作为查询的参数
<0.4.1.1.1
<0.3.3.3.3.5.5.5.1
>br/>*在模板中修复反向url