Alex Tomkins 2024-04-27 12:40:02 +00:00 zatwierdzone przez GitHub
commit e5800caed1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
3 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -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:

Wyświetl plik

@ -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",

Wyświetl plik

@ -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