Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

queryset-refactor: Typo fix. Fixed #6670. Thanks, alex.

git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c8afb75d53a0fc1a4c8be408b0963076b1925536 1 parent 64315b9
Malcolm Tredinnick authored February 27, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/db/models/sql/subqueries.py
2  django/db/models/sql/subqueries.py
@@ -157,7 +157,7 @@ def add_update_values(self, values):
157 157
             field, model, direct, m2m = self.model._meta.get_field_by_name(name)
158 158
             if not direct or m2m:
159 159
                 # Can only update non-relation fields and foreign keys.
160  
-                raise fieldError('Cannot update model field %r (only non-relations and foreign keys permitted).' % field)
  160
+                raise FieldError('Cannot update model field %r (only non-relations and foreign keys permitted).' % field)
161 161
             if field.rel and isinstance(val, Model):
162 162
                 val = val.pk
163 163
             self.values.append((field.column, val))

0 notes on commit c8afb75

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