mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-17 02:45:08 +00:00
FAQ list and creation
This commit is contained in:
@ -222,10 +222,12 @@ class JuniorArticleCard(models.Model):
|
||||
|
||||
class FAQ(models.Model):
|
||||
"""FAQ model"""
|
||||
# Total earned points"""
|
||||
# questions"""
|
||||
question = models.CharField(max_length=100)
|
||||
# referral points"""
|
||||
# answer"""
|
||||
description = models.CharField(max_length=500)
|
||||
# status
|
||||
status = models.IntegerField(default=1, null=True, blank=True)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
updated_at = models.DateTimeField(auto_now=True)
|
||||
|
||||
|
Reference in New Issue
Block a user