From 773c176c6f055a0316c614df5d4a26633ec8e7b9 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 24 Feb 2006 23:26:47 +0000 Subject: [PATCH] magic-removal: Fixed some typos in comments. git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2385 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/fields/related.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py index a7a79f45e7..38aa4845d6 100644 --- a/django/db/models/fields/related.py +++ b/django/db/models/fields/related.py @@ -294,7 +294,7 @@ class ReverseManyRelatedObjectsDescriptor(object): _add_m2m_items(self, superclass, rel_model, join_table, source_col_name, target_col_name, instance._get_pk_val(), *objs, **kwargs) - # If this is a symmmetrical m2m relation to self, add the mirror entry in the m2m table + # If this is a symmetrical m2m relation to self, add the mirror entry in the m2m table if instance.__class__ == rel_model and symmetrical: _add_m2m_items(self, superclass, rel_model, join_table, target_col_name, source_col_name, instance._get_pk_val(), *objs, **kwargs) @@ -305,7 +305,7 @@ class ReverseManyRelatedObjectsDescriptor(object): _remove_m2m_items(rel_model, join_table, source_col_name, target_col_name, instance._get_pk_val(), *objs) - # If this is a symmmetrical m2m relation to self, remove the mirror entry in the m2m table + # If this is a symmetrical m2m relation to self, remove the mirror entry in the m2m table if instance.__class__ == rel_model and symmetrical: _remove_m2m_items(rel_model, join_table, target_col_name, source_col_name, instance._get_pk_val(), *objs) @@ -315,7 +315,7 @@ class ReverseManyRelatedObjectsDescriptor(object): def clear(self): _clear_m2m_items(join_table, source_col_name, instance._get_pk_val()) - # If this is a symmmetrical m2m relation to self, clear the mirror entry in the m2m table + # If this is a symmetrical m2m relation to self, clear the mirror entry in the m2m table if instance.__class__ == rel_model and symmetrical: _clear_m2m_items(join_table, target_col_name, instance._get_pk_val())