From 1efb2e73bf13100639c4f06963220549a7eb725c Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 16 May 2014 16:39:12 -0400 Subject: [PATCH] Fixed typo. --- django/db/models/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/models/base.py b/django/db/models/base.py index bc41149a09..34fb0ab0b4 100644 --- a/django/db/models/base.py +++ b/django/db/models/base.py @@ -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: