软件实用模块Fabrica Django项目
softwarefabrica.django.utils的Python项目详细描述
…_主题-概述:
==
软件fabrica django实用程序警告:关于本文档,本文档概述了什么是软件fabrica django utils。内容:
:深度:3
这是什么?
==
这是一个库,为使用"django"web框架开发的应用程序提供了许多有用的例程和抽象。
我们非常感谢您的建议和贡献。请参阅下面的内容,了解您可以如何做出贡献。
如果您希望积极协作并提供代码、文档、测试或
错误修复,请随时在launchpad中创建一个新的bazaar分支,并将其告知我们!有关更多信息,请参见"协作"部分。
,不要忘记同时检查其他"django"应用程序,
"softwarefabrica.django.forms"应用程序、softwarefabrica.django.crud"应用程序和
"softwarefabrica.django.wiki"应用程序。
。_` django`:http://www.djangoproject.com
。_` utils`:http://pypi.python.org/pypi/softwarefabrica.django.utils
。_` forms`:http://pypi.python.org/pypi/softwarefabrica.django.forms
。_` crud`:http://pypi.python.org/pypi/softwarefabrica.django.crud
。_` wiki`:http://pypi.python.org/pypi/softwarefabrica.django.wiki
。_` sflib`:http://pypi.python.org/pypi/sflib
具有常用信息的上下文,使用"requestcontext"的"render"to"u response"…)
_` uuid`:http://en.wikipedia.org/wiki/uuid
。_`标记":http://daringfireball.net/projects/markdown/syntax
_` django`:http://www.djangoproject.com
。_`表单库`:http://docs.djangoproject.com/en/dev/topics/forms/
先决条件和安装
==
==请参阅"安装指南文档"。_`安装指南文档`:install.html
…_协作:
==
==
如前所述,您的帮助是宝贵的。我们将非常感谢您的帮助。使用这个库是对我们的奖励,但是如果您想更加积极地参与进来,我们欢迎您!
项目在"launchpad"有一个"开发主页":
ng'bazaar`:
:
bzr branch lp:sf django utils
只需在"launchpad"注册您的分支并告诉我们!
也可以"在线"浏览源代码。_`开发主页`:https://launchpad.net/sf django utils
。_` launchpad`:http://launchpad.net
。_`集市:http://bazaar vcs.org/
…_`在线`:http://bazaar.launchpad.net/~softwarefrobrica/sf django utils/trunk/changes
。_` SoftwareFabrica`:https://edge.launchpad.net/softwareFabrica
。_`团队":https://launchpad.net/~softwarefrobrica
_`错误":https://bugs.launchpad.net/sf django utils
_`增强功能`:https://bugs.launchpad.net/sf django utils
contact s
==
>可以通过电子邮件联系作者,地址如下:
m.pantaleoni at softwarefrica.org
marco.pantaleoni at gmail.com
许可证
==
e包含在GNU通用公共许可第2版中。
如果要在封闭源代码应用程序中使用此软件,则需要从作者处购买商业许可。
此开放源代码版本为:
版权所有(C)2007-2008 Marco Pantaleoni。版权所有。< BR> > BR/>此程序是免费软件;您可以在GNU通用公共许可证第2版的条款下重新发布和修改< BR/>,作为自由软件基金会发布的
。
> BR/>此程序被分发,希望它是我们的。但是没有任何保证;甚至没有对特定用途的适销性或适用性的暗示保证。详情请参阅
GNU通用公共许可证。
BR/>您应该已经收到了一份GNU通用公共许可证,连同该程序一起使用。如果没有,请写信给自由软件基金会,BR/> 51富兰克林街,波士顿第五楼,美国02110-1301。br/>
更改
----
<2010-05-14 marco pantaleoni<;panta@elasticworld.org>;
*根据django ticket 12235修改uuidfield
http://code.djangoproject.com/ticket/12235
以允许使用uuidfield主键编辑模型
在inlineformset中。
2010-03-08 marco pantaleoni<;panta@elasticworld.org>;
*为缩略图模板过滤器添加了旋转支持。
<2010-02-28 marco pantaleoni<;panta@elasticworld.org>;
*为sy添加了对"with"语句的支持ntheticuploaded文件。
*向合成上载文件添加了关闭析构函数的文件。
<2010-02-23 marco pantaleoni<;panta@elasticworld.org>;
*向viewshelpers.py添加了json_response()。
2010-02-19 marco pantaleoni<;panta@elasticworld.org>;
*添加了"basename"模板筛选器。
*添加了简单的缩略图模板筛选器。
*添加了南方自省规则。
2009-11-18 Marco Pantaleoni<;panta@elasticworld.org>;
*现在还处理django>;=r11636(1.2 alpha)(lazyobject
不再支持get_all_u members()方法,但具有
uu dir_u特殊方法)。
这应该可以修复crud错误483856
https://bugs.launchpad.net/sf django crud/+bug/483856
(感谢andre`)
2009-11-11 marcopantaleoni<;panta@elasticworld.org>;
*删除了过时的crud.py模块
2009-11-08 marco pantaleoni<;panta@elasticworld.org>;
*添加了sf-display-profile命令。
*添加了runners.py-有用的测试运行程序。
*添加ed tracequeries.py,提供拦截SQL查询的方法
执行(并可选执行日志记录)。
2009-10-21 marco pantaleoni<;panta@elasticworld.org>;
2009-10-19 marco pantaleoni<;panta@elasticworld.org>;
*从Paginator模板标记模板中删除了遗留的内容依赖项。
2009-10-12 Marco Pantaleoni<;panta@elasticworld.org>;
*添加了软件fabrica.django.basic auth以支持http basic authNGO项目(摘自snippet 243:http://www.djangosnippets.org/snippets/243/)
<2009-10-07 marco pantaleoni<;panta@elasticworld.org>;
*分页程序模板标记:现在保留查询字符串(如果存在)。
因此分页程序现在可以在列表视图中使用搜索。表单。
2009-09-24 marco pantaleoni<;panta@elasticworld.org>;
*分页器模板标记:现代化,现在只使用django
分页器对象。
<2009-05-27 marco pantaleoni<;panta@elasticworld.org>;
*合成上传file.py:已添加(支持在文件字段和图像字段中以编程方式添加文件
)。
2009-05-16 marco pantaleoni<;panta@elasticworld.org>;
*djangothreads.py:已添加(支持django线程连接)。
2009-05-12 marco pantaleoni<;panta@elasticworld.org>;
*添加了expr模板标记和筛选器库(带有比较筛选器和
模板标记)。
2009-04-20 Marco Pantaleoni<;panta@elasticworld.org>;
*中间件。logger:添加了get-logger()函数。
2009-04-20 marco pantaleoni<;panta@elasticworld.org>;
*添加了一些有用的中间件类(在softwarefbrica.django.utils.middleware下)
现在可以使用以下内容:logger.loggingmidleware,
sqldebug.sqldebugmiddleware,profile.profilemiddleware,stats.statsmidleware.
2009-04-15 marco pantaleoni<;panta@elasticworld.org>;
*修复了新的render-to-u响应中的错误。
<2009-04-14 marco pantaleoni<;panta@elasticworld.org>;
*添加了编译模板缓存支持。
2009-02-20 marco pantaleoni<;panta@elasticworld.org>;
*软件fabrica/django/utils/templatetags/macros.py:已添加(django
代码段编号363,请参见http://www.django snippets.org/snippets/363/)
2009-02-19 marco pantaleoni<;panta@elasticworld.org>;
*softwarefrobrica/django/utils/ipv4maskedaddressfield.py:在验证中处理了U""案例
2009-01-29 marco pantaleoni<;panta@elasticworld.org>;
*softwarefrobrica/django/utils/templatetags/forward_query_param.py:添加。
provide"forward_query_param"模板标记。
2009-01-21 marco pantaleoni<;panta@elasticworld.org>;
*softwarefrobrica/django/utils/templatetags/in_list.py:已添加。
2009-01-15 marco pantaleoni<;panta@elasticworld.org>;
*managers.py:补充。提供
http://simonwillison.net/2008/may/1/orm/
2009-01-10 marco pantaleoni<;panta@elasticworld.org>;
*paginator.py paginator.html中描述的"querysetmanager":现在可以正确处理
弹出窗口(``is_popup`)中的分页``_弹出"变量,来自s.d.crud
通用视图"。
2008-12-22 Marco Pantaleoni<;panta@elasticworld.org>;
*IPv4MaskedAdDressField现在也可以与django admin一起使用。
*添加了一个测试模块。
*IPv4MaskedAdDressField.py:补充。此模块提供IPv4地址的模型和表单域,带有可选的网络掩码。
2008-12-19 Marco Pantaleoni<;panta@elasticworld.org>;
*添加了文档包生成。
*docs/install.txt:改进的安装说明。
2008-12-18 marco pantaleoni<;panta@elasticworld.org>;
*makefile:已更新以生成所有受支持的python版本
(2.4、2.5、2.6)
已修复。
*添加了大量文档。
2008-12-17 marco pantaleoni<;panta@elasticworld.org>;
*setup.py:为python 2.4添加了特定的('uuid')依赖项
<2008-12-16 marco pantaleoni<;panta@elasticworld.org>;
*删除了过时的材料。
<2008-12-01 marco pantaleoni<;panta@elasticworld.org>;
*softwarefrobrica/django/utils/templatetags/paginator.py:template
现在是"utils/paginator.html"
*softwarefrobrica/django/utils/templates/utils/paginator.html:
已添加。
2008-11-25 marco pantaleoni<;panta@elasticworld.org>;
*softwarefabrica/django/utils/templatetags/sitevars.py
(sitevarsnode.render):生成djangosite`framework可选。
*softwarefbrica/django/utils/viewshelpers.py(上下文变量):
使django`site` framework可选。
*setup.py:将zip安全设置为false(因为我们包括模板和测试)。
2008-11-24 marco pantaleoni<;panta@elasticworld.org>;
*删除了未使用的空测试。更新了datetimewidget.py和
relatedwidget.py
*将对"newforms"的引用更改为"forms"。
*readme.txt:已更新。
*集成设置工具和包为
"softwarefrobrica.django.utils"
2008-11-02 Marco Pantaleoni<;panta@elasticworld.org>;
*templatetags/sitevars.py:添加了-{%sitevars%}模板
用项目变量填充上下文的标记。
<2008-10-29 marco pantaleoni<;panta@elasticworld.org>;
*crud.py:添加了-面向对象ed通用视图和各自的功能支持适配器。还提供了一些类,这些类向模型表单和模板表单添加了"fieldorder"支持。
2008-10-25 marco pantaleoni<;panta@elasticworld.org>;
*usearch.py:添加了-超级简单的搜索支持。
2008-10-19 marco pantaleoni<;panta@elasticworld.org>;
*uuid field.py:已添加-uuid字段。
<2008-10-27 marco pantaleoni<;panta@elasticworld.org>;
*templatetags/paginator.py:已更新并添加了
"template-object-name"参数(默认为"object")。
2008-09-04 marco pantaleoni<;panta@elasticworld.org>;
*viewshelpers.py:现代化的、删除的功能通用视图。
2008-09-02 marco pantaleoni<;panta@elasticworld.org>;
*forms.py mlforms.py:现代化的(也适用于支持django-1.0)
2008-05-30 marco pantaleoni<;panta@elasticworld.org>;
*添加了daterangewidget和daterangefield。
2008-05-29 marco pantaleoni<;panta@elasticworld.org>;
*在id字段(编辑表单)中添加了空格,以便在没有值时将其分隔。
2008-05-27 marco pantaleoni<;panta@elasticworld.org>;
*在表格中添加(不可编辑)"id"支持。
2008-05-26 marco pantaleoni<;panta@elasticworld.org>;
*将日期格式更改为"dd/mm/yyyy"
*删除"---"fk还可以从细节视图
2008-05-22 marco pantaleoni<;panta@elasticworld.org>;
*删除"--",从空的相关小部件中删除。
2008-05-21 marco pantaleoni<;panta@elasticworld.org>;
*添加缺少的类"值"和"标签"。
*修正(评论)formfield_search_cb()。
*relatedWidget.py:改进。添加了对创建的支持。
*relatedWidget.py foreign.html:添加了对选定记录文本表示的支持。
*tableForms.py:现在使用复制到erp.forms的函数
<2008-05-20 marco pantaleoni<;panta@elasticworld.org>;。
*datetimewidget.py:添加了mark_safe()调用。
2008-05-15 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:修复了错误("coldwidth"->;"colwidth",用于formrow)。
2008-05-14 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py(formfield_operator_get_html_entity.perform):
删除错误列表中的td。
*tableforms.py(formfield_operator_get_html_entity.perform):将
"label"和"value"添加到字段。
*datetimewidget.py:从<;nobr&g切换t;到css。
*tableforms.py
(formfield_operator_get_view_html_entity.perform):在详细视图中以文本形式转换的db
选项。
*tableforms.py(formfield_operator_get_view_html_entity.perform):
返回布尔字段详细视图中的图标。
*tableforms.py:默认为意大利日期格式。
*datetimewidget.py:默认为意大利日期格式。
*datetimewidget.py:向小部件添加了"日期"css属性。
2008-05-13 marco pantaleoni<;panta@elasticworld.org>;
*表格。py:适用于DateTimeWidget和DateWidget中的拆分。
*表格。py:适用于DateTimeWidget和DateWidget中的拆分。
*DateTimeWidget.py:在DateTimeWidget和DateWidget中拆分。
*模板/utils/widget/foreign.html:删除了"文件夹"图标
(详细视图)。
*tableForms.py(formField_-cb)relatedWidget.py:修复了"foreignkey"的字段错误
r/>
*viewshelpers.py:添加邮件翻译。
<2008-05-06 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py(从表单生成查询):修复错误:现在处理表单数据中的
也缺少字段,并使用相关字段进行搜索
(relatedfield).
2008-04-28 marco pantaleoni<;panta@elasticworld.org>;
*relatedwidget.py(relatedditemwidget.value廑from廑datadict):修复了验证错误。
*tableforms.py:返回到外键详细视图的链接
查看"form"。
2008-04-27 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:在
搜索表单中使用三向选择呈现布尔字段。
*tableforms.py(formfield_operator_get_html_entity.perform):已修复
fo重新定义标签提取。
2008-04-26 marco pantaleoni<;panta@elasticworld.org>;
*添加了"model"和"meta"以删除"object()"并编辑"object()模板
上下文。
2008-04-26 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:将getelementname()重命名为getelementtypename(),并将getelementsbyname()重命名为getelementsbytypename()。
如果存在,则添加getelementname()返回传递的"name"参数值。
添加getelementsbyname()和getelementbyname()。
在getelements()中添加了"name"参数查询。
*templates/utils/widget/foreign.html:添加了<;SPAN>;<;SPAN>;和
<;nobr>;
<2008-04-25 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:添加了一些dom导航功能。
添加了字段(form field、django字段、db字段)提取功能。
现在django表单只创建了tableforms中的字段
表单(传递"字段")。
2008-04-22 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:现在发出toggleformgroup()。
<2008-04-22 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py(form.make_formclass):将formclass创建从构造函数中移出,以便允许延迟注入不同的fo。rm元类。
*tableforms.py:将build_query_from_form()添加到form类。
现在还可以将(newforms)form元类传递给form
构造函数。添加了SearchModelFormTable元类,以便在生成搜索表单时使用(它将所有字段保留为可选)。
recent django.
<2008-04-21 marco pantaleoni<;panta@elasticworld.org>;
*viewshelpers.py:已修复opts.verbose\u name代理字符串问题
(强制使用Unicode)。
进行了更统一的模板搜索。
添加了object\u detail()g一般视图。
改进了注释。
*tableforms.py:为详细视图添加了get-view-html-u实体操作。
*relatedwidget.py:删除了未使用的select-btn和new-btn字符串。
2008-04-19 marco pantaleoni<;panta@elasticworld.org>;
*模板/:已添加。
*tableforms.py:集成支持外键字段
(relatedWidget)。
*relatedWidget.py:已添加。
*viewshelpers.py:已添加静态媒体图像前缀()和静态媒体图像前缀()。
<2008-04-06 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:添加了多个生成操作后端
(获取HTML实体、获取HTML实体、获取页面ID)。
小的改进。添加了对表单组javascript的支持。
2008-04-05 marco pantaleoni<;panta@elasticworld.org>;
*templatetags/paginator.py templatetags/urlsave.py:添加。
*tableforms.py:实现基于访问者模式的生成
html内容。
*viewshelpers.py:添加了object_list()(基于django generic
视图)。
2008-04-02 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:添加。
2008-02-17 marco pantaleoni<;panta@elasticworld.org>;
*新建forms_crud.py(create_object,update_object):添加了向form_for_model()
和form_for_instance()中的表单传递初始值的可能性。
*viewshelpers.py:settings.static_media_前缀不再严格要求。static_media_prefix()函数尝试通过合理的回退来确定正确的值。
<2007-11-22 marco pantaleoni<;panta@elasticworld.org>;
*创建(使用来自portal的位,很多位…)
==
软件fabrica django实用程序警告:关于本文档,本文档概述了什么是软件fabrica django utils。内容:
:深度:3
这是什么?
==
这是一个库,为使用"django"web框架开发的应用程序提供了许多有用的例程和抽象。
我们非常感谢您的建议和贡献。请参阅下面的内容,了解您可以如何做出贡献。
如果您希望积极协作并提供代码、文档、测试或
错误修复,请随时在launchpad中创建一个新的bazaar分支,并将其告知我们!有关更多信息,请参见"协作"部分。
,不要忘记同时检查其他"django"应用程序,
"softwarefabrica.django.forms"应用程序、softwarefabrica.django.crud"应用程序和
"softwarefabrica.django.wiki"应用程序。
。_` django`:http://www.djangoproject.com
。_` utils`:http://pypi.python.org/pypi/softwarefabrica.django.utils
。_` forms`:http://pypi.python.org/pypi/softwarefabrica.django.forms
。_` crud`:http://pypi.python.org/pypi/softwarefabrica.django.crud
。_` wiki`:http://pypi.python.org/pypi/softwarefabrica.django.wiki
。_` sflib`:http://pypi.python.org/pypi/sflib
具有常用信息的上下文,使用"requestcontext"的"render"to"u response"…)
_` uuid`:http://en.wikipedia.org/wiki/uuid
。_`标记":http://daringfireball.net/projects/markdown/syntax
_` django`:http://www.djangoproject.com
。_`表单库`:http://docs.djangoproject.com/en/dev/topics/forms/
先决条件和安装
==
==请参阅"安装指南文档"。_`安装指南文档`:install.html
…_协作:
==
==
如前所述,您的帮助是宝贵的。我们将非常感谢您的帮助。使用这个库是对我们的奖励,但是如果您想更加积极地参与进来,我们欢迎您!
项目在"launchpad"有一个"开发主页":
ng'bazaar`:
:
bzr branch lp:sf django utils
只需在"launchpad"注册您的分支并告诉我们!
也可以"在线"浏览源代码。_`开发主页`:https://launchpad.net/sf django utils
。_` launchpad`:http://launchpad.net
。_`集市:http://bazaar vcs.org/
…_`在线`:http://bazaar.launchpad.net/~softwarefrobrica/sf django utils/trunk/changes
。_` SoftwareFabrica`:https://edge.launchpad.net/softwareFabrica
。_`团队":https://launchpad.net/~softwarefrobrica
_`错误":https://bugs.launchpad.net/sf django utils
_`增强功能`:https://bugs.launchpad.net/sf django utils
contact s
==
>可以通过电子邮件联系作者,地址如下:
m.pantaleoni at softwarefrica.org
marco.pantaleoni at gmail.com
许可证
==
e包含在GNU通用公共许可第2版中。
如果要在封闭源代码应用程序中使用此软件,则需要从作者处购买商业许可。
此开放源代码版本为:
版权所有(C)2007-2008 Marco Pantaleoni。版权所有。< BR> > BR/>此程序是免费软件;您可以在GNU通用公共许可证第2版的条款下重新发布和修改< BR/>,作为自由软件基金会发布的
。
> BR/>此程序被分发,希望它是我们的。但是没有任何保证;甚至没有对特定用途的适销性或适用性的暗示保证。详情请参阅
GNU通用公共许可证。
BR/>您应该已经收到了一份GNU通用公共许可证,连同该程序一起使用。如果没有,请写信给自由软件基金会,BR/> 51富兰克林街,波士顿第五楼,美国02110-1301。br/>
更改
----
<2010-05-14 marco pantaleoni<;panta@elasticworld.org>;
*根据django ticket 12235修改uuidfield
http://code.djangoproject.com/ticket/12235
以允许使用uuidfield主键编辑模型
在inlineformset中。
2010-03-08 marco pantaleoni<;panta@elasticworld.org>;
*为缩略图模板过滤器添加了旋转支持。
<2010-02-28 marco pantaleoni<;panta@elasticworld.org>;
*为sy添加了对"with"语句的支持ntheticuploaded文件。
*向合成上载文件添加了关闭析构函数的文件。
<2010-02-23 marco pantaleoni<;panta@elasticworld.org>;
*向viewshelpers.py添加了json_response()。
2010-02-19 marco pantaleoni<;panta@elasticworld.org>;
*添加了"basename"模板筛选器。
*添加了简单的缩略图模板筛选器。
*添加了南方自省规则。
2009-11-18 Marco Pantaleoni<;panta@elasticworld.org>;
*现在还处理django>;=r11636(1.2 alpha)(lazyobject
不再支持get_all_u members()方法,但具有
uu dir_u特殊方法)。
这应该可以修复crud错误483856
https://bugs.launchpad.net/sf django crud/+bug/483856
(感谢andre`)
2009-11-11 marcopantaleoni<;panta@elasticworld.org>;
*删除了过时的crud.py模块
2009-11-08 marco pantaleoni<;panta@elasticworld.org>;
*添加了sf-display-profile命令。
*添加了runners.py-有用的测试运行程序。
*添加ed tracequeries.py,提供拦截SQL查询的方法
执行(并可选执行日志记录)。
2009-10-21 marco pantaleoni<;panta@elasticworld.org>;
2009-10-19 marco pantaleoni<;panta@elasticworld.org>;
*从Paginator模板标记模板中删除了遗留的内容依赖项。
2009-10-12 Marco Pantaleoni<;panta@elasticworld.org>;
*添加了软件fabrica.django.basic auth以支持http basic authNGO项目(摘自snippet 243:http://www.djangosnippets.org/snippets/243/)
<2009-10-07 marco pantaleoni<;panta@elasticworld.org>;
*分页程序模板标记:现在保留查询字符串(如果存在)。
因此分页程序现在可以在列表视图中使用搜索。表单。
2009-09-24 marco pantaleoni<;panta@elasticworld.org>;
*分页器模板标记:现代化,现在只使用django
分页器对象。
<2009-05-27 marco pantaleoni<;panta@elasticworld.org>;
*合成上传file.py:已添加(支持在文件字段和图像字段中以编程方式添加文件
)。
2009-05-16 marco pantaleoni<;panta@elasticworld.org>;
*djangothreads.py:已添加(支持django线程连接)。
2009-05-12 marco pantaleoni<;panta@elasticworld.org>;
*添加了expr模板标记和筛选器库(带有比较筛选器和
模板标记)。
2009-04-20 Marco Pantaleoni<;panta@elasticworld.org>;
*中间件。logger:添加了get-logger()函数。
2009-04-20 marco pantaleoni<;panta@elasticworld.org>;
*添加了一些有用的中间件类(在softwarefbrica.django.utils.middleware下)
现在可以使用以下内容:logger.loggingmidleware,
sqldebug.sqldebugmiddleware,profile.profilemiddleware,stats.statsmidleware.
2009-04-15 marco pantaleoni<;panta@elasticworld.org>;
*修复了新的render-to-u响应中的错误。
<2009-04-14 marco pantaleoni<;panta@elasticworld.org>;
*添加了编译模板缓存支持。
2009-02-20 marco pantaleoni<;panta@elasticworld.org>;
*软件fabrica/django/utils/templatetags/macros.py:已添加(django
代码段编号363,请参见http://www.django snippets.org/snippets/363/)
2009-02-19 marco pantaleoni<;panta@elasticworld.org>;
*softwarefrobrica/django/utils/ipv4maskedaddressfield.py:在验证中处理了U""案例
2009-01-29 marco pantaleoni<;panta@elasticworld.org>;
*softwarefrobrica/django/utils/templatetags/forward_query_param.py:添加。
provide"forward_query_param"模板标记。
2009-01-21 marco pantaleoni<;panta@elasticworld.org>;
*softwarefrobrica/django/utils/templatetags/in_list.py:已添加。
2009-01-15 marco pantaleoni<;panta@elasticworld.org>;
*managers.py:补充。提供
http://simonwillison.net/2008/may/1/orm/
2009-01-10 marco pantaleoni<;panta@elasticworld.org>;
*paginator.py paginator.html中描述的"querysetmanager":现在可以正确处理
弹出窗口(``is_popup`)中的分页``_弹出"变量,来自s.d.crud
通用视图"。
2008-12-22 Marco Pantaleoni<;panta@elasticworld.org>;
*IPv4MaskedAdDressField现在也可以与django admin一起使用。
*添加了一个测试模块。
*IPv4MaskedAdDressField.py:补充。此模块提供IPv4地址的模型和表单域,带有可选的网络掩码。
2008-12-19 Marco Pantaleoni<;panta@elasticworld.org>;
*添加了文档包生成。
*docs/install.txt:改进的安装说明。
2008-12-18 marco pantaleoni<;panta@elasticworld.org>;
*makefile:已更新以生成所有受支持的python版本
(2.4、2.5、2.6)
已修复。
*添加了大量文档。
2008-12-17 marco pantaleoni<;panta@elasticworld.org>;
*setup.py:为python 2.4添加了特定的('uuid')依赖项
<2008-12-16 marco pantaleoni<;panta@elasticworld.org>;
*删除了过时的材料。
<2008-12-01 marco pantaleoni<;panta@elasticworld.org>;
*softwarefrobrica/django/utils/templatetags/paginator.py:template
现在是"utils/paginator.html"
*softwarefrobrica/django/utils/templates/utils/paginator.html:
已添加。
2008-11-25 marco pantaleoni<;panta@elasticworld.org>;
*softwarefabrica/django/utils/templatetags/sitevars.py
(sitevarsnode.render):生成djangosite`framework可选。
*softwarefbrica/django/utils/viewshelpers.py(上下文变量):
使django`site` framework可选。
*setup.py:将zip安全设置为false(因为我们包括模板和测试)。
2008-11-24 marco pantaleoni<;panta@elasticworld.org>;
*删除了未使用的空测试。更新了datetimewidget.py和
relatedwidget.py
*将对"newforms"的引用更改为"forms"。
*readme.txt:已更新。
*集成设置工具和包为
"softwarefrobrica.django.utils"
2008-11-02 Marco Pantaleoni<;panta@elasticworld.org>;
*templatetags/sitevars.py:添加了-{%sitevars%}模板
用项目变量填充上下文的标记。
<2008-10-29 marco pantaleoni<;panta@elasticworld.org>;
*crud.py:添加了-面向对象ed通用视图和各自的功能支持适配器。还提供了一些类,这些类向模型表单和模板表单添加了"fieldorder"支持。
2008-10-25 marco pantaleoni<;panta@elasticworld.org>;
*usearch.py:添加了-超级简单的搜索支持。
2008-10-19 marco pantaleoni<;panta@elasticworld.org>;
*uuid field.py:已添加-uuid字段。
<2008-10-27 marco pantaleoni<;panta@elasticworld.org>;
*templatetags/paginator.py:已更新并添加了
"template-object-name"参数(默认为"object")。
2008-09-04 marco pantaleoni<;panta@elasticworld.org>;
*viewshelpers.py:现代化的、删除的功能通用视图。
2008-09-02 marco pantaleoni<;panta@elasticworld.org>;
*forms.py mlforms.py:现代化的(也适用于支持django-1.0)
2008-05-30 marco pantaleoni<;panta@elasticworld.org>;
*添加了daterangewidget和daterangefield。
2008-05-29 marco pantaleoni<;panta@elasticworld.org>;
*在id字段(编辑表单)中添加了空格,以便在没有值时将其分隔。
2008-05-27 marco pantaleoni<;panta@elasticworld.org>;
*在表格中添加(不可编辑)"id"支持。
2008-05-26 marco pantaleoni<;panta@elasticworld.org>;
*将日期格式更改为"dd/mm/yyyy"
*删除"---"fk还可以从细节视图
2008-05-22 marco pantaleoni<;panta@elasticworld.org>;
*删除"--",从空的相关小部件中删除。
2008-05-21 marco pantaleoni<;panta@elasticworld.org>;
*添加缺少的类"值"和"标签"。
*修正(评论)formfield_search_cb()。
*relatedWidget.py:改进。添加了对创建的支持。
*relatedWidget.py foreign.html:添加了对选定记录文本表示的支持。
*tableForms.py:现在使用复制到erp.forms的函数
<2008-05-20 marco pantaleoni<;panta@elasticworld.org>;。
*datetimewidget.py:添加了mark_safe()调用。
2008-05-15 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:修复了错误("coldwidth"->;"colwidth",用于formrow)。
2008-05-14 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py(formfield_operator_get_html_entity.perform):
删除错误列表中的td。
*tableforms.py(formfield_operator_get_html_entity.perform):将
"label"和"value"添加到字段。
*datetimewidget.py:从<;nobr&g切换t;到css。
*tableforms.py
(formfield_operator_get_view_html_entity.perform):在详细视图中以文本形式转换的db
选项。
*tableforms.py(formfield_operator_get_view_html_entity.perform):
返回布尔字段详细视图中的图标。
*tableforms.py:默认为意大利日期格式。
*datetimewidget.py:默认为意大利日期格式。
*datetimewidget.py:向小部件添加了"日期"css属性。
2008-05-13 marco pantaleoni<;panta@elasticworld.org>;
*表格。py:适用于DateTimeWidget和DateWidget中的拆分。
*表格。py:适用于DateTimeWidget和DateWidget中的拆分。
*DateTimeWidget.py:在DateTimeWidget和DateWidget中拆分。
*模板/utils/widget/foreign.html:删除了"文件夹"图标
(详细视图)。
*tableForms.py(formField_-cb)relatedWidget.py:修复了"foreignkey"的字段错误
r/>
*viewshelpers.py:添加邮件翻译。
<2008-05-06 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py(从表单生成查询):修复错误:现在处理表单数据中的
也缺少字段,并使用相关字段进行搜索
(relatedfield).
2008-04-28 marco pantaleoni<;panta@elasticworld.org>;
*relatedwidget.py(relatedditemwidget.value廑from廑datadict):修复了验证错误。
*tableforms.py:返回到外键详细视图的链接
查看"form"。
2008-04-27 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:在
搜索表单中使用三向选择呈现布尔字段。
*tableforms.py(formfield_operator_get_html_entity.perform):已修复
fo重新定义标签提取。
2008-04-26 marco pantaleoni<;panta@elasticworld.org>;
*添加了"model"和"meta"以删除"object()"并编辑"object()模板
上下文。
2008-04-26 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:将getelementname()重命名为getelementtypename(),并将getelementsbyname()重命名为getelementsbytypename()。
如果存在,则添加getelementname()返回传递的"name"参数值。
添加getelementsbyname()和getelementbyname()。
在getelements()中添加了"name"参数查询。
*templates/utils/widget/foreign.html:添加了<;SPAN>;<;SPAN>;和
<;nobr>;
<2008-04-25 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:添加了一些dom导航功能。
添加了字段(form field、django字段、db字段)提取功能。
现在django表单只创建了tableforms中的字段
表单(传递"字段")。
2008-04-22 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:现在发出toggleformgroup()。
<2008-04-22 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py(form.make_formclass):将formclass创建从构造函数中移出,以便允许延迟注入不同的fo。rm元类。
*tableforms.py:将build_query_from_form()添加到form类。
现在还可以将(newforms)form元类传递给form
构造函数。添加了SearchModelFormTable元类,以便在生成搜索表单时使用(它将所有字段保留为可选)。
<2008-04-21 marco pantaleoni<;panta@elasticworld.org>;
*viewshelpers.py:已修复opts.verbose\u name代理字符串问题
(强制使用Unicode)。
进行了更统一的模板搜索。
添加了object\u detail()g一般视图。
改进了注释。
*tableforms.py:为详细视图添加了get-view-html-u实体操作。
*relatedwidget.py:删除了未使用的select-btn和new-btn字符串。
2008-04-19 marco pantaleoni<;panta@elasticworld.org>;
*模板/:已添加。
*tableforms.py:集成支持外键字段
(relatedWidget)。
*relatedWidget.py:已添加。
*viewshelpers.py:已添加静态媒体图像前缀()和静态媒体图像前缀()。
<2008-04-06 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:添加了多个生成操作后端
(获取HTML实体、获取HTML实体、获取页面ID)。
小的改进。添加了对表单组javascript的支持。
2008-04-05 marco pantaleoni<;panta@elasticworld.org>;
*templatetags/paginator.py templatetags/urlsave.py:添加。
*tableforms.py:实现基于访问者模式的生成
html内容。
*viewshelpers.py:添加了object_list()(基于django generic
视图)。
2008-04-02 marco pantaleoni<;panta@elasticworld.org>;
*tableforms.py:添加。
2008-02-17 marco pantaleoni<;panta@elasticworld.org>;
*新建forms_crud.py(create_object,update_object):添加了向form_for_model()
和form_for_instance()中的表单传递初始值的可能性。
*viewshelpers.py:settings.static_media_前缀不再严格要求。static_media_prefix()函数尝试通过合理的回退来确定正确的值。
<2007-11-22 marco pantaleoni<;panta@elasticworld.org>;
*创建(使用来自portal的位,很多位…)