kopia lustrzana https://github.com/wagtail/wagtail
Merge 13f3e9ce2a
into 7c6187f06c
commit
e5800caed1
|
@ -247,7 +247,7 @@ be hosted on different providers and you need to implement custom controls for
|
|||
them.
|
||||
|
||||
Wagtail has built in support for fetching embeds from Embed.ly. To use it,
|
||||
first pip install the `Embedly` [python package](https://pypi.org/project/Embedly/).
|
||||
first pip install the `embedly2` [python package](https://pypi.org/project/embedly2/).
|
||||
|
||||
Now add an embed finder to your `WAGTAILEMBEDS_FINDERS` setting that uses the
|
||||
`wagtail.embeds.finders.oembed` class and pass it your API key:
|
||||
|
|
1
setup.py
1
setup.py
|
@ -49,6 +49,7 @@ testing_extras = [
|
|||
"azure-mgmt-cdn>=12.0,<13.0",
|
||||
"azure-mgmt-frontdoor>=1.0,<1.1",
|
||||
"django-pattern-library>=0.7",
|
||||
"embedly2==0.6.0",
|
||||
# For coverage and PEP8 linting
|
||||
"coverage>=3.7.0",
|
||||
"doc8==0.8.1",
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -19,9 +19,6 @@ basepython =
|
|||
py312: python3.12
|
||||
|
||||
deps =
|
||||
django-sendfile==0.3.6
|
||||
Embedly
|
||||
|
||||
dj42: Django~=4.2.0
|
||||
dj50: Django~=5.0.0
|
||||
dj50stable: git+https://github.com/django/django.git@stable/5.0.x#egg=Django
|
||||
|
|
Ładowanie…
Reference in New Issue