From 28860e1c88ee0ccf9ae5cbbbef59c93a27d0e02f Mon Sep 17 00:00:00 2001 From: Zia Fazal Date: Mon, 20 May 2019 13:56:18 +0500 Subject: [PATCH] Made expected salary textfield --- .../migrations/0003_auto_20190520_0752.py | 20 +++++++++++++++++++ freshgrad_test/models.py | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 freshgrad_test/migrations/0003_auto_20190520_0752.py diff --git a/freshgrad_test/migrations/0003_auto_20190520_0752.py b/freshgrad_test/migrations/0003_auto_20190520_0752.py new file mode 100644 index 0000000..448b269 --- /dev/null +++ b/freshgrad_test/migrations/0003_auto_20190520_0752.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.20 on 2019-05-20 07:52 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('freshgrad_test', '0002_auto_20190115_0802'), + ] + + operations = [ + migrations.AlterField( + model_name='candidateinfo', + name='expected_salary', + field=models.TextField(verbose_name='Your salary expectations?'), + ), + ] diff --git a/freshgrad_test/models.py b/freshgrad_test/models.py index 214090c..17df53e 100644 --- a/freshgrad_test/models.py +++ b/freshgrad_test/models.py @@ -82,8 +82,8 @@ class CandidateInfo(models.Model): why_arbisoft = models.TextField( verbose_name=_("Why Arbisoft?") ) - expected_salary = models.CharField( - max_length=255, verbose_name=_("Your salary expectations?") + expected_salary = models.TextField( + verbose_name=_("Your salary expectations?") ) career_plans = models.TextField( verbose_name=_("Your career plans two years down the line?")