Re: [Django] #15654: qs.delete() fails if a model isn't in INSTALED_APPS and the related objects cache is already filled.

2014-06-06 Thread Django
#15654: qs.delete() fails if a model isn't in INSTALED_APPS and the related 
objects
cache is already filled.
-+-
 Reporter:  apollo13 |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:  wontfix
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by aaugustin):

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


Comment:

 After the app loading refactor, you aren't allowed to import models that
 aren't in an installed application.

-- 
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/066.9e6bb3e9d10d0a0d9103390b3482393e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15654: qs.delete() fails if a model isn't in INSTALED_APPS and the related objects cache is already filled.

2011-04-19 Thread Django
#15654: qs.delete() fails if a model isn't in INSTALED_APPS and the related 
objects
cache is already filled.
-+-
   Reporter:  apollo13   |Owner:  nobody
   Type:  Bug|   Status:  new
  Milestone: |Component:  Database layer
Version:  SVN|  (models, ORM)
 Resolution: | Severity:  Normal
   Triage Stage:  Accepted   | Keywords:
Needs documentation:  0  |Has patch:  0
Patch needs improvement:  0  |  Needs tests:  0
-+-
Changes (by jacob):

 * stage:  Unreviewed => Accepted


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



[Django] #15654: qs.delete() fails if a model isn't in INSTALED_APPS and the related objects cache is already filled.

2011-03-21 Thread Django
#15654: qs.delete() fails if a model isn't in INSTALED_APPS and the related 
objects
cache is already filled.
--+---
 Reporter:  apollo13  | Owner:  nobody
   Status:  new   | Milestone:
Component:  Database layer (models, ORM)  |   Version:  SVN
 Keywords:|  Triage Stage:  Unreviewed
Has patch:  0 |
--+---
 ContentType.objects.delete() fails for use since 1.3 (on_delete support to
 be exact) since it tries to delete all related objects pointing to that
 contenttype. If one of the related models is not in INSTALLED_APPS (in our
 case django.contrib.auth), this can fail if the model got imported (which
 registers it etc…; in our case django.contrib.contenttypes.generic
 imported auth.models -- via contrib.admin). Attached is a testcase
 showcasing the issue.

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