Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #2972: prepopulate_from now works with multiple slugs on the sa…

…me field. Thanks, Archatas.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 212cb21baad2fb0f6e47a382a467feded6d356b0 1 parent 0fd9f6e
Jacob Kaplan-Moss jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/templatetags/admin_modify.py
2  django/contrib/admin/templatetags/admin_modify.py
View
@@ -177,8 +177,8 @@ def output_all(form_fields):
output_all = register.simple_tag(output_all)
def auto_populated_field_script(auto_pop_fields, change = False):
+ t = []
for field in auto_pop_fields:
- t = []
if change:
t.append('document.getElementById("id_%s")._changed = true;' % field.name)
else:
Please sign in to comment.
Something went wrong with that request. Please try again.