Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

magic-removal: Fixed #1557 -- Fixed typo in generic-views success mes…

…sage. Thanks, Matthew Flanagan

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 344cc981f68ddc5c550f5709127ba8b8a82dbef1 1 parent 07131c3
Adrian Holovaty authored March 30, 2006

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/views/generic/create_update.py
4  django/views/generic/create_update.py
@@ -39,7 +39,7 @@ def create_object(request, model, template_name=None,
39 39
             new_object = manipulator.save(new_data)
40 40
 
41 41
             if not request.user.is_anonymous():
42  
-                request.user.message_set.create(message="The %s was created sucessfully." % model._meta.verbose_name)
  42
+                request.user.message_set.create(message="The %s was created successfully." % model._meta.verbose_name)
43 43
 
44 44
             # Redirect to the new object: first by trying post_save_redirect,
45 45
             # then by obj.get_absolute_url; fail if neither works.
@@ -111,7 +111,7 @@ def update_object(request, model, object_id=None, slug=None,
111 111
             manipulator.save(new_data)
112 112
 
113 113
             if not request.user.is_anonymous():
114  
-                request.user.message_set.create(message="The %s was updated sucessfully." % model._meta.verbose_name)
  114
+                request.user.message_set.create(message="The %s was updated successfully." % model._meta.verbose_name)
115 115
 
116 116
             # Do a post-after-redirect so that reload works, etc.
117 117
             if post_save_redirect:

0 notes on commit 344cc98

Please sign in to comment.
Something went wrong with that request. Please try again.