#31435: RecursionError when deleting a model with one to many relationship.
-------------------------------------+-------------------------------------
     Reporter:  Fabian Allendorf     |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  3.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:                       |             Triage Stage:
  delete,model,recursion,stack,overflow,reference,foreign,key,one,to,many|  
Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by felixxm):

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


Comment:

 `django-timeseries` looks abandoned and it doesn't support
 [https://github.com/anthonyalmarza/django-
 timeseries/blob/e7ce5ef15daad18d11e4c0e49603df7d0fff2dc5/tox.ini#L8-L11
 Django 2.0+]. Moreover I was not able to reproduce this issue with a
 sample project
 {{{
     def test_regression(self):
         obj = MainModel.objects.create()
         r1 = RefModel.objects.create(frequency=timedelta(1),
 main_model=obj)
         r2 = RefModel.objects.create(frequency=timedelta(2),
 main_model=obj)
         obj.delete()
 }}}

 Can you provide a sample project (without `django-timeseries`) that
 reproduces this issue?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31435#comment:1>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.7094fb9db49c82e527aacf9771095e5f%40djangoproject.com.

Reply via email to