tickets
12 rows where "changetime" is on date 2011-09-28 and "created" is on date 2008-07-19 sorted by last_pulled_from_trac
This data as json, CSV (advanced)
Suggested facets: stage, component, owner, reporter, has_patch
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7822 | 2008-07-19 00:25:46 | 2011-09-28 16:12:16 | 2022-03-06 03:40:38.593343 | Unreviewed | closed | contrib.admin | dev | duplicate | Creating a OneToOneField with a related model breaks the list_filter interface in the related model | This has happened since before the NFA merge. The summary of the ticket pretty much says it all. If you create a model (let's call it "UserProfile") and give that model a OneToOneField to another model (In this case "User"), the list_display interface will disappear on the User model's change list. If you change the o2o to a foreignkey, the list_filter panel comes back. An entire project is included (admin_test.zip). In this case I did User and UserProfile, but it appears to happen with any OneToOnefield. | nobody | ElliottM | admin onetoone o2o list_filter | 0 | 0 | 0 | 0 | 0 | 0 | ||
7823 | 2008-07-19 00:50:16 | 2011-09-28 16:12:17 | 2022-03-06 03:40:38.786824 | Accepted | closed | Database layer (models, ORM) | dev | fixed | ForeignKey get_db_prep_lookup doesn't work for custom primary key | If a parent model has a user-defined field as a primary key: {{{ class Parent(models.Model): user_id = CutomUserField(primary_key=True) class Child(models.Model): parent = models.ForeignKey(Parent) }}} then this query will fail: {{{ p = Parent(...) Child.objects.filter(parent=p) }}} This happens because get_db_prep_lookup doesn't get called on p.user_id and its value (which is a custom user class) gets passed as an sql parameter into db. Patch follows. P.S. A bug is very practical: we have custom non-model user objects instead of contrib.auth.models.User and can't reference them from models with custom UserField because many queries using those models would break. | mtredinnick | isagalaev | 0 | 1 | 0 | 0 | 0 | 0 | |||
7824 | 2008-07-19 00:56:13 | 2011-09-28 16:12:16 | 2022-03-06 03:40:38.979260 | Accepted | closed | Uncategorized | dev | fixed | Missing information about autodiscover and admin.py in the tutorial and backwards incompatible page | From what I understand, using admin.py to specify admin related settings instead of entering it in models.py is the desired way in the new trunk version. If this is the case, I suggest that the admin.austodiscover() should be explained in the tutorial. Additionally, if this is the desired setup, maybe the autodiscover should be included but commented out in the urls.py for each project, or even be active if the admin site is imported. | jacob | tome | 0 | 0 | 0 | 0 | 0 | 0 | |||
7825 | 2008-07-19 01:06:05 | 2011-09-28 16:12:16 | 2022-03-06 03:40:39.134633 | Unreviewed | closed | Metasystem | dev | fixed | modeltests/delete test fails after NFA merge | After the NFA merge, this happens: {{{ ====================================================================== FAIL: Doctest: modeltests.delete.models.__test__.API_TESTS ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jacob/Projects/Django/upstream/django/test/_doctest.py", line 2180, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for modeltests.delete.models.__test__.API_TESTS File "/Users/jacob/Projects/Django/upstream/tests/modeltests/delete/models.py", line unknown line number, in API_TESTS ---------------------------------------------------------------------- File "/Users/jacob/Projects/Django/upstream/tests/modeltests/delete/models.py", line ?, in modeltests.delete.models.__test__.API_TESTS Failed example: del D._meta._related_objects_cache Exception raised: Traceback (most recent call last): File "/Users/jacob/Projects/Django/upstream/django/test/_doctest.py", line 1267, in __run compileflags, 1) in test.globs File "<doctest modeltests.delete.models.__test__.API_TESTS[17]>", line 1, in <module> del D._meta._related_objects_cache AttributeError: _related_objects_cache ---------------------------------------------------------------------- Ran 1 test in 0.046s FAILED (failures=1) }}} It appears to be related to the somewhat fishy internals hacking in the test case. The failure may be related to the change in import behavior because of admin registry class. | lukeplant | jacob | 0 | 0 | 0 | 0 | 0 | 0 | |||
7826 | 2008-07-19 01:42:13 | 2011-09-28 16:12:16 | 2022-03-06 03:40:39.319754 | Unreviewed | closed | Testing framework | dev | fixed | invalid_models test unhappy after NFA merge | Like #7825, this one turns up: {{{ $ ./runtests.py --settings=settings invalid_models ====================================================================== FAIL: runTest (__main__.InvalidModelTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "./runtests.py", line 67, in runTest self.fail('Unable to load invalid model module') AssertionError: Unable to load invalid model module ---------------------------------------------------------------------- Ran 11 tests in 0.391s FAILED (failures=1) }}} Note: If you're seeing something else, then try removing all .pyc files in your tree first. | nobody | uzi | 0 | 0 | 0 | 0 | 0 | 0 | |||
7827 | 2008-07-19 01:56:24 | 2011-09-28 16:12:17 | 2022-03-06 03:40:39.475504 | Unreviewed | closed | contrib.admin | dev | duplicate | Admin change_view uses _default_manager in place of self.queryset() | The admin change_view uses self.model._default_manager in place of self.queryset(request). | nobody | Alex | 0 | 1 | 0 | 0 | 0 | 0 | |||
7829 | 2008-07-19 02:29:42 | 2011-09-28 16:12:16 | 2022-03-06 03:40:39.842535 | Accepted | closed | Documentation | dev | fixed | [djangoproject.com] The admin doc page is not linked to from the main doc page. | The admin page has it's own documentation page (http://www.djangoproject.com/documentation/admin/), but a link to that page is nowhere to be found in the main doc page(http://www.djangoproject.com/documentation/). I think the reasons for having it linked are pretty obvious. | nobody | ElliottM | doc admin djangoproject.com website | 0 | 0 | 0 | 0 | 0 | 0 | ||
7830 | 2008-07-19 05:58:45 | 2011-09-28 16:12:16 | 2022-03-06 03:40:40.012862 | Accepted | closed | Uncategorized | dev | fixed | removal of some deprecated features for 1.0 | Attached is a patch that removes: * "simple" cache backend * `ObjectPaginator` * `edit_inline_type` argument for `ForeignKey` fields * QOperator, QNot, QAnd and QOr * maxlength argument Along with mentions of them in the docs. Note, the following should also be removed (if applying the patch doesn't do it): * django/utils/maxlength.py * tests/regressiontests/maxlength/ | gwilson | 0 | 0 | 0 | 0 | 0 | 0 | ||||
7831 | 2008-07-19 07:55:10 | 2011-09-28 16:12:17 | 2022-03-06 03:40:40.217468 | Accepted | closed | Internationalization | dev | fixed | get_language_from_request should be case-insensitive while matching settings.LANGUAGES | HTTP_ACCEPT_LANGUAGE sent by browser will be different from its vendor or OS, for example: In XP, IE(6 or 7) will send '''zh-tw''', in Vista it will be '''zh-TW''' But firefox2 in some machine will send '''zh-tw''' or '''zh-TW''', In firefox3, it will send '''zh-tw''' always. (In my machine). This will cause this line in trans_real.py failed: {{{ if lang not in supported: continue }}} It should compare it with case-insensitive way to fulfill all situations. Thanks. | nobody | bear330 | locale, language, case, middleware | 0 | 1 | 0 | 0 | 0 | 0 | ||
7832 | 2008-07-19 10:03:22 | 2011-09-28 16:12:16 | 2022-03-06 03:40:40.374058 | Unreviewed | closed | Documentation | dev | fixed | documentaion syntax error in newforms documentation | In the Formsets section, there appears a syntax error message: {{{ System Message: WARNING/2 (<string>, line 2198); backlink Inline literal start-string without end-string. }}} screen capture is attached. | nobody | omat@gezgin.com | 0 | 0 | 0 | 0 | 0 | 0 | |||
7841 | 2008-07-19 20:21:41 | 2011-09-28 16:12:16 | 2022-03-06 03:40:41.987260 | Unreviewed | closed | Documentation | dev | fixed | A typo in newforms docs, {% form %} is a not needed line | I will attached with typo | msaelices | msaelices | 0 | 1 | 0 | 0 | 0 | 0 | |||
7845 | 2008-07-19 22:36:31 | 2011-09-28 16:12:17 | 2022-03-06 03:40:42.646548 | Design decision needed | closed | Core (Management commands) | dev | fixed | ./manage.py reset fails if app does not define models | ./manage.py reset fails with an obscure IndexError if an app does not define models. There seems to be no strong reason why it should fail though, and in fact the problem is a line in ''core/management/sql.py'' that doesn't seem to have any effect at all anyway (see patch). | nobody | miracle2k | 0 | 1 | 0 | 0 | 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 );