We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
封面图无法添加。
The text was updated successfully, but these errors were encountered:
我这边尝试添加了课程机构没有错误。 添加完成后,封面图实际上存储的是一个「文件路径」,而且这个路径有一定的格式,具体可以看一下apps/organization/models.py 里:
apps/organization/models.py
image = models.ImageField(upload_to='org/%Y/%m', verbose_name='封面图')
同时 setting.py 里关于 media 目录的配置是否加上了呢? urls.py 里关于 media 的配置是否也加上了呢?
可以在 setting.py 和 urls.py 里搜索一下 media ,看看有哪些配置。
media
Sorry, something went wrong.
点击 课程-增加课程,点击课程机构后面的加号。无法添加课程机构。
No branches or pull requests
封面图无法添加。
The text was updated successfully, but these errors were encountered: