|
|
|
@ -1,7 +1,8 @@ |
|
|
|
{% load static %} |
|
|
|
{% load static %} |
|
|
|
|
|
|
|
{% load setting from settings %} |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
window.LIL_STORE = { |
|
|
|
window.LIL_STORE = { |
|
|
|
pusherKey: '{{ settings.PUSHER_KEY }}', |
|
|
|
pusherKey: '{% setting "PUSHER_KEY" %}', |
|
|
|
staticUrl: '{% static "" %}', |
|
|
|
staticUrl: '{% static "" %}', |
|
|
|
accessToken: '{{ request.user.auth_token }}', |
|
|
|
accessToken: '{{ request.user.auth_token }}', |
|
|
|
isMobile: {{ request.user_agent.is_mobile|yesno:"true,false" }}, |
|
|
|
isMobile: {{ request.user_agent.is_mobile|yesno:"true,false" }}, |
|
|
|
|