Changes between Version 1 and Version 2 of Ticket #26770
- Timestamp:
- Jun 16, 2016, 10:47:30 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26770 – Description
v1 v2 10 10 import django.db.models.deletion 11 11 import settings.models 12 }}} 13 14 Here is the callable on the field: 15 16 {{{ 17 ('preview_image', models.ImageField(upload_to=settings.models.get_preview_path)), 18 }}} 12 19 13 20 21 And the full migration, just in case: 22 23 {{{ 14 24 class Migration(migrations.Migration): 15 25