Skip to content

Commit

Permalink
In blog/models/blog.py, increase the max_length of the dev_lang field…
Browse files Browse the repository at this point in the history
… from 20 to 200.
  • Loading branch information
bluebamus committed Oct 10, 2024
1 parent b100ca0 commit 970b086
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions blog/models/blog.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class ProjectPost(PostMixin):
verbose_name=_("Project Role"),
)
dev_lang = models.CharField(
max_length=20, blank=False, verbose_name=_("Development Language")
max_length=200, blank=False, verbose_name=_("Development Language")
)
version = models.CharField(max_length=10, blank=False, verbose_name=_("Version"))
branch = models.CharField(
Expand Down Expand Up @@ -170,7 +170,7 @@ def get_absolute_url(self):

class OnlineStudyPost(PostMixin):
dev_lang = models.CharField(
max_length=20, blank=False, verbose_name=_("Development Language")
max_length=200, blank=False, verbose_name=_("Development Language")
)
branch = models.CharField(
max_length=15,
Expand Down Expand Up @@ -229,7 +229,7 @@ class OpenSourcePost(PostMixin):
verbose_name=_("Project Role"),
)
dev_lang = models.CharField(
max_length=20, blank=False, verbose_name=_("Development Language")
max_length=200, blank=False, verbose_name=_("Development Language")
)
branch = models.CharField(
max_length=15,
Expand Down Expand Up @@ -264,7 +264,7 @@ def get_absolute_url(self):

class BooksPost(PostMixin):
dev_lang = models.CharField(
max_length=20, blank=False, verbose_name=_("Development Language")
max_length=200, blank=False, verbose_name=_("Development Language")
)
branch = models.CharField(
max_length=15,
Expand Down

0 comments on commit 970b086

Please sign in to comment.