Admin bug fix

remotes/origin/PR-39
ArturBaybulatov 10 years ago
parent b9369a7bd6
commit ff72424526
  1. 19
      projects/migrations/0013_auto_20160819_1735.py
  2. 21
      users/migrations/0011_auto_20160819_1735.py
  3. 4
      users/models.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': 'Отклики на проекты -- переписки'},
),
]

@ -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,
),
]

@ -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 = 'Резюме'

Loading…
Cancel
Save