Changeset adfe18c for asadb/forms/views.py
- Timestamp:
- Jul 2, 2010, 7:20:44 AM (15 years ago)
- Branches:
- master, fysm-4-1, space-access, stable, stage, test-hooks
- Children:
- 869f620
- Parents:
- c71d5c7
- git-author:
- Alex Dehnert <adehnert@…> (07/02/10 07:20:44)
- git-committer:
- Alex Dehnert <adehnert@…> (07/02/10 07:20:44)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/views.py
r3400018 radfe18c 169 169 request_obj = form.save() 170 170 171 view_path = reverse('fysm-view', args=[year, request_obj.pk, ]) 172 view_uri = '%s://%s%s' % (request.is_secure() and 'https' or 'http', 173 request.get_host(), view_path) 174 171 175 # Send email 172 176 tmpl = get_template('fysm/update_email.txt') … … 174 178 'group': group_obj, 175 179 'fysm': fysm_obj, 180 'view_uri': view_uri, 176 181 'submitter': request.user, 177 182 'request': request,
Note: See TracChangeset
for help on using the changeset viewer.