added admin permission

This commit is contained in:
abutalib-kiwi
2023-07-17 18:58:09 +05:30
parent e90326fcb6
commit 751af642b8
10 changed files with 214 additions and 14 deletions

View File

@ -233,6 +233,10 @@ ALIYUN_OSS_BUCKET_NAME = os.getenv('ALIYUN_OSS_BUCKET_NAME')
ALIYUN_OSS_ENDPOINT = os.getenv('ALIYUN_OSS_ENDPOINT')
ALIYUN_OSS_REGION = os.getenv('ALIYUN_OSS_REGION')
MAX_ARTICLE_CARD = os.getenv('MAX_ARTICLE_CARD', 6)
MIN_ARTICLE_SURVEY = os.getenv('MIN_ARTICLE_SURVEY', 5)
MAX_ARTICLE_SURVEY = os.getenv('MAX_ARTICLE_SURVEY', 10)
# define static url
STATIC_URL = 'static/'
# define static root