Skip to content

Commit

Permalink
Update models.py for 23 batch rollno.
Browse files Browse the repository at this point in the history
Changed from GitHub itself.
  • Loading branch information
swastkk authored Aug 31, 2023
1 parent b8c8e3c commit aeb3512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forms/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Registeration(models.Model):
unique=True,
validators=[
RegexValidator(
regex=r'^[2][2][a-zA-Z]{3}\d{3}@nith[.]ac[.]in$',
regex=r'^[2][3][a-zA-Z]{3}\d{3}@nith[.]ac[.]in$',
message=
"Only freshers with correct college email addresses are authorised."
)
Expand Down

0 comments on commit aeb3512

Please sign in to comment.