app/soc/views/site/sponsor/profile.py
Sat, 15 Nov 2008 03:12:33 +0000 Todd Larsen Attempt to rename User.id to User.account, in preparation for making User be
Fri, 07 Nov 2008 22:24:01 +0000 Pawel Solyga Fix not working former_ids. Add support for "Invalid accounts". Now when id from former_ids tries to create a profile "This account is invalid." error message is displayed. Compare emails in lower cases to prevent changing User email to the same email with different character casing (needs some more testing).
Sun, 02 Nov 2008 22:57:46 +0000 Sverre Rabbelier Refactor out the abundance of dictionary (un)packing
Wed, 22 Oct 2008 17:18:57 +0000 Pawel Solyga Inherit from BaseForm in all forms instead of from DbModelForm. This change doesn't include changes to templates and usage of as_table everywhere (work in progress).
Sat, 18 Oct 2008 01:47:02 +0000 Todd Larsen Add the Page object to the context of each view. Update templates to make
Fri, 17 Oct 2008 13:57:54 +0000 Pawel Solyga Replace GROUP_TYPE_PLURAL and GROUP_TYPE_SHORT constants in Group models with more generic TYPE_NAME, TYPE_NAME_SHORT, TYPE_NAME_PLURAL names and apply changes in affected files. Use ugettext_lazy for TYPE_NAME and TYPE_NAME_PLURAL constants. This approach is similar to the upcoming refactor of views.
Thu, 16 Oct 2008 23:31:57 +0000 Pawel Solyga Create decorators module in view/helper and add view decorator that catches exceptions like DeadlineExceededError, MemoryError, AssertionError (this code is being moved from respond function). Add view decorator to all view functions. In addition remove not needed imports from all affected files and fix too long lines.
Thu, 16 Oct 2008 17:34:10 +0000 Pawel Solyga Make page argument required for errorResponse and requestLogin functions in simple.py and update affected files. Some keyword argument changes to in user/profile.py. All the changes are based on comments to r817.
Thu, 16 Oct 2008 17:30:58 +0000 Sverre Rabbelier Rename 'group' to 'entity' in the Django templates
Thu, 16 Oct 2008 15:22:41 +0000 Pawel Solyga Add page=None parameter to all views. Information from page argument (which is soc.logic.site.page.Page object) is going to be used later in views code and for some context values. Fix some indentions in __doc__ strings. Add proper __doc__ string for all() function in sponsor/list.py module.
Wed, 15 Oct 2008 20:24:02 +0000 Pawel Solyga Change verbose_name of founder property in Group model from "Created by" to "Founded by". Add GROUP_TYPE_SHORT and GROUP_TYPE_PLURAL for all models that inherit from Group and use that values in templates and contexts. Assume that group_type, group_type_short and group_type_plural are defined in context and remove not needed ifs in templates. Rename "Linkname" to "Link name" in list/group_heading.html template.
Wed, 15 Oct 2008 13:59:52 +0000 Pawel Solyga Show "Created by" read-only field in Sponsor Edit view. Fix function keyword arguments in sponsor/list.py to follow our PythonStyleGuide. Sponsor founder property is not updated anymore when editing Sponsor profile, it's just saved once when creating Sponsor profile.
Tue, 14 Oct 2008 16:10:07 +0000 Pawel Solyga Add missing import in soc/views/site/sponsor/list.py which caused exception when app was deployed and first site you visited was "List Site Sponsors". Update files according to recent django update and django backwards incompatibility (for example newforms is changed to forms).
Tue, 14 Oct 2008 12:02:42 +0000 Pawel Solyga Some indentations fixes. Changed all the email=id function arguments to email=id.email().
Mon, 13 Oct 2008 21:54:51 +0000 Pawel Solyga Add missing blank lines between imports and sort all of the imports.
less more (0) -15 tip