Mercurial > public > sg101
comparison core/widgets.py @ 609:678a1a2ef55a
For issue 16, add country flag icons to user profiles & forum posts.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 28 Jul 2012 15:12:09 -0500 |
parents | ee87ea74d46b |
children |
comparison
equal
deleted
inserted
replaced
608:8ddd6490cbc9 | 609:678a1a2ef55a |
---|---|
3 """ | 3 """ |
4 | 4 |
5 from django import forms | 5 from django import forms |
6 from django.utils.safestring import mark_safe | 6 from django.utils.safestring import mark_safe |
7 from django.core.urlresolvers import reverse | 7 from django.core.urlresolvers import reverse |
8 from django.conf import settings | |
9 | 8 |
10 | 9 |
11 class AutoCompleteUserInput(forms.TextInput): | 10 class AutoCompleteUserInput(forms.TextInput): |
12 | 11 |
13 def render(self, name, value, attrs=None): | 12 def render(self, name, value, attrs=None): |