pkとは、プライマリーキーの略である。データベースの各レコードのユニークな名前である。
models.pyで設定しなくても、自動的に設定される。だが、管理画面上では表には出てこない。
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme