Changeset 9063
- Timestamp:
- 09/17/08 03:59:55 (4 months ago)
- Files:
-
- django/trunk/django/contrib/admin/options.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/admin/options.py
r8985 r9063 559 559 raise Http404('%s object with primary key %r does not exist.' % (force_unicode(opts.verbose_name), escape(object_id))) 560 560 561 if request. POSTand request.POST.has_key("_saveasnew"):561 if request.method == 'POST' and request.POST.has_key("_saveasnew"): 562 562 return self.add_view(request, form_url='../../add/') 563 563
