Re: [Django] #11490: Editing a model that contains m2m inline hangs the server

2010-02-02 Thread Django
#11490: Editing a model that contains m2m inline hangs the server
---+
  Reporter:  v.kryac...@gmail.com  | Owner:  nobody 
Status:  closed| Milestone: 
 Component:  django.contrib.admin  |   Version:  1.0
Resolution:  worksforme|  Keywords:  inlines
 Stage:  Unreviewed| Has_patch:  0  
Needs_docs:  0 |   Needs_tests:  0  
Needs_better_patch:  0 |  
---+
Changes (by russellm):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => worksforme
  * needs_tests:  => 0
  * needs_docs:  => 0

-- 
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-upda...@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] #11490: Editing a model that contains m2m inline hangs the server

2009-07-16 Thread Django
#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: 
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
-~--~~~~--~~--~--~---