{"id": 8272, "created": "2008-08-13 02:11:04", "changetime": "2013-04-07 18:04:21", "last_pulled_from_trac": "2022-03-06 03:41:48.836748", "stage": "Accepted", "status": "closed", "component": "Forms", "type": "New feature", "severity": "Normal", "version": "dev", "resolution": "duplicate", "summary": "Patch to forms to add a fieldset attribute to Field for use with templates", "description": "I needed to create a complex form that used fieldsets to divide sections of the form. I finally figured out that to do this, I needed to modify the forms code a bit. I've tested this patch against the latest version of svn and it worked. Below is a snippet of a template to show you how you would use the new fieldset attribute for more complex form layouts. The diff file is attached.\r\n\r\n
", "owner": "jbowman", "reporter": "jbowman", "keywords": null, "easy": 0, "has_patch": 1, "needs_better_patch": 0, "needs_tests": 1, "needs_docs": 1, "ui_ux": 0} {"id": 8273, "created": "2008-08-13 02:13:52", "changetime": "2012-10-15 19:37:28", "last_pulled_from_trac": "2022-03-06 03:41:49.004388", "stage": "Accepted", "status": "closed", "component": "contrib.localflavor", "type": "Cleanup/optimization", "severity": "Normal", "version": "dev", "resolution": "wontfix", "summary": "Reduce amount of redundant code in django.contrib.localflavor", "description": "There is a plenty of somehow redundant code in {{{django.contrib.localflavor}}} which leads to potentially more bugs and what is quite inconvenient -- many translation strings.\r\n\r\nI would like to propose the patch that handles all fields with a checksum verification.\r\n\r\nPros:\r\n\r\n * a lot fewer translation strings, which is more consistent and means less work when translating Django to 50 languages,\r\n * DRY compatible (and all benefits that it implies).\r\n\r\nCons:\r\n\r\n * backwards incompatible,\r\n * new code may contain bugs (although all tests were OK).\r\n\r\nI volunteer for further modifications of {{{django.contrib.localflavor}}} code to use {{{NumberWithChecksumField}}} if this patch is accepted.", "owner": "nobody", "reporter": "Piotr Lewandowski{{ var }}
\r\n{% endwithblock %}\r\n}}}", "owner": "nobody", "reporter": "julien", "keywords": null, "easy": 0, "has_patch": 1, "needs_better_patch": 0, "needs_tests": 0, "needs_docs": 0, "ui_ux": 0} {"id": 8300, "created": "2008-08-13 23:13:52", "changetime": "2009-02-25 19:51:44", "last_pulled_from_trac": "2022-03-06 03:41:53.262410", "stage": "Unreviewed", "status": "closed", "component": "contrib.syndication", "type": null, "severity": null, "version": "dev", "resolution": "duplicate", "summary": "feedgenerator shouldn't use ascii to decode dates", "description": "if i use some locale like '''tr_TR.UTF-8''' or any other locale, a date for the rss feed could be '''\"10 A\u011fu\"''' instead of '''\"10 Aug\"'''.. Therefore, I get the following error messages:\r\n\r\nUnicodeDecodeError at /feeds/latest/[[BR]]\r\n'ascii' codec can't decode byte 0xc4 in position 9: ordinal not in range(128)\r\n\r\nI think all decoding should be done using utf-8 instead of ascii.. And by the way there's a problem in line 241 of feedgenerator.py file:\r\n\r\nhandler.addQuickElement(u\"pubDate\", rfc2822_date(item['pubdate']).decode('links'))\r\n\r\n'links' here should be something like ascii or especially utf-8..", "owner": "nobody", "reporter": "alperkanat", "keywords": null, "easy": 0, "has_patch": 0, "needs_better_patch": 0, "needs_tests": 0, "needs_docs": 0, "ui_ux": 0}