1. Sebastian Alvarez
  2. Papuana

Commits

Sebastian Alvarez  committed c54d4d9

added Slug for the post

  • Participants
  • Parent commits c1e6688
  • Branches default

Comments (0)

Files changed (1)

File papuanacms/posts/models/post.py

View file
     __tablename__ = 'posts'
     id = db.Column(db.Integer, primary_key=True)
     title = db.Column(db.Unicode(150))
+    slug = db.Column(db.Unicode(150))
     body = db.Column(db.Text())
 
     def __init__(self):