#8433: auth add_view popup
-----------------------------+----------------------------------------------
 Reporter:  sorl             |       Owner:  nobody    
   Status:  new              |   Milestone:  1.0 maybe 
Component:  Admin interface  |     Version:  SVN       
 Keywords:                   |       Stage:  Unreviewed
Has_patch:  0                |  
-----------------------------+----------------------------------------------
 add_view should probably be:
                 if "_addanother" in request.POST:
                     request.user.message_set.create(message=msg)
                     return HttpResponseRedirect(request.path)
 +                elif '_popup' in request.REQUEST:
 +                    return self.response_add(request, new_user)
                 else:
                     request.user.message_set.create(message=msg + ' ' +
 ugettext("You may edit it again below."))
                     return HttpResponseRedirect('../%s/' % new_user.id)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8433>
Django Code <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