quiltingcode / pp4-craft-cafe

1 stars 2 forks source link

BUG: Post submitted doesn't auto-create a slug #92

Closed quiltingcode closed 1 year ago

quiltingcode commented 1 year ago

Describe the bug Post is submitted successfull and I can see it in the admin panel but it doesn't contain a slug field

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on 'placemat post'
  3. See slug field
  4. See error - empty field

Expected behavior Shoujld be the same as the title field

Screenshots image

quiltingcode commented 1 year ago

imported slugify and added a method for this into the Post model. Working now