Fill student.archived_text when student is archived
This commit is contained in:
parent
1594e3557e
commit
096b5d4c50
3 changed files with 63 additions and 0 deletions
21
stages/migrations/0009_student_archived_text.py
Normal file
21
stages/migrations/0009_student_archived_text.py
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Generated by Django 1.9.1 on 2016-01-29 17:52
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stages', '0008_availability_priority'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='training',
|
||||
options={'ordering': ('-availability__period',), 'verbose_name': 'Stage'},
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='student',
|
||||
name='archived_text',
|
||||
field=models.TextField(blank=True),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue