1. Jannis Leidel
  2. django-licenses

Commits

Thomas Schreiber  committed a6adc89

do not explicitly set 'to' in the LicenseField

  • Participants
  • Parent commits f321cf3
  • Branches default

Comments (0)

Files changed (1)

File licenses/fields.py

View file
         and a shortcut for switching blank/null to True.
     '''
 
-    def __init__(self, to=Organization, *args, **kwargs):
+    def __init__(self, *args, **kwargs):
         kwargs.setdefault('verbose_name', _('license'))
         if kwargs.pop('required', None) == False:
             kwargs['blank'] = True