app/soc/views/models/group.py
changeset 1085 0afbdd0905ef
parent 1075 4fd9b11fba56
child 1115 0a723ff3d27c
--- a/app/soc/views/models/group.py	Fri Jan 30 17:23:19 2009 +0000
+++ b/app/soc/views/models/group.py	Fri Jan 30 17:38:28 2009 +0000
@@ -57,7 +57,7 @@
     new_params = {}
 
     new_params['extra_dynaexclude'] = ['founder','home', 'tos',
-                                       'member_template', 'state']
+                                       'member_template', 'status']
     new_params['edit_extra_dynafields'] = {
         'founded_by': forms.CharField(widget=widgets.ReadOnlyInput(),
                                    required=False),
@@ -136,7 +136,7 @@
     filter = {
         'scope': group_entity,
         'role': role_names,
-        'state': 'new'
+        'status': 'new'
         }
 
     # create the list parameters
@@ -154,7 +154,7 @@
     filter = {
         'scope': group_entity,
         'role': role_names,
-        'state': 'group_accepted'
+        'status': 'group_accepted'
         }
 
     # create the list parameters
@@ -172,7 +172,7 @@
     filter = {
         'scope': group_entity,
         'role': role_names,
-        'state': 'ignored'
+        'status': 'ignored'
         }
 
     # create the list parameters
@@ -216,7 +216,7 @@
     # create the filter
     filter = {
         'scope' : group_entity,
-        'state': 'active'
+        'status': 'active'
         }
 
     role_views = params['role_views']
@@ -271,7 +271,7 @@
 
     # set fields to match every active role this user has
     fields = {'user': user,
-              'state': 'active'}
+              'status': 'active'}
 
     # get the role views and start filling group_entities
     role_views = self._params['role_views']