Changeset View
Changeset View
Standalone View
Standalone View
profiles/migrations/0007_add_profile_image_url.py
- This file was added.
| # Generated by Django 3.0.9 on 2020-12-04 09:19 | |||||
| import common.upload_paths | |||||
| from django.db import migrations, models | |||||
| class Migration(migrations.Migration): | |||||
| dependencies = [ | |||||
| ('profiles', '0006_add_can_view_content_permission'), | |||||
| ] | |||||
| operations = [ | |||||
| migrations.AddField( | |||||
| model_name='profile', | |||||
| name='image', | |||||
| field=models.ImageField(blank=True, upload_to=common.upload_paths.get_upload_to_hashed_path), | |||||
| ), | |||||
| ] | |||||