Преглед изворни кода

Include default emed finders in facebook embeds configuration example (#6625)

Facebook and Instagram embeds configuration section should include the default finders for all other providers. It's unclear for someone who just wants to fix his facebook embeds
Vlad Herasymenko пре 4 година
родитељ
комит
454002fbd7
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      docs/advanced_topics/embeds.rst

+ 5 - 0
docs/advanced_topics/embeds.rst

@@ -221,6 +221,11 @@ the App ID and App Secret from your app:
             'class': 'wagtail.embeds.finders.instagram',
             'app_id': 'YOUR INSTAGRAM APP_ID HERE',
             'app_secret': 'YOUR INSTAGRAM APP_SECRET HERE',
+        },
+
+        # Handles all other oEmbed providers the default way
+        {
+            'class': 'wagtail.embeds.finders.oembed',
         }
     ]