django.core.exceptions.FieldError: Cannot resolve keyword 'slug' into field. Choices are:

后端 未结 0 1854
孤独总比滥情好
孤独总比滥情好 2021-01-24 06:23
#models.py
class Category(models.Model):

    title = models.CharField(verbose_name=\'TITLE\', max_length=200)
    slug = models.SlugField(\'SLUG\', unique=True, allow_u         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题