- changed status to resolved
Cleanup
Issue #12
resolved
There are some items that require a bit of attention to keep things in order:
Forms
- Rename UserForm or RegistrationForm
- Remove commit parameter from RegistrationForm.save and the
if commit
(just callinguser.save()
is fine). - Rename UserChangeForm to UserForm
- Change admin to use use UserForm for both adding and updating users
- changing the
form
class attribute toUserForm
and removing theadd_form
class attribute as well as theUserChangeForm
import should work
- changing the
Templates
- Create a "proposals" sub directory in the templates directory.
- move "proposals.html" into proposals sub directory and rename to "add.html"
- move "edit_proposal.html" and rename to "edit.html"
- move "proposals_form.html" and rename to "form.html"
- Create a "emails" sub directory under proposals
- move "activation_email.html" and rename to "activation.txt"
- Create a "users" sub directory under the templates directory.
- move all user-related templates into this new directory which is pretty much everything else except for the base templates and error templates
Comments (1)
-
reporter - Log in to comment
Merged in matthiasschulz/observer-portal/cleanup-12 (pull request #22)
General cleanup and fixed admin bug. Fixes
#11and#12→ <<cset 7b3c02244b63>>