雑記帳


django divide application - Google 検索

application の分割単位を検討しているんだけど

form - model, view - template みたいに分割するのがいいのかな。

あるモデルのデータを json として表示する場合、もうその時点で one model, one app

modelform - model - view - json

でそれらを統合するものがあれば、統合する。

test 想定だとね、 input があって output を検証するんだから、input output 一まとまりケースで分割がいいのかな。

app を統合する上位 app があるのも良し。

Advanced tutorial: How to write reusable apps | Django documentation | Django
python - How to keep all my django applications in specific folder - Stack Overflow



https://www.google.co.jp/search?q=set+form+attribute+before+save+django
url | Built-in template tags and filters
django pass parameter to function in template tag
How do I add multiple arguments to my custom template filter in a django template?
python - Django - what is the difference between render(), render_to_response() and direct_to_template()? - Stack Overflow