Edited wiki page through web user interface.
diff --git a/SocParams.wiki b/SocParams.wiki index 06c6592..56840e2 100644 --- a/SocParams.wiki +++ b/SocParams.wiki
@@ -6,6 +6,12 @@ Parameters are usually system-wide and they contain information for handling redirects, templates, sidebar entries, url patterns, dynamic fields & forms, and more in views. Parameters related methods are defined in *soc.views.helper.params*: * *constructParams(params)* receives a dictionary type argument with predefined parameters. _constructParams_ defines the default values (_newParams_) for all or most of the parameters and then it merges them with _params_. If defined, values in _params_ are going to override any values in _newParameters_. Some default values are shown below, for a complete list see this method. + * *getDynaFields(fields)* + * *getEditForm(params, base_form)* + * *getAdminForm(base_form)* + * *getKeyFieldsPattern(params)* + * *getPattern(params)* + * *getScopePattern(params)* == Redirects == @@ -22,18 +28,18 @@ * *link_id_pattern_core* * *scope_path_pattern* * *sans_link_id_pattern* - * *no_edit* - * *no_delete* + * *no_edit* if defined the default edit url pattern will not be included in _django_patterns_defaults_ + * *no_delete* if defined the default delete url pattern will not be included in _django_patterns_defaults_ * *no_create_raw* * *no_list_raw* - * *no_show* - * *no_admin* - * *sans_link_id_create* + * *no_show* if defined the default public page url pattern will not be included in _django_patterns_defaults_ + * *no_admin* if defined the default admin url pattern will not be included in _django_patterns_defaults_ + * *sans_link_id_create* * *sans_link_id_list* * *sans_link_id_public_list* - * *django_patterns* - * *extra_django_patterns* - * *django_patterns_default* + * *django_patterns* if defined they are going to be the only url patterns used for a specific view. + * *extra_django_patterns* this is where you should define any additional django patterns to be used with _django_patterns_default_. They are omited if _django_patterns_ is defined. + * *django_patterns_default* are the default django url patterns and they will be used if _django_patterns_ isn't defined. They are dynamicaly constructed in _constructParams_. * *no_create_with_scope* * *no_create_with_key_fields* * *key_fields_pattern*