mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-04-29 17:04:43 +00:00
Major changes: - filter ``embed`` is replaced by tag ``video``. - removed caching for whole backend, caching properties instead. - HTTP or HTTPS is set by context.is_secure() (just for ``video`` tag). - backends can be HTTP only (``allow_https = False``). Minor changes: - changed theme of docs to RTD theme. - help about testing HTTPS on development server. - added and modified tests
34 lines
615 B
ReStructuredText
34 lines
615 B
ReStructuredText
Installation & Setup
|
|
==============================================
|
|
|
|
Installation
|
|
##############################################
|
|
|
|
Use pip to install package:
|
|
|
|
.. code-block:: bash
|
|
|
|
pip install django-embed-video
|
|
|
|
|
|
If you want latest version, you may use Git. It is fresh, but unstable.
|
|
|
|
.. code-block:: bash
|
|
|
|
pip install git+https://github.com/yetty/django-embed-video.git
|
|
|
|
|
|
Setup
|
|
##############################################
|
|
|
|
Add ``embed_video`` to :py:data:`~django.settings.INSTALLED_APPS` in your Django
|
|
settings.
|
|
|
|
.. code-block:: python
|
|
|
|
INSTALLED_APPS = (
|
|
...
|
|
|
|
'embed_video',
|
|
)
|
|
|