1
0
mirror of https://github.com/django/django.git synced 2025-02-26 02:04:52 +00:00

Fixed typo.

This commit is contained in:
Tim Graham 2014-05-16 16:39:12 -04:00
parent 6bb6df2943
commit 1efb2e73bf

View File

@ -300,7 +300,7 @@ class ModelBase(type):
cls.add_to_class(mgr_name, new_manager)
def add_to_class(cls, name, value):
# We should call the contirbute_to_class method only if it's bound
# We should call the contribute_to_class method only if it's bound
if not inspect.isclass(value) and hasattr(value, 'contribute_to_class'):
value.contribute_to_class(cls, name)
else: