Skip to content

Commit

Permalink
chore(fix) add fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ndu committed Dec 19, 2024
1 parent 89f21a2 commit af8e272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/apps/research/models/article.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Article(BaseModel):
authors = models.ManyToManyField(Author, blank=True, related_name='articles')
slug = models.SlugField(max_length=255, blank=True, db_index=True)
categories = models.ManyToManyField(Category, blank=True, related_name='articles')
thumb = CloudinaryField('image', folder='coverImage', default=get_default_thumb, blank=True)
thumb = CloudinaryField('image', folder='images', default=get_default_thumb, blank=True)
views = models.PositiveBigIntegerField(default=0)
status = models.CharField(max_length=10, choices=options, default='draft', db_index=True)
scheduled_publish_time = models.DateTimeField(null=True, blank=True, db_index=True)
Expand Down

0 comments on commit af8e272

Please sign in to comment.