tickets
30 rows where "created" is on date 2008-01-28 sorted by needs_tests
This data as json, CSV (advanced)
Suggested facets: type, resolution, owner, reporter, has_patch, needs_better_patch, needs_docs, ui_ux
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests ▼ | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6473 | 2008-01-28 02:38:23 | 2008-01-28 03:23:30 | 2022-03-06 03:37:14.435641 | Unreviewed | closed | Forms | dev | worksforme | Overriding ModelForm __init__ messes up instance | Here's a model and two !ModelForm classes for it: {{{ from django import newforms as forms from django.newforms import ModelForm from django.db import models class MyModel(models.Model): my_field = models.CharField(max_length = 50) class NormalModelForm(ModelForm): class Meta: model = MyModel class OverridingModelForm(ModelForm): def __init__(self, *args, **kwargs): super(OverridingModelForm, self).__init__(args, kwargs) class Meta: model = MyModel }}} "!NormalModelForm" behaves as expected. However, "!OverridingModelForm" which overrides {{{__init__}}} loses the data in its "instance", even though it calls {{{super.__init__}}}. Test case: {{{ >>> model = MyModel(my_field = 'happiness') >>> normal_form = NormalModelForm(instance = model) >>> normal_form.instance.my_field 'happiness' >>> overriding_form = OverridingModelForm(instance = model) >>> overriding_form.instance.my_field '' >>> }}} | nobody | yourcelf | ModelForm __init__ instance | 0 | 0 | 0 | 0 | 0 | 0 | ||
6474 | 2008-01-28 10:21:02 | 2012-01-09 09:16:25 | 2022-03-06 03:37:14.602477 | Accepted | closed | Uncategorized | Cleanup/optimization | Normal | dev | invalid | conditional_escape: Try to convert to a string first, then check if SafeData | Hi, if you try to conditional_escape() an object, which unicode method returns a SafeString, the SafeStrinng gets escaped (one time to much). I attached a patch with unittest. All other tests pass. | nobody | guettli | 0 | 1 | 1 | 0 | 0 | 0 | |
6475 | 2008-01-28 11:47:05 | 2008-01-28 14:05:12 | 2022-03-06 03:37:14.761167 | Unreviewed | closed | Core (Other) | dev | duplicate | some SQL constraint statements commented out in generated sql | == To Reproduce == Set up a django project and app, and set up an appropriate database. Put the following code in the app's models.py: {{{ from django.db import models class A(models.Model): b_ref = models.ForeignKey('B') class B(models.Model): a_ref = models.ForeignKey(A) }}} Then run {{{python manage.py sql <appname>}}} == Output == {{{ BEGIN; CREATE TABLE `testapp_a` ( `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY, `b_ref_id` integer NOT NULL ) ; CREATE TABLE `testapp_b` ( `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY, `a_ref_id` integer NOT NULL ) ; ALTER TABLE `testapp_a` ADD CONSTRAINT b_ref_id_refs_id_2727239a FOREIGN KEY (`b_ref_id`) REFERENCES `testapp_b` (`id`); -- The following references should be added but depend on non-existent tables: -- ALTER TABLE `testapp_b` ADD CONSTRAINT a_ref_id_refs_id_3bce8de8 FOREIGN KEY (`a_ref_id`) REFERENCES `testapp_a` (`id`); COMMIT; }}} == Expected Output == Same as output except that the last ALTER TABLE statement should not be commented out. == Patch == I have made a patch, but my python is a bit rusty... | nobody | railk | 0 | 1 | 0 | 0 | 0 | 0 | |||
6476 | 2008-01-28 15:10:47 | 2010-11-04 12:08:38 | 2022-03-06 03:37:14.923439 | Accepted | closed | Internationalization | dev | fixed | Allow make-messages.py to pass --no-wrap to xgettext and family | I'm attaching a patch that adds a simple -w parameter to make-messages.py that enables `--no-wrap` when passed to `xgettext`, `msguniq`, and `msgmerge`. It is disabled by default, of course. This arose from translating sources which are not directly controllable. | nobody | pytechd <pytechd@gmail.com> | 0 | 1 | 0 | 0 | 1 | 0 | |||
6477 | 2008-01-28 16:01:56 | 2014-07-11 22:11:58 | 2022-03-06 03:37:15.082714 | Unreviewed | closed | Testing framework | Uncategorized | Normal | dev | wontfix | Make running unit tests easier | Added a Makefile with "test" target and a default unittest settings file. This enables users to easily run unittests with "make test". | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |
6478 | 2008-01-28 16:02:59 | 2008-02-03 01:24:23 | 2022-03-06 03:37:15.243808 | Ready for checkin | closed | Testing framework | dev | fixed | Don't ignore Ctrl-C and system exit in tests | The test runner should not silently ignore Ctrl-C and system exits. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6479 | 2008-01-28 16:03:40 | 2008-02-03 01:37:30 | 2022-03-06 03:37:15.417202 | Ready for checkin | closed | Testing framework | dev | fixed | Replace hardcoded cookie session name | Replace the hardcoded cookie session name "sessionid" with settings.SESSION_COOKIE_NAME. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6480 | 2008-01-28 16:04:23 | 2008-02-04 01:40:53 | 2022-03-06 03:37:15.570788 | Ready for checkin | closed | Uncategorized | dev | fixed | Don't gzip PDF files for IE | Older IE browsers cannot open PDF files with Content-Encoding: gzip. This patch prevents gzip encoding for PDF files. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6481 | 2008-01-28 16:06:00 | 2008-02-19 00:08:08 | 2022-03-06 03:37:15.745103 | Ready for checkin | closed | Uncategorized | dev | fixed | Fix import and syntax errors | Remove (some) unused imports, add some needed ones. And fix two syntax errors reported: one is trailing whitespace at EOF, the other CRLF endings. The CRLF endings are due to a missing svn:eol-style "native" entry in the SVN repo, but in git there is no such setting. All errors were reported by the pyflakes checker. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6482 | 2008-01-28 16:06:43 | 2008-03-31 06:48:29 | 2022-03-06 03:37:15.905317 | Unreviewed | closed | Uncategorized | dev | invalid | Prevent file descriptor leaks | Wrap all opened files in try-finally blocks and close the descriptors. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6483 | 2008-01-28 16:07:21 | 2010-02-08 13:12:09 | 2022-03-06 03:37:16.070684 | Accepted | closed | Internationalization | dev | fixed | Support European date format for JavaScript | Add support for parsing European date format "DD.MM.YYYY" in the JavaScript date routines. | garcia_marc | Bastian Kleineidam <calvin@debian.org> | i18n-rf | 0 | 1 | 1 | 0 | 0 | 0 | ||
6484 | 2008-01-28 16:08:37 | 2009-02-25 19:51:44 | 2022-03-06 03:37:16.228210 | Design decision needed | closed | Uncategorized | dev | wontfix | Add default mime.types for Windows systems | Use local mime.types for Windows systems, since they usually don't have one installed, and the default types are not really exhaustive. Note: the included mime.types file is taken from a Debian system. It should be fairly complete. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6485 | 2008-01-28 16:10:27 | 2012-12-04 14:58:02 | 2022-03-06 03:37:16.381072 | Design decision needed | closed | Uncategorized | New feature | Normal | dev | wontfix | Split off file-serving capability | Split the file-serving capability of the Django static view into a separate function, and add the ability to set the mimetype manually. Note: I use the split off serve_file() to check certain (user) permissions prior to serving static content. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |
6486 | 2008-01-28 16:11:55 | 2008-03-20 07:01:27 | 2022-03-06 03:37:16.535243 | Ready for checkin | closed | Uncategorized | dev | fixed | Add server time to error page info | Add the local server time to the HTTP 500 error page info. Note: I encountered time-sensitive bugs which were more easy to debug with this information. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6487 | 2008-01-28 16:14:41 | 2010-03-13 03:29:37 | 2022-03-06 03:37:16.679913 | Someday/Maybe | closed | contrib.admin | dev | duplicate | Add previous/next year links in JS calendar | Add links to the previous and next year in the JavaScript calendar. Note: apply both patches | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6488 | 2008-01-28 16:16:18 | 2011-06-09 14:30:37 | 2022-03-06 03:37:16.809018 | Accepted | closed | contrib.admin | New feature | Normal | newforms-admin | wontfix | Use JS iframe to hide select dropdowns in IE6 | Use an <iframe> tag to work around an IE6 bug that shows select dropdowns above other elements. | nobody | Bastian Kleineidam <calvin@debian.org> | nfa-someday | 0 | 1 | 1 | 0 | 0 | 1 |
6489 | 2008-01-28 16:17:07 | 2019-01-09 21:41:29 | 2022-03-06 03:37:16.940212 | Someday/Maybe | new | contrib.admin | New feature | Normal | dev | Add selected and enabled_from for JS calendar | Add two parameters to the JS calendar class: highlighting a selected date, and disabling dates before a specified one. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 1 | 0 | 0 | 0 | ||
6490 | 2008-01-28 16:17:47 | 2011-09-11 02:35:54 | 2022-03-06 03:37:17.088669 | Design decision needed | closed | contrib.auth | New feature | Normal | dev | fixed | Accept variable keyword args in authentication | Currently authentication functions accept username and password, but some authentication algorithms may require other types of credentials (such as public keys or ip addresses). Thus the authenticate() function should accept variable keyword arguments to allow such constructs. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |
6491 | 2008-01-28 16:18:39 | 2011-09-28 16:12:17 | 2022-03-06 03:37:17.219008 | Accepted | closed | Uncategorized | dev | invalid | Improvements to User and Permission models | The Permission model increases the maximal permission name length from 50 to 100 (I actually hit this limit with some model permission names some of my projects). The User model will be sorted by last name, first name and then username. And the string representation of a user will include the last and first name if defined. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6492 | 2008-01-28 16:23:56 | 2008-03-17 14:05:44 | 2022-03-06 03:37:17.350798 | Ready for checkin | closed | Template system | dev | fixed | isValidFloat() should handle Unicode data | The isValidFloat() can receive Unicode data in which case str() fails. The patch uses smart_str() to cope with this. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6493 | 2008-01-28 16:27:06 | 2008-01-28 19:16:33 | 2022-03-06 03:37:17.478296 | Unreviewed | closed | Uncategorized | dev | wontfix | Don't clobber a set DJANGO_SETTINGS_MODULE | Only set the DJANGO_SETTINGS_MODULE value if it is not already set. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6494 | 2008-01-28 16:28:05 | 2008-03-18 14:34:48 | 2022-03-06 03:37:17.608633 | Ready for checkin | closed | Uncategorized | dev | fixed | Split off traceback HTML generation | The traceback HTML generation is a useful function by itself. So split it off ina separate function. | jacob | Bastian Kleineidam <calvin@debian.org> | easy-pickings | 0 | 1 | 0 | 0 | 0 | 0 | ||
6495 | 2008-01-28 16:28:39 | 2008-02-03 01:24:41 | 2022-03-06 03:37:17.741582 | Ready for checkin | closed | Uncategorized | dev | fixed | Fix traceback HTML syntax | Don't render empty <li> list elements due to empty traceback lines. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6496 | 2008-01-28 16:29:59 | 2008-06-19 04:28:10 | 2022-03-06 03:37:17.877455 | Accepted | closed | Uncategorized | dev | duplicate | Support gzipped fixture data | This patch allows storing fixtures in .gz files. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6497 | 2008-01-28 16:31:07 | 2008-06-16 04:00:08 | 2022-03-06 03:37:18.011926 | Ready for checkin | closed | Core (Serialization) | dev | fixed | Improved fixture error reporting | Print a complete traceback on fixture data error, and do not hide SystemExit and KeyboardInterrupt errors. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6498 | 2008-01-28 16:31:50 | 2017-11-14 15:05:07 | 2022-03-06 03:37:18.162208 | Accepted | closed | Database layer (models, ORM) | New feature | Normal | dev | fixed | Add case insensitive model ordering | Add support for case insensitive ordering of model objects by using {{{.order_by("*name")}}} or {{{.order_by("*-name")}}} syntax. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 1 | 0 | |
6499 | 2008-01-28 16:32:52 | 2012-01-21 15:21:19 | 2022-03-06 03:37:18.293498 | Accepted | closed | Core (Other) | Cleanup/optimization | Normal | dev | invalid | Close open file descriptors on compression | Close another file descriptor leak. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 0 | 0 | 0 | 0 | |
6500 | 2008-01-28 16:34:27 | 2008-02-19 01:59:34 | 2022-03-06 03:37:18.427091 | Ready for checkin | closed | Uncategorized | dev | fixed | Make models hashable | The Model instances should be hashable so that tests like "instance in set([instance1, instance2])" actually succeed. | nobody | Bastian Kleineidam <calvin@debian.org> | 0 | 1 | 1 | 0 | 0 | 0 | |||
6502 | 2008-01-28 22:09:32 | 2008-01-31 22:52:40 | 2022-03-06 03:37:18.700925 | Ready for checkin | closed | Documentation | dev | fixed | render_to_response documentation should mention context_instance | The context_instance keyword argument to django.shortcuts.render_to_response is not documented in the function's documentation. It should be documented, or at least referenced. context_instance is currently documented only with the !RequestContext documentation - not where you would look for information about render_to_response! | nobody | Daniel Pope <dan@mauveinternet.co.uk> | 0 | 1 | 0 | 0 | 0 | 0 | |||
6501 | 2008-01-28 16:50:22 | 2008-01-28 17:40:07 | 2022-03-06 03:37:18.566390 | Unreviewed | closed | Database layer (models, ORM) | dev | duplicate | DecimalField does not correctly set default value | !DecimalField's {{{default}}} argument appears to set the field to a unicode rather than a Decimal instance, this then makes calculations involving Decimals not work. I've attached a small models.py file that can be used to check the behaviour, including expected results and the actual ones. There's a smallish bug that {{{Decimal("0.00")}}} doesn't retain its precision on loading, but this may be a python bug. | nobody | Moof | 0 | 1 | 0 | 1 | 0 | 0 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE tickets ( id int primary key, created datetime, changetime datetime, last_pulled_from_trac datetime, stage text, status text, component text, type text, severity text, version text, resolution text, summary text, description text, owner text, reporter text, keywords text, easy boolean, has_patch boolean, needs_better_patch boolean, needs_tests boolean, needs_docs boolean, ui_ux boolean );