Skip to content

Commit

Permalink
Update Calendar.slug max_length to match migrations
Browse files Browse the repository at this point in the history
Fixes lint error:

    $ python -m django makemigrations --settings=tests.settings --no-input --dry-run --check
    Migrations for 'schedule':
      schedule/migrations/0013_auto_20191031_2212.py
        - Alter field slug on calendar
  • Loading branch information
jdufresne committed Oct 31, 2019
1 parent 3044f75 commit 2e85d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schedule/models/calendars.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class Calendar(models.Model):
"""

name = models.CharField(_("name"), max_length=200)
slug = models.SlugField(_("slug"), max_length=191, unique=True)
slug = models.SlugField(_("slug"), max_length=200, unique=True)
objects = CalendarManager()

class Meta:
Expand Down

0 comments on commit 2e85d73

Please sign in to comment.