noirbizarre / django.js

Javascript tools for Django
http://djangojs.readthedocs.org/en/latest/
GNU Lesser General Public License v3.0
181 stars 81 forks source link

django-cms apphooks are not displayed in javascript resolver #25

Closed szelga closed 11 years ago

szelga commented 11 years ago

see info on apphooks.

to reproduce it you could use my test project: https://github.com/szelga/js-cms-test

on page http://127.0.0.1:8000/admin/cms/page/ create root page with some content, and, say, page with slug 'test2' hooked with 'My App' application (advanced settings tab). make sure that pages are published and you also clicked "publish draft" button. then test it.

on page http://localhost:8000/djangojs/init.js hooked app is not displayed, and it should be something like

"myapp-view": "/test2/",