Re: [Django] #14162: Dumpdata needs an option to use the base manager instead of the default manager

2010-08-23 Thread Django
#14162: Dumpdata needs an option to use the base manager instead of the default
manager
+---
  Reporter:  PaulM  | Owner:  PaulM
Status:  new| Milestone:  1.3  
 Component:  django-admin.py|   Version:  SVN  
Resolution: |  Keywords:   
 Stage:  Ready for checkin  | Has_patch:  1
Needs_docs:  0  |   Needs_tests:  0
Needs_better_patch:  0  |  
+---
Changes (by gabrielhurley):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Ready for checkin
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 This patch looks good to me. It's got docs and tests, applies cleanly,
 respects multi-db, does something useful without cruft... I'll call this
 RFC until a core dev can take a look.

-- 
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.



[Django] #14162: Dumpdata needs an option to use the base manager instead of the default manager

2010-08-23 Thread Django
#14162: Dumpdata needs an option to use the base manager instead of the default
manager
-+--
 Reporter:  PaulM|   Owner:  PaulM 
   Status:  new  |   Milestone:  1.3   
Component:  django-admin.py  | Version:  SVN   
 Keywords:   |   Stage:  Unreviewed
Has_patch:  1|  
-+--
 Objects with custom managers sometimes filter results when `dumpdata` is
 run. Often we want to dump all the objects in our database, not just the
 subset of objects which are returned by the default manager.

 The attached patch adds a `--all` option to the `dumpdata` command which
 makes it use Django's base manager instead of the default manager. This
 means that even objects which would normally be filtered by the default
 manager are returned.

-- 
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.