Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Just realized i included a bad kwarg

  • Loading branch information...
commit cd1c4b17a7b1db3ca2097f11fa06c8f3e4d5965b 1 parent b3b56f7
@coleifer authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  genericm2m/
3  genericm2m/
@@ -55,11 +55,10 @@ def generic_objects(self):
class RelatedObjectsDescriptor(object):
- def __init__(self, model=None, from_field='parent', to_field='object', symmetrical=False):
+ def __init__(self, model=None, from_field='parent', to_field='object'):
self.related_model = model or RelatedObject
self.from_field = self.get_related_model_field(from_field)
self.to_field = self.get_related_model_field(to_field)
- self.symmetrical = symmetrical
def get_related_model_field(self, field_name):
opts = self.related_model._meta
Please sign in to comment.
Something went wrong with that request. Please try again.