Mercurial > public > sg101
diff bio/admin.py @ 1035:eeaf387803c6
Remove usages of @models.permalink.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 26 Dec 2015 21:33:55 -0600 |
parents | 6a06080e7ca8 |
children |
line wrap: on
line diff
--- a/bio/admin.py Sat Dec 26 15:28:16 2015 -0600 +++ b/bio/admin.py Sat Dec 26 21:33:55 2015 -0600 @@ -20,9 +20,10 @@ class UserProfileAdmin(admin.ModelAdmin): search_fields = ['user__username', 'user__first_name', 'user__last_name', - 'user__email'] + 'user__email'] exclude = ['profile_html', 'signature_html'] - list_display = ['__unicode__', 'user_is_active', 'get_status_display', 'status_date'] + list_display = ['__unicode__', 'user_is_active', 'get_status_display', + 'status_date'] readonly_fields = ['status', 'status_date', 'update_date'] list_filter = ['status', ] date_hierarchy = 'status_date'