#9741: generic relations: reverse chain of references not followed fully yon
delete
-----------------------------------+----------------------------------------
          Reporter:  wiswaud       |         Owner:  nobody                     
      
            Status:  new           |     Milestone:                             
      
         Component:  Contrib apps  |       Version:  1.0                        
      
        Resolution:                |      Keywords:  genericrelation 
genericforeignkey
             Stage:  Unreviewed    |     Has_patch:  0                          
      
        Needs_docs:  0             |   Needs_tests:  0                          
      
Needs_better_patch:  0             |  
-----------------------------------+----------------------------------------
Comment (by wiswaud):

 test output:

 {{{
 [EMAIL PROTECTED]:~/akoha/sandbox/gr_test$ ./manage.py test gr_test_app
 Creating test database...
 Creating table auth_permission
 Creating table auth_group
 Creating table auth_user
 Creating table auth_message
 Creating table django_content_type
 Creating table django_session
 Creating table django_site
 Creating table gr_test_app_a
 Creating table gr_test_app_fk_b
 Creating table gr_test_app_fk_c
 Creating table gr_test_app_gr_b
 Creating table gr_test_app_gr_c
 Installing index for auth.Permission model
 Installing index for auth.Message model
 Installing index for gr_test_app.FK_B model
 Installing index for gr_test_app.FK_C model
 Installing index for gr_test_app.GR_B model
 Installing index for gr_test_app.GR_C model
 F
 ======================================================================
 FAIL: Doctest: gr_test_app.models.GR_C
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/eric/django/django_src/django/test/_doctest.py", line 2180,
 in runTest
     raise self.failureException(self.format_failure(new.getvalue()))
 AssertionError: Failed doctest test for gr_test_app.models.GR_C
   File "/home/eric/akoha/sandbox/gr_test/gr_test_app/models.py", line 25,
 in GR_C

 ----------------------------------------------------------------------
 File "/home/eric/akoha/sandbox/gr_test/gr_test_app/models.py", line 54, in
 gr_test_app.models.GR_C
 Failed example:
     print A.objects.all(), GR_B.objects.all(), GR_C.objects.all(),
 FK_B.objects.all(), FK_C.objects.all()
 Expected:
     [] [] [] [] []
 Got:
     [] [] [<GR_C: GR_C object>] [] []


 ----------------------------------------------------------------------
 Ran 1 test in 0.041s

 FAILED (failures=1)
 Destroying test database...

 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9741#comment:2>
Django <http://code.djangoproject.com/>
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to