Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2016-01-09 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  hvdklauw
 |
 Type:  New feature  |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  admin, list_filter,  | Triage Stage:  Accepted
  default|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by timgraham):

 You can help by reviewing the patch using the PatchReviewChecklist and
 marking the ticket "ready for checkin" when all looks good.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.7f91b48fc655324590fbe4ef8a7cb42d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2016-01-09 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  hvdklauw
 |
 Type:  New feature  |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  admin, list_filter,  | Triage Stage:  Accepted
  default|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by xblitz):

 +1 and bump, will this be included in 1.10 ?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.795d46561baa01a4939993cb333a6b9e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2015-12-14 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  hvdklauw
 |
 Type:  New feature  |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  admin, list_filter,  | Triage Stage:  Accepted
  default|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by giuliettamasina):

 * cc: markus.magnuson@… (added)


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.698fac7cf034e9b8b693f7509e3bbd10%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2015-11-20 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  hvdklauw
 |
 Type:  New feature  |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  admin, list_filter,  | Triage Stage:  Accepted
  default|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by hvdklauw):

 * needs_better_patch:  1 => 0


Comment:

 Totally forgot to update the ticket, it's all done and ready now.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.17d9586c6540e26a816b1879d146fe69%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2015-11-13 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  hvdklauw
 |
 Type:  New feature  |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  admin, list_filter,  | Triage Stage:  Accepted
  default|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by hvdklauw):

 * needs_better_patch:  0 => 1


Comment:

 Just did some testing as well, and the filters selected value does not
 work correctly with the defaults. Working on a fix.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.fa364088a1b36af98c8911da30af1e3f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2015-11-09 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  hvdklauw
 |
 Type:  New feature  |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  admin, list_filter,  | Triage Stage:  Accepted
  default|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by timgraham):

 While testing after commit is certainly helpful, if you can give feedback
 on and/or test the [https://github.com/django/django/pull/5579 pull
 request] before it's committed, that's even more helpful.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.d2b79e8ec86cacafa468df242431ddef%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2015-11-08 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  hvdklauw
 |
 Type:  New feature  |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  admin, list_filter,  | Triage Stage:  Accepted
  default|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by avorio):

 I'm willing to test this out once a patch has been committed.

 Implemented simply, as originally described, this would be a very useful
 feature indeed.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.cb3620e335c651a981221638d3e08217%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2015-11-08 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  hvdklauw
 |
 Type:  New feature  |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  admin, list_filter,  | Triage Stage:  Accepted
  default|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by avorio):

 * cc: a@… (added)


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.5682e9f143a1f46b93fcc718b7e620ad%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2015-11-07 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  hvdklauw
 |
 Type:  New feature  |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  admin, list_filter,  | Triage Stage:  Accepted
  default|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by hvdklauw):

 * has_patch:  0 => 1


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.235cda3c212fd9ef6a6627b7b6685782%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2015-11-07 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  hvdklauw
 |
 Type:  New feature  |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  admin, list_filter,  | Triage Stage:  Accepted
  default|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by hvdklauw):

 * status:  new => assigned
 * owner:   => hvdklauw


Comment:

 Working on this during duth sprints

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.149416c90da03e64a133502a1fd9e4b4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2015-09-10 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:
 |
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  admin, list_filter,  | Triage Stage:  Accepted
  default|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by ckirby):

 * owner:  ckirby =>
 * status:  assigned => new


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.39c3ec3e7aa42204b3d823e2281747c2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2015-09-10 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  ckirby
 |
 Type:  New feature  |   Status:  assigned
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  admin, list_filter,  | Triage Stage:  Accepted
  default|
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by ckirby):

 * status:  new => assigned
 * owner:  nobody => ckirby


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.b2fbd60169b69f5340e43f7fdce33087%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2014-08-20 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  nobody
 |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  admin, list_filter,  |  Needs documentation:  0
  default|  Patch needs improvement:  0
Has patch:  0|UI/UX:  0
  Needs tests:  0|
Easy pickings:  0|
-+-
Changes (by trbs):

 * cc: trbs@… (added)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.f5163129224758e6f402b05bf3721dd0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2014-02-05 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  nobody
 |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  admin, list_filter,  |  Needs documentation:  0
  default|  Patch needs improvement:  0
Has patch:  0|UI/UX:  0
  Needs tests:  0|
Easy pickings:  0|
-+-
Changes (by schrinaw@…):

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


Comment:

 I would argue that this is not fixed.  I believe I have the same issue as
 the OP - I want to choose which of the available filter options should be
 selected by default.  I don't want to customize the filtering behavior by
 subclassing SimpleListFilter.  The desired behavior is that when I go to
 admin changelist url, it is *as if I had already chosen one of the
 filtering options*.  I don't want to change the behavior of the filtering
 options.  I just want one (the defined default) to be pre-selected.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.ffca8d4169ec884d88db9a3e2b85e928%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2013-06-03 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  nobody
 |   Status:  closed
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:  fixed
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  admin, list_filter,  |  Needs documentation:  0
  default|  Patch needs improvement:  0
Has patch:  0|UI/UX:  0
  Needs tests:  0|
Easy pickings:  0|
-+-
Changes (by oinopion):

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


Comment:

 This feature has been already introduced in Django, unfortunately, I don't
 know when. Basically, subclass `SimpleListFilter` and override two methods
 `lookups` and `queryset`. You can read about it in
 
[https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_filter
 ModelAdmin.list_filter docs]

 I'm closing this ticket as fixed, as described feature is in my opinion
 what you were looking for. If you feel it's not what you need, please
 reopen with detailed description what should be changed.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/093.3e9bda8f00997c7c8b21483c2af98270%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2012-11-29 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  nobody
 |   Status:  reopened
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  admin, list_filter,  |  Needs documentation:  0
  default|  Patch needs improvement:  0
Has patch:  0|UI/UX:  0
  Needs tests:  0|
Easy pickings:  0|
-+-

Comment (by charettes):

 I think you can achieve this in 1.4+ by subclassing
 `django.contrib.admin.ChoicesFieldListFilter`.

-- 
Ticket URL: 
Django 
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 https://groups.google.com/groups/opt_out.




Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2012-09-09 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
 Reporter:  Riskable |Owner:  nobody
 |   Status:  reopened
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  admin, list_filter,  |  Needs documentation:  0
  default|  Patch needs improvement:  0
Has patch:  0|UI/UX:  0
  Needs tests:  0|
Easy pickings:  0|
-+-
Changes (by net147):

 * cc: net147 (added)


-- 
Ticket URL: 
Django 
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 https://groups.google.com/groups/opt_out.




Re: [Django] #8851: Please add a default option to list_filter in the admin interface

2011-05-13 Thread Django
#8851: Please add a default option to list_filter in the admin interface
-+-
   Reporter:  Riskable   |  Owner:  nobody
 | Status:  reopened
   Type:  New|  Component:  contrib.admin
  feature|   Severity:  Normal
  Milestone: |   Keywords:  admin, list_filter,
Version:  SVN|  default
 Resolution: |  Has patch:  0
   Triage Stage:  Accepted   |Needs tests:  0
Needs documentation:  0  |  Easy pickings:  0
Patch needs improvement:  0  |
-+-
Changes (by mofle):

 * easy:   => 0


Comment:

 This would be very useful. Hoping for this in 1.4.

 There is a ugly workaround on [http://stackoverflow.com/questions/851636
 /default-filter-in-django-admin/3783930#3783930 StackOverflow], but this
 does not show the default filter in the filterbar.

-- 
Ticket URL: 
Django 
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] #8851: Please add a default option to list_filter in the admin interface

2011-03-01 Thread Django
#8851: Please add a default option to list_filter in the admin interface
---+
   Reporter:  Riskable | Owner: 
 nobody 
 Status:  reopened | Milestone: 

  Component:  django.contrib.admin |   Version: 
 SVN
 Resolution:   |  Keywords: 
 admin, list_filter, default
   Triage Stage:  Accepted | Has patch: 
 0  
Needs documentation:  0|   Needs tests: 
 0  
Patch needs improvement:  0|  
---+
Changes (by shanx):

 * cc: remco@… (added)


-- 
Ticket URL: 
Django 
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] #8851: Please add a default option to list_filter in the admin interface

2010-07-27 Thread Django
#8851: Please add a default option to list_filter in the admin interface
--+-
  Reporter:  Riskable   | Owner:  
nobody 
Status:  reopened | Milestone:  
   
 Component:  django.contrib.admin |   Version:  SVN 
   
Resolution:   |  Keywords:  
admin, list_filter, default
 Stage:  Accepted | Has_patch:  0   
   
Needs_docs:  0|   Needs_tests:  0   
   
Needs_better_patch:  0|  
--+-
Changes (by kc9ddi):

 * cc: kc9ddi (added)

-- 
Ticket URL: 
Django 
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-upda...@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] #8851: Please add a default option to list_filter in the admin interface

2010-07-21 Thread Django
#8851: Please add a default option to list_filter in the admin interface
--+-
  Reporter:  Riskable   | Owner:  
nobody 
Status:  reopened | Milestone:  
   
 Component:  django.contrib.admin |   Version:  SVN 
   
Resolution:   |  Keywords:  
admin, list_filter, default
 Stage:  Accepted | Has_patch:  0   
   
Needs_docs:  0|   Needs_tests:  0   
   
Needs_better_patch:  0|  
--+-
Changes (by wiz...@roborooter.com):

 * cc: wiz...@roborooter.com (added)

Comment:

 Is this something that just needs committing?

-- 
Ticket URL: 
Django 
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-upda...@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] #8851: Please add a default option to list_filter in the admin interface

2010-05-14 Thread Django
#8851: Please add a default option to list_filter in the admin interface
--+-
  Reporter:  Riskable   | Owner:  
nobody 
Status:  reopened | Milestone:  
   
 Component:  django.contrib.admin |   Version:  SVN 
   
Resolution:   |  Keywords:  
admin, list_filter, default
 Stage:  Accepted | Has_patch:  0   
   
Needs_docs:  0|   Needs_tests:  0   
   
Needs_better_patch:  0|  
--+-
Changes (by anonymous):

 * cc: a...@andybak.net (added)

-- 
Ticket URL: 
Django 
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-upda...@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] #8851: Please add a default option to list_filter in the admin interface

2009-07-31 Thread Django
#8851: Please add a default option to list_filter in the admin interface
--+-
  Reporter:  Riskable   | Owner:  
nobody 
Status:  reopened | Milestone:  
   
 Component:  django.contrib.admin |   Version:  SVN 
   
Resolution:   |  Keywords:  
admin, list_filter, default
 Stage:  Accepted | Has_patch:  0   
   
Needs_docs:  0|   Needs_tests:  0   
   
Needs_better_patch:  0|  
--+-
Changes (by anonymous):

 * cc: rlaa...@wiktel.com (added)

-- 
Ticket URL: 
Django 
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] #8851: Please add a default option to list_filter in the admin interface

2009-06-30 Thread Django
#8851: Please add a default option to list_filter in the admin interface
--+-
  Reporter:  Riskable   | Owner:  
nobody 
Status:  reopened | Milestone:  
   
 Component:  django.contrib.admin |   Version:  SVN 
   
Resolution:   |  Keywords:  
admin, list_filter, default
 Stage:  Accepted | Has_patch:  0   
   
Needs_docs:  0|   Needs_tests:  0   
   
Needs_better_patch:  0|  
--+-
Changes (by anonymous):

 * cc: trevor (added)

-- 
Ticket URL: 
Django 
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] #8851: Please add a default option to list_filter in the admin interface

2009-04-15 Thread Django
#8851: Please add a default option to list_filter in the admin interface
--+-
  Reporter:  Riskable   | Owner:  
nobody 
Status:  reopened | Milestone:  
   
 Component:  django.contrib.admin |   Version:  SVN 
   
Resolution:   |  Keywords:  
admin, list_filter, default
 Stage:  Accepted | Has_patch:  0   
   
Needs_docs:  0|   Needs_tests:  0   
   
Needs_better_patch:  0|  
--+-
Changes (by carljm):

 * cc: carljm (added)

-- 
Ticket URL: 
Django 
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] #8851: Please add a default option to list_filter in the admin interface

2009-04-15 Thread Django
#8851: Please add a default option to list_filter in the admin interface
--+-
  Reporter:  Riskable   | Owner:  
nobody 
Status:  reopened | Milestone:  
   
 Component:  django.contrib.admin |   Version:  SVN 
   
Resolution:   |  Keywords:  
admin, list_filter, default
 Stage:  Accepted | Has_patch:  0   
   
Needs_docs:  0|   Needs_tests:  0   
   
Needs_better_patch:  0|  
--+-
Changes (by kmtracey):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 A workaround in a comment doesn't make the ticket fixed.  The ticket is
 fixed when a change is checked into the Django source tree.

-- 
Ticket URL: 
Django 
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] #8851: Please add a default option to list_filter in the admin interface

2009-04-15 Thread Django
#8851: Please add a default option to list_filter in the admin interface
--+-
  Reporter:  Riskable   | Owner:  
nobody 
Status:  closed   | Milestone:  
   
 Component:  django.contrib.admin |   Version:  SVN 
   
Resolution:  fixed|  Keywords:  
admin, list_filter, default
 Stage:  Accepted | Has_patch:  0   
   
Needs_docs:  0|   Needs_tests:  0   
   
Needs_better_patch:  0|  
--+-
Changes (by nitipit):

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

Comment:

 That's a great idea to add this feature.[[BR]]
 for now, I make a bit hack of code to set
 django.contrib.admin.filterspecs.RelatedFilterSpec.lookup_choices to get
 objects from "ModelAdmin.formfield_for_foreignkey()"
 {{{
 class RelatedFilterSpec(FilterSpec):
 def __init__(self, f, request, params, model, model_admin):
 super(RelatedFilterSpec, self).__init__(f, request, params, model,
 model_admin)
 if isinstance(f, models.ManyToManyField):
 self.lookup_title = f.rel.to._meta.verbose_name
 else:
 self.lookup_title = f.verbose_name
 rel_name = f.rel.get_related_field().name
 self.lookup_kwarg = '%s__%s__exact' % (f.name, rel_name)
 self.lookup_val = request.GET.get(self.lookup_kwarg, None)
 #   self.lookup_choices = f.rel.get_choices(include_blank=False); >>
 f.rel.get_choices will return lists of object tuple
 self.lookup_choices = [] ;
 for object in
 model_admin.formfield_for_foreignkey(f,request).queryset :
 list = (object.id,object.__str__()) ;
 self.lookup_choices.append(list);
 }}}

 Then just use formfield_for_foreignkey() which is described in django
 document to filter the objects we want.

-- 
Ticket URL: 
Django 
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] #8851: Please add a default option to list_filter in the admin interface

2009-02-25 Thread Django
#8851: Please add a default option to list_filter in the admin interface
--+-
  Reporter:  Riskable   | Owner:  
nobody 
Status:  new  | Milestone:  
   
 Component:  django.contrib.admin |   Version:  SVN 
   
Resolution:   |  Keywords:  
admin, list_filter, default
 Stage:  Accepted | Has_patch:  0   
   
Needs_docs:  0|   Needs_tests:  0   
   
Needs_better_patch:  0|  
--+-
Comment (by Riskable):

 The syntax doesn't matter...  The feature is what matters =).  If you're
 going to implement this you can do it however you like (and I thank you!).

-- 
Ticket URL: 
Django 
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] #8851: Please add a default option to list_filter in the admin interface

2009-02-25 Thread Django
#8851: Please add a default option to list_filter in the admin interface
--+-
  Reporter:  Riskable   | Owner:  
nobody 
Status:  new  | Milestone:  
   
 Component:  django.contrib.admin |   Version:  SVN 
   
Resolution:   |  Keywords:  
admin, list_filter, default
 Stage:  Accepted | Has_patch:  0   
   
Needs_docs:  0|   Needs_tests:  0   
   
Needs_better_patch:  0|  
--+-
Changes (by jacob):

  * stage:  Unreviewed => Accepted

Comment:

 Not a big fan of the syntax, but a useful feature.

-- 
Ticket URL: 
Django 
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
-~--~~~~--~~--~--~---