Mercurial > public > sg101
diff gpp/core/widgets.py @ 149:ab7830b067b3
Implement ticket #40. Added a simple way to search for usernames and then view their profile. Moved this ajax username search feature out of the messages app and into core.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 14 Dec 2009 05:07:28 +0000 |
parents | 9bfe07c26c78 |
children | be3fff614b93 |
line wrap: on
line diff
--- a/gpp/core/widgets.py Sun Dec 13 21:57:34 2009 +0000 +++ b/gpp/core/widgets.py Mon Dec 14 05:07:28 2009 +0000 @@ -16,7 +16,7 @@ js = settings.GPP_THIRD_PARTY_JS['jquery-autocomplete'] def render(self, name, value, attrs=None): - url = reverse('messages-ajax_users') + url = reverse('core-ajax_users') output = super(AutoCompleteUserInput, self).render(name, value, attrs) return output + mark_safe(u'''\ <script type="text/javascript">