#11490: Editing a model that contains m2m inline hangs the server ----------------------------------+----------------------------------------- Reporter: v.kryac...@gmail.com | Owner: nobody Status: new | Milestone: Component: django.contrib.admin | Version: 1.0 Keywords: inlines | Stage: Unreviewed Has_patch: 0 | ----------------------------------+----------------------------------------- The code first:[[BR]] {{{ #models.py class Obj(models.Model): name = models.CharField(max_length=100)
class ObjConf(models.Model): obj = models.ForeignKey(Obj, unique=True) someStuff = models.ManyToManyField('someStuff') class someStuff(models.Model): name = models.CharField(max_length=100) #admin.py class ObjConfInline(admin.TabularInline): model = ObjConf class ObjAdmin(admin.ModelAdmin): inlines = [ObjConfInline,] admin.site.register(Obj, ObjAdmin) }}} When I create a new instance of Obj, everything is OK. But when trying to /admin/project/app_name/Obj/1 the server starts thinking forever and never responds(only Ctrl+C works) -- Ticket URL: <http://code.djangoproject.com/ticket/11490> 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 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 -~----------~----~----~----~------~----~------~--~---