Skip to content

Commit

Permalink
Merge pull request #1636 from learning-unlimited/autocomplete_field_fix
Browse files Browse the repository at this point in the history
Fix autocomplete field bug
  • Loading branch information
benjaminjkraft committed Mar 24, 2015
2 parents 4b89e0a + 5375d15 commit 56d44c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp/esp/db/forms.py
Expand Up @@ -5,7 +5,7 @@
from django.utils.safestring import mark_safe
import re

get_id_re = re.compile('.*\D(\d+)\D')
get_id_re = re.compile('.*\((\d+)\)$')

class AjaxForeignKeyFieldBase:

Expand Down

0 comments on commit 56d44c3

Please sign in to comment.