Commit 5d43e4b3bb7d4c7c47ab4256fdc8a2c0b6d5ba4b

Authored by janek37
1 parent 39378e56

poprawione zasłanianie szablonów

--HG--
rename : accounts/templates/registration/activate.html => templates/registration/activate.html
rename : accounts/templates/registration/activation_email.txt => templates/registration/activation_email.txt
rename : accounts/templates/registration/activation_email_subject.txt => templates/registration/activation_email_subject.txt
rename : accounts/templates/registration/login.html => templates/registration/login.html
rename : accounts/templates/registration/logout.html => templates/registration/logout.html
rename : accounts/templates/registration/password_change_done.html => templates/registration/password_change_done.html
rename : accounts/templates/registration/password_change_form.html => templates/registration/password_change_form.html
rename : accounts/templates/registration/password_reset_complete.html => templates/registration/password_reset_complete.html
rename : accounts/templates/registration/password_reset_confirm.html => templates/registration/password_reset_confirm.html
rename : accounts/templates/registration/password_reset_done.html => templates/registration/password_reset_done.html
rename : accounts/templates/registration/password_reset_email.html => templates/registration/password_reset_email.html
rename : accounts/templates/registration/password_reset_form.html => templates/registration/password_reset_form.html
rename : accounts/templates/registration/registration_complete.html => templates/registration/registration_complete.html
rename : accounts/templates/registration/registration_form.html => templates/registration/registration_form.html
Showing 15 changed files with 1 additions and 1 deletions
accounts/forms.py
... ... @@ -19,7 +19,7 @@ class AddUserForm(ModelForm):
19 19 fakeform = PasswordResetForm(data={'email': user.email})
20 20 if fakeform.is_valid(): # oczywiście, że jest
21 21 domain = get_current_site(request).domain
22   - fakeform.save(request=request, from_email='webmaster@'+domain)
  22 + fakeform.save(request=request)
23 23 UserSettings.objects.create(user=user)
24 24 user.groups.add(*self.cleaned_data['groups'])
25 25 return user
... ...
accounts/templates/registration/activate.html renamed to templates/registration/activate.html
accounts/templates/registration/activation_email.txt renamed to templates/registration/activation_email.txt
accounts/templates/registration/activation_email_subject.txt renamed to templates/registration/activation_email_subject.txt
accounts/templates/registration/login.html renamed to templates/registration/login.html
accounts/templates/registration/logout.html renamed to templates/registration/logout.html
accounts/templates/registration/password_change_done.html renamed to templates/registration/password_change_done.html
accounts/templates/registration/password_change_form.html renamed to templates/registration/password_change_form.html
accounts/templates/registration/password_reset_complete.html renamed to templates/registration/password_reset_complete.html
accounts/templates/registration/password_reset_confirm.html renamed to templates/registration/password_reset_confirm.html
accounts/templates/registration/password_reset_done.html renamed to templates/registration/password_reset_done.html
accounts/templates/registration/password_reset_email.html renamed to templates/registration/password_reset_email.html
accounts/templates/registration/password_reset_form.html renamed to templates/registration/password_reset_form.html
accounts/templates/registration/registration_complete.html renamed to templates/registration/registration_complete.html
accounts/templates/registration/registration_form.html renamed to templates/registration/registration_form.html