Giter Club home page Giter Club logo

teamf's Introduction

特記事項

デプロイ

Heroku: django_on_docker

データベース

  • マイグレーションの作成: python manage.py makemigrations
  • django_on_docker/posts/migrations/0002_auto.py をコピー
  • django_on_docker/posts/fixture をコピー
  • django_on_docker/app/fixture をコピー
  • マイグレーションの実行: python manage.py migrate
  • データベースの削除: rm -d -r db.sqlite3 (*DBをPostgreSQLにした後変更する必要あり)

ルーティング

|-- /admin : 管理者ページ
|
|-- /accounts
|  |-- /login : サインインページ
|  |-- /logout : サインアウトページ
|
|-- /create_account : サインアップページ
|-- /posts : 投稿一覧
|  |-- /{post_id} : 投稿詳細
|  |
|  |-- /create : 投稿
|  |
|  |-- /edit/{post_id} : 投稿編集
|  |
|  |-- /delete/{post_id} : 投稿削除
|  |
|  |-- /hoge/{post_id} : コメント作成 |  |
|  |-- /ranking/[ahare|wokashi] : ランキング

teamf's People

Contributors

kevin3314 avatar pepepor123 avatar shung-ich avatar yamaso avatar kyohei-yasunaga avatar wamomo-m avatar wamomo-san avatar

Stargazers

Koichiro Ueki avatar

Watchers

James Cloos avatar

teamf's Issues

ルーティングのパス名

path('hoge/<int:num>', views.comment_create, name='hoge'),

[What]
comment_create みたいな感じにすると謎にバグったため一旦 hoge としている。
commentCreate でも確かバグった。
名前をいい感じにしたい。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.