Skip to content

Commit

Permalink
Merge pull request #1362 from laws-africa/article-save-folder
Browse files Browse the repository at this point in the history
Add SAVE_FOLDER for Article model
  • Loading branch information
nickmwangemi authored Jul 6, 2023
2 parents 88659fc + 0d83917 commit f8f0a77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions peachjam/models/article.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def file_location(instance, filename):


class Article(models.Model):
SAVE_FOLDER = "articles"
doc_type = "article"

date = models.DateField(_("date"), null=False, blank=False)
Expand Down

0 comments on commit f8f0a77

Please sign in to comment.