API key not renders to page

Issue #1 new
Anonymous created an issue

i just installed django-cms, adds YANDEX_MAPS_API_KEY = 'AIRLe....' to mycmsproject/settings.py

Tried to add plugin to empty page, but in page source have <script src="http://api-maps.yandex.ru/1.1/index.xml?key=" type="text/javascript"></script> i.e. without key...

Comments (1)

  1. Anonymous

    this diff fixes that

    < import settings
    > from django.conf import settings
    <             'placeholder':placeholder,
    <             'settings':settings, 
    >             'placeholder':placeholder, 
    < plugin_pool.register_plugin(YandexMapPlugin)
    > plugin_pool.register_plugin(YandexMapPlugin)
  2. Log in to comment