【文件属性】:
文件名称:django-marionettejs:django 项目的 marionetejs 基础
文件大小:382KB
文件格式:ZIP
更新时间:2021-06-25 10:04:42
JavaScript
这个项目很简单。
如果你用 django 开发 marionettejs。 您可以毫不费力地安装该软件包并包含 js。
只需添加以下设置
INSTALLED_APPS = (
'marionettejs' ,
)
并且只包含模板
{% include 'marionettejs.html' %}
以下是 marionettejs.html 的内容
{% load staticfiles %}
{% if DEBUG %}
< script src =" {% static 'js/jquery.js' %} " > </ script >
< script src =" {% static 'js/csrf_token.js' %} " > </ script >
< script src =" {% static 'js/json2.js
【文件预览】:
django-marionettejs-master
----django-marionettejs()
--------MANIFEST.in(102B)
--------README.rst(643B)
--------setup.py(1010B)
--------marionettejs()
--------Makefile(44B)
----dummy()
--------assets()
--------.DS_Store(6KB)
--------db.sqlite3(132KB)
--------dummy()
--------manage.py(248B)
--------demo()
----.gitignore(699B)
----README.md(1KB)