How to use CloudinaryField to accept images/url from other sources?
@lukitsbrian がすでに取り組んでいます。
2020年2月26日 から。
評価
この issue はまだ評価されていません。
説明
I used Django package cloudinary==1.19.1
models.py
class Category(models.Model):
name = models.CharField(max_length=255)
url = models.CharField(max_length=255)
image = CloudinaryField(null=True)
image_source=models.CharField()
I want to use the image field to accept images that uploaded from admin, also some of my background tasks add the image URLs to that field depends on the image_source.
Possible image sources are: Google, Facebook, cloudinary or CloudFront
For example: When the image source is from google, I just want to save the complete image URL() instead of uploading the actual image to cloudinary and saving the id
How do I achieve this?
@brian-cloudinary @const-cloudinary @cloudinary @CloudinaryLtd
- 主要言語
- Python
- スター
- 262
- フォーク
- 133
- 平均マージ
- 3分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cloudinary/pycloudinary のほかの issue
-
resources_by_asset_folder Not working再び着手できるかも @someshfengde が 774 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
cloudinary/pycloudinary#386 · コメント 3 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
cloudinary/pycloudinary#385 · コメント 2 件 ·
-
cloudinary.api.resources_by_asset_folder Error再び着手できるかも @atdcloud が 1266 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンquestion
cloudinary/pycloudinary#349 · リアクション 1 件 · 担当者 1 名 ·
-
Feature: Bad Format exception再び着手できるかも @const-cloudinary が 2139 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
cloudinary/pycloudinary#266 · コメント 2 件 · 担当者 1 名 ·
-
CloudinaryFileField doesn't show checkbox for clear the field再び着手できるかも @YomesInc が 2229 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
cloudinary/pycloudinary#258 · コメント 2 件 · 担当者 1 名 ·
cloudinary/pycloudinary の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
gorakhargosh/watchdog#1462 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
openwisp/openwisp-monitoring#889 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
OpenFreeEnergy/Lomap#180 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
roman-corgi/corgisim#327 ·
メンテナーはふだん 2 日以内に返信
-
agent:WSL bug code-review linux pri:medium sev:low tooling
難易度 2/5 半日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信