Re: [Django] #14662: auth and contenttypes post-syncdb handlers ignore 'db' option

2010-12-07 Thread Django
#14662: auth and contenttypes post-syncdb handlers ignore 'db' option
---+
  Reporter:  marcop| Owner:  nobody
Status:  closed| Milestone:  1.3   
 Component:  Contrib apps  |   Version:  SVN   
Resolution:  invalid   |  Keywords:  management muti_db
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Changes (by russellm):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  => 1.3

Comment:

 The contenttype and auth post_syncdb handlers ignore --db by design --
 they should be (and are) using the router to determine where content types
 should be written.

 If running `sycndb` on `other` causes an error because `default` doesn't
 exist, then that means you have a dependency in your database setup, and
 you need to run `sycndb` on `default` first. #14799 was the manifestation
 of this problem in the test suite.

 Similarly, createsuperuser shoudn't be overriding the default routing
 behavior for the User model.

-- 
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] #14662: auth and contenttypes post-syncdb handlers ignore 'db' option

2010-11-16 Thread Django
#14662: auth and contenttypes post-syncdb handlers ignore 'db' option
---+
  Reporter:  marcop| Owner:  nobody
Status:  new   | Milestone:
 Component:  Contrib apps  |   Version:  SVN   
Resolution:|  Keywords:  management muti_db
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Comment (by adamv):

 Somewhat related to this issue, I think:
 http://code.djangoproject.com/ticket/12767

-- 
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] #14662: auth and contenttypes post-syncdb handlers ignore 'db' option

2010-11-11 Thread Django
#14662: auth and contenttypes post-syncdb handlers ignore 'db' option
---+
  Reporter:  marcop| Owner:  nobody
Status:  new   | Milestone:
 Component:  Contrib apps  |   Version:  SVN   
Resolution:|  Keywords:  management muti_db
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Changes (by marcop):

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

Comment:

 please use multidb_management_patch.2.diff and not the first one attached

-- 
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] #14662: auth and contenttypes post-syncdb handlers ignore 'db' option

2010-11-11 Thread Django
#14662: auth and contenttypes post-syncdb handlers ignore 'db' option
+---
 Reporter:  marcop  |   Owner:  nobody
   Status:  new |   Milestone:
Component:  Contrib apps| Version:  SVN   
 Keywords:  management muti_db  |   Stage:  Unreviewed
Has_patch:  1   |  
+---
 to reproduce:

  1. set up two databases in settings: 'default' and 'other'
  2. make sure database 'default' is not created
  3. call command `python manage.py syncdb --database=other`

 attached patch solves the problem

 tests attached too.

 P.S. also added new `--database` option to createsuperuser command

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