diff --git a/projects/migrations/0013_auto_20160819_1735.py b/projects/migrations/0013_auto_20160819_1735.py new file mode 100644 index 0000000..32cb31d --- /dev/null +++ b/projects/migrations/0013_auto_20160819_1735.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.7 on 2016-08-19 14:35 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('projects', '0012_project_rejected_answers_count'), + ] + + operations = [ + migrations.AlterModelOptions( + name='answermessage', + options={'ordering': ['created'], 'verbose_name': 'Отклики на проекты -- переписка', 'verbose_name_plural': 'Отклики на проекты -- переписки'}, + ), + ] diff --git a/users/migrations/0011_auto_20160819_1735.py b/users/migrations/0011_auto_20160819_1735.py new file mode 100644 index 0000000..57aa6c0 --- /dev/null +++ b/users/migrations/0011_auto_20160819_1735.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.7 on 2016-08-19 14:35 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('users', '0010_auto_20160818_2131'), + ] + + operations = [ + migrations.AlterField( + model_name='contractorresume', + name='text', + field=models.TextField(blank=True, default=''), + preserve_default=False, + ), + ] diff --git a/users/models.py b/users/models.py index c2293cf..d186d23 100644 --- a/users/models.py +++ b/users/models.py @@ -81,10 +81,10 @@ class UserFinancialInfo(models.Model): class ContractorResume(models.Model): resume_file = models.FileField(upload_to='users/resume/files/', null=True, blank=True) - text = models.TextField(null=True, blank=True) + text = models.TextField(blank=True) def __str__(self): - return self.text + return str(self.pk) class Meta: verbose_name = 'Резюме'