码迷,mamicode.com
首页 >  
搜索关键字:templates    ( 1847个结果
[Vue @Component] Pass Props to Vue Functional Templates
Functional templates allow you to create components consisting of only the template tag and exposing the props passed into the template with the props ...
分类:其他好文   时间:2018-07-24 21:15:51    阅读次数:159
Django模板语言相关内容
Django模板系统 官方文档:https://docs.djangoproject.com/en/1.11/ref/templates/builtins/#std:templatetag-for 常用语法 只需要记两种特殊符号: {{ }}和 {% %} 变量相关的用{{}},逻辑相关的用{%%} ...
分类:编程语言   时间:2018-07-23 10:57:43    阅读次数:160
python Django 创建应用
如图输入如下命令 添加应用到 autotest项目项目下 在settings.pyo 中加入“apitest”,如下图 创建视图 在apitest/views中添加test 函数 创建映射 现在把视图中的函数映射到浏览器前端页面,在autotest/urls.py 中加入如下内容: 启动服务: 浏览 ...
分类:编程语言   时间:2018-07-21 18:04:28    阅读次数:160
eclipse自动添加注释
自动添加注释 快捷键:alt shift jwindows-->preference Java-->Code Style-->Code Templates code-->new Java files 编辑它 ${filecomment} ${package_declaration} /** * @a ...
分类:系统相关   时间:2018-07-20 01:12:16    阅读次数:202
phpword使用
composer 安装 https://packagist.org/packages/phpoffice/phpword 开发文档:http://phpword.readthedocs.io/en/latest/templates-processing.html 使用案例、 https://blog ...
分类:Web程序   时间:2018-07-19 17:34:39    阅读次数:146
[Vue-rx] Access Events from Vue.js Templates as RxJS Streams with domStreams
The domStreams component property enables you to access Events from your Vue.js templates as Streams insides your subscriptions function. You can then ...
分类:数据库   时间:2018-07-17 20:16:25    阅读次数:230
Django框架配置、数据库
1、创建APP 1.python manage.py startapp app01 2.配置模板路径 setting.py TEMPLATERS 'DIRS':[os.path.join(BASE_DIR,'templates'] 'DIRS':[os.path.join(BASE_DIR,'app ...
分类:数据库   时间:2018-07-17 10:31:47    阅读次数:188
mac 下配置属于自己的shell
mac使用itermhttps://www.iterm2.com/1.安装iterm22.使用oh-my-zshwgethttps://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh-O-|sh3.cp~/.oh-my-zsh/templates/zshrc.zsh-template~/.zshrc4.vim~/.zshr
分类:系统相关   时间:2018-07-16 15:04:19    阅读次数:235
二、Django视图
1. 视图的功能 接收请求,进行处理,与M(models)和T(templates)进行交互,返回应答。 返回html内容 HttpResponse,也可能重定向 redirect,还可以返回json数据。 2. 视图函数使用 2.1 使用 1) 定义视图函数 request参数必须有。它是一个Ht ...
分类:其他好文   时间:2018-07-15 21:19:49    阅读次数:190
Django报错 No module named 'django.templates'
前言 Django 模板报错了 修改方法: 将你的工程文件下(my_site)的settings.py中的TEMPLATES中的templates字段全部改为template, 亲测可用~^~ ...
分类:其他好文   时间:2018-07-15 19:49:31    阅读次数:359
1847条   上一页 1 ... 63 64 65 66 67 ... 185 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!