Commits

Frank Becker committed 3f1bb48

Work around for a potential South problem

Looks like south cannot resolve 'licenses.License'. Thus, License is imported.
See https://groups.google.com/forum/?fromgroups#!topic/south-users/JaOkndQ3_OQ
and http://south.aeracode.org/ticket/1066

Comments (0)

Files changed (1)

licenses/fields.py

 # -*- coding: utf-8 -*-
 from django.db.models import ForeignKey
 from django.utils.translation import ugettext_lazy as _
-from licenses.models import Organization
+from licenses.models import Organization, License
 
 
 class LicenseField(ForeignKey):
         if kwargs.pop('required', None) == False:
             kwargs['blank'] = True
             kwargs['null'] = True
-        super(LicenseField, self).__init__('licenses.License', *args, **kwargs)
+        super(LicenseField, self).__init__(License, *args, **kwargs)
 
 
 try: