2017-01-28から1日間の記事一覧
CSSって、ちゃんと勉強してないので、いまいち理解できてない。他の人が作ったhtmlファイルとか、cssファイルは読解が難しい気がする。 CSSの場合、classが重要なので、classをまず確認する。 そのclassが、どういう仕様になっているのか、コードの記載があ…
概要 AngularJS1 + Django REST Frameworkに再挑戦 その12 Comment Reply Directive 参考動画 Django + AngularJS | Coding For Entrepreneurs Reply to Comments part1 js/app/comment/comment.directive.js を作成する。 'use strict'; angular.module('co…
概要 AngularJS1 + Django REST Frameworkに再挑戦 その11 Reply to Comments 参考動画 Django + AngularJS | Coding For Entrepreneurs Reply to Comments コメントのreplyとかを表示したい。まずはcommentのcontextの内容を確認する。 <ul ng-show='comments.length > 0'> <li ng-repeat='comment in comments | filter: query'> {{ comment.conten</li></ul>…