Open fizista opened 8 years ago
When you install the library "sorl-thumbnail", then Django information about missing migrations.
Missing migration contains the code:
class Migration(migrations.Migration): ... operations = [ migrations.AlterField( model_name='profile', name='avatar', field=sorl.thumbnail.fields.ImageField(blank=True, null=True, upload_to=pybb.util.FilePathGenerator(to='pybb/avatar'), verbose_name='Avatar'), ), ]
The problem is the function get_image_field_class.
The solution here would be able to be the proxy class, which, depending on the configuration to inherit properties from the library field image.
When you install the library "sorl-thumbnail", then Django information about missing migrations.
Missing migration contains the code:
The problem is the function get_image_field_class.
The solution here would be able to be the proxy class, which, depending on the configuration to inherit properties from the library field image.