Re: [Django] #15104: Django 1.2.4 removes support for lookups that span relationships in limit_choices_to

2011-01-21 Thread Django
#15104: Django 1.2.4 removes support for lookups that span relationships in
limit_choices_to
+---
  Reporter:  natrius| Owner:  nobody
Status:  closed | Milestone:
 Component:  Uncategorized  |   Version:  1.2   
Resolution:  worksforme |  Keywords:
 Stage:  Unreviewed | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by natrius):

  * status:  new => closed
  * resolution:  => worksforme

Comment:

 You're correct. Thanks.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15104#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15104: Django 1.2.4 removes support for lookups that span relationships in limit_choices_to

2011-01-17 Thread Django
#15104: Django 1.2.4 removes support for lookups that span relationships in
limit_choices_to
+---
  Reporter:  natrius| Owner:  nobody
Status:  new| Milestone:
 Component:  Uncategorized  |   Version:  1.2   
Resolution: |  Keywords:
 Stage:  Unreviewed | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by ramiro):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 `list_filters` supports lookups that span relationships but there have
 been a couple of bug fixed since 1.2.4 got released. I'd like to ask you
 for two things:

  * Please test with a recent checkout of the `releases/1.2.X` SVN branch
 and verify if the issue you are seeing is still present.
  * Please clarify, if it is with a concrete, simple example it would be
 great, the situation you report. It is not clear to me if the spaning over
 relationships is needed in the !ModelAdmin of the model declaring the
 relationship or in the one of the model that is the target of the
 relationship (the one shown in the `limit_choices_to` popup, the
 `limit_choices_to` dictionary can accept lookups that span relatinships).

 I won't accept nor close the ticket, leaving it subject to your feedback.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15104#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #15104: Django 1.2.4 removes support for lookups that span relationships in limit_choices_to

2011-01-17 Thread Django
#15104: Django 1.2.4 removes support for lookups that span relationships in
limit_choices_to
---+
 Reporter:  natrius|   Owner:  nobody
   Status:  new|   Milestone:
Component:  Uncategorized  | Version:  1.2   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 Django 1.2.4 requires fields listed in `limit_choices_to` to be present in
 `list_filters`, but the latter doesn't support lookups that span
 relationships. A `FieldDoesNotExist` exception is raised by
 `db.models.Options.get_field` when the admin is trying to display the
 filter in the sidebar of the list view in
 `admin.views.main.ChangeList.get_filters`.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15104>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.