#2500: admin popup window stays open after adding and saving an item that has a
primary_key=True field
-------------------------------------------------+--------------------------
 Reporter:  Gary Wilson <[EMAIL PROTECTED]>  |       Owner:  adrian
     Type:  defect                               |      Status:  new   
 Priority:  normal                               |   Milestone:        
Component:  Admin interface                      |     Version:  SVN   
 Severity:  normal                               |    Keywords:        
-------------------------------------------------+--------------------------
 I have the models:
 
 {{{
 #!python
 class Semester(models.Model):
     name = models.CharField(maxlength=20, primary_key=True)
 
 class Course(models.Model):
     number = models.CharField('course number', maxlength=6)
     title = models.CharField('course title', maxlength=100)
     semester = models.ForeignKey(Semester)
     year = models.PositiveIntegerField()
 }}}
 
 Steps to reproduce:
  1. In the admin, click Courses.
  1. Click add course.
  1. Click plus next to Semester dropdown.
  1. Fill in semester name.
  1. Click save.
 
 What happens:
  * The add semester popup window goes blank.
  * The add semester popup window does not close itself and must be closed
 manually.
  * The new semester entry does get created in the database.
  * The semester dropdown in the add course form does not get populated
 with the newly created semester like it should.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2500>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to