Changes between Version 1 and Version 2 of Ticket #26770


Ignore:
Timestamp:
Jun 16, 2016, 10:47:30 PM (8 years ago)
Author:
Louis Lang
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26770 – Description

    v1 v2  
    1010import django.db.models.deletion
    1111import settings.models
     12}}}
     13
     14Here is the callable on the field:
     15
     16{{{
     17('preview_image', models.ImageField(upload_to=settings.models.get_preview_path)),
     18}}}
    1219 
    13  
     20
     21And the full migration, just in case:
     22
     23{{{
    1424class Migration(migrations.Migration):
    1525 
Back to Top