Commits

Waldemar Kornewald committed 40ebd7d

Renames a parameter to match the docstring. Contributed by Jonas Haag.

  • Participants
  • Parent commits 0c29068

Comments (0)

Files changed (1)

File djangotoolbox/fields.py

     """
     __metaclass__ = models.SubfieldBase
 
-    def __init__(self, embedded_model=None, *args, **kwargs):
-        self.embedded_model = embedded_model
+    def __init__(self, model=None, *args, **kwargs):
+        self.embedded_model = model
         kwargs.setdefault('default', None)
         super(EmbeddedModelField, self).__init__(*args, **kwargs)