mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-03-16 21:30:23 +00:00
Request context processor needed
This commit is contained in:
parent
d44dcada58
commit
26098c094f
1 changed files with 9 additions and 0 deletions
|
|
@ -32,3 +32,12 @@ settings.
|
|||
'embed_video',
|
||||
)
|
||||
|
||||
To detect HTTP/S you have to use :py:class:`~django.core.context_processors.request`
|
||||
context processor:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
TEMPLATE_CONTEXT_PROCESSORS = (
|
||||
...
|
||||
'django.core.context_processors.request',
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue