Django 010 | WeStagram #1 modeling

Thumnail : Thumbnail-Maker by oneook
Westagramモデリング
1.User Appの作成
アプリケーション名からその用途を推定できるはずです.
ユーザ関連機能を実現するアプリケーションであるため、
users
というアプリケーションが生成される.python3 manage.py startapp users
2. settings.変更
INSTALLED_APPS
加えusers

3. models.pyの作成

email
会員入科・登録用で重複できないunique=True
属性追加password
以降の暗号化プロセスの便宜上max_length=200
指定phone
数字のみで構成されているが、使用する場合IntegerField
010..
などで始まる携帯電話番号、手前の0
消えてしまうCharField
使用web_site
・information
会員入学試験入力の情報ではないのでnull=True
属性追加created_at
updated_at
追加注:Django | DateField
4.migrateの適用


Reference
この問題について(Django 010 | WeStagram #1 modeling), 我々は、より多くの情報をここで見つけました https://velog.io/@thisisemptyyy/Django-011-WeStagram-1-modelingテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol