Re: [Django] #19345: ContentType.objects.get_for_model shouldn't create missing content types

2013-03-23 Thread Django
#19345: ContentType.objects.get_for_model shouldn't create missing content types
-+-
 Reporter:  aaugustin|Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:   |  Version:  master
  contrib.contenttypes   |   Resolution:  wontfix
 Severity:  Normal   | Triage Stage:  Design
 Keywords:   |  decision needed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by aaugustin):

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


Comment:

 I can't come up with a sufficiently good reason to justify changing this,
 and I suppose I can live with it, if I never attempt to debug syncdb again
 ;)

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19345: ContentType.objects.get_for_model shouldn't create missing content types

2012-12-08 Thread Django
#19345: ContentType.objects.get_for_model shouldn't create missing content types
-+-
 Reporter:  aaugustin|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:   |  Version:  master
  contrib.contenttypes   |   Resolution:
 Severity:  Normal   | Triage Stage:  Design
 Keywords:   |  decision needed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by aaugustin):

 * stage:  Unreviewed => Design decision needed


-- 
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] #19345: ContentType.objects.get_for_model shouldn't create missing content types

2012-11-28 Thread Django
#19345: ContentType.objects.get_for_model shouldn't create missing content types
-+-
 Reporter:  aaugustin|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:   |  Version:  master
  contrib.contenttypes   |   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:   |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by ptone):

 Seems that this behavior is fully intentional and long standing based on
 code comments and git-blame.

 Given that as you say - this is mostly a non-issue either way under normal
 usage, and there is a slim chance that the backwards incompatible change
 to raise an error could cause some edge case breakage - wouldn't it be
 better to leave as is and just access the ContentType model through
 standard manager methods?

 Basically - is this worth changing?

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




[Django] #19345: ContentType.objects.get_for_model shouldn't create missing content types

2012-11-22 Thread Django
#19345: ContentType.objects.get_for_model shouldn't create missing content types
+
   Reporter:  aaugustin |  Owner:  nobody
   Type:  Bug   | Status:  new
  Component:  contrib.contenttypes  |Version:  master
   Severity:  Normal|   Keywords:
   Triage Stage:  Unreviewed|  Has patch:  0
Needs documentation:  0 |Needs tests:  0
Patch needs improvement:  0 |  Easy pickings:  0
  UI/UX:  0 |
+
 This behavior is very unexpected, given the name of the method.

 In general, this isn't an issue because content types always exist —
 they're created in `post_syncdb`.

 I encountered the problem while debugging multiple databases issues
 involving `syncdb` (#16039). The `post_syncdb` handler that creates
 permissions looks for content types, creating them as a side effect. Since
 I was attempting to test that the content types weren't created, my test
 failed in a very unexpected fashion.

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