diff --git a/forms.py b/forms.py index 21c3d5e..bc36b67 100644 --- a/forms.py +++ b/forms.py @@ -27,7 +27,7 @@ class CategoryForm(ModelForm): class UserForm(ModelForm): class Meta: model = User - exclude = ('is_staff', 'is_active', 'last_login', 'last_joined', 'user_permissions', 'groups', 'date_joined') + exclude = ('is_staff', 'is_active', 'last_login', 'last_joined', 'user_permissions', 'groups', 'date_joined', 'password') class CommentForm(ModelForm): class Meta: diff --git a/static/css/dynastie.css b/static/css/dynastie.css index e69de29..f655369 100644 --- a/static/css/dynastie.css +++ b/static/css/dynastie.css @@ -0,0 +1,5 @@ +.edited +{ + color:green; + font-weight:bold; +} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 5ab0eb1..f685cc9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,6 +2,8 @@
User successfuly updated
+User successfuly updated
{% endif %} {% if user.is_superuser or user.id == user_to_edit.id %} {% else %}