translation.activate(self.language_code)
users = User.objects.filter(is_staff=True)
for user in users:
- profile = Profile.objects.get(user=user)
+ profile, c = Profile.objects.get_or_create(user=user)
if profile:
profile.init_password = False
if not profile.init_password and user.is_active:
padding: .1em .5em;
font-weight: bold;
cursor: pointer;
+ -moz-border-radius: 8px 0px 8px 8px;
+ -webkit-border-radius: 8px 0px 8px 8px;
+ border-radius: 8px 0px 8px 8px;
+ }
+
}
input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
background: #8D8C94;