Skip to content

Commit

Permalink
Increased designation max length and student max year
Browse files Browse the repository at this point in the history
  • Loading branch information
anshulahuja98 committed Oct 9, 2018
1 parent 179b97a commit 07ea437
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/accounts/forms.py
Expand Up @@ -29,7 +29,7 @@ class StudentRegisterForm(UserCreationForm):
help_text='Enter the same password as before, for verification.',
)
username = forms.CharField(max_length=11, help_text="Enter your Roll number, this will be used to login")
year = forms.IntegerField(max_value=5, help_text="Enter value between 1-5, the current year of your degree")
year = forms.IntegerField(max_value=10, help_text="Enter value between 1-5, the current year of your degree")
program_branch = forms.ChoiceField(choices=ProgramAndBranch.objects.values_list('abbreviation', 'name'))
gpa = forms.FloatField(max_value=10.00)
phone = forms.CharField(max_length=15)
Expand Down
2 changes: 1 addition & 1 deletion src/company/models.py
Expand Up @@ -13,7 +13,7 @@ class BaseAdvertisement(models.Model):
# job prof
id = models.UUIDField(primary_key=True, default=uuid4)
company = models.ForeignKey(CompanyProfile, on_delete=models.CASCADE)
designation = models.CharField(max_length=30)
designation = models.CharField(max_length=250)
description = models.TextField()
tentative_join_date = models.DateField()
tentative_job_location = models.CharField(max_length=50)
Expand Down

0 comments on commit 07ea437

Please sign in to comment.