On 10/9/06, hernan43 <[EMAIL PROTECTED]> wrote:
> In the Django admin, there is a feature where you can click a "+"
> symbol and it will pop-up a form in another window that when you fill
> it out an submit, it will add that item to the current form.

The file you're looking for is here:

http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/media/js/admin/RelatedObjectLookups.js

The JavaScript function which handles the popup goes by the unwieldy
name of "showRelatedObjectLookupPopup", and pops a window with a
special view, which populates the value back to the original window.

-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to