equal
deleted
inserted
replaced
67 attrs={'rows':10, 'cols':40})), |
67 attrs={'rows':10, 'cols':40})), |
68 'scope_path': forms.CharField(widget=forms.HiddenInput, required=True), |
68 'scope_path': forms.CharField(widget=forms.HiddenInput, required=True), |
69 'clean_link_id': cleaning.clean_link_id, |
69 'clean_link_id': cleaning.clean_link_id, |
70 } |
70 } |
71 |
71 |
72 new_params['extra_django_patterns'] = [ |
|
73 (r'^%(url_name)s/create/(?P<scope_path>%(ulnp)s)$', |
|
74 'soc.views.models.%(module_name)s.create', 'Create %(name_short)s')] |
|
75 |
|
76 new_params['scope_redirect'] = redirects.getCreateRedirect |
72 new_params['scope_redirect'] = redirects.getCreateRedirect |
77 |
73 |
78 params = dicts.merge(params, new_params) |
74 params = dicts.merge(params, new_params) |
79 |
75 |
80 super(View, self).__init__(params=params) |
76 super(View, self).__init__(params=params) |