Skip to content

Commit

Permalink
update slug length
Browse files Browse the repository at this point in the history
  • Loading branch information
liangliangyy committed Jan 1, 2018
1 parent 0828868 commit 6dfcd98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


class BaseModel(models.Model):
slug = models.SlugField(default='no-slug', max_length=60, blank=True)
slug = models.SlugField(default='no-slug', max_length=160, blank=True)
created_time = models.DateTimeField('创建时间', default=now)
last_mod_time = models.DateTimeField('修改时间', default=now)

Expand Down

0 comments on commit 6dfcd98

Please sign in to comment.