[Answer]-How to handle repeated records in django

1๐Ÿ‘

โœ…

  1. If you are having a poker tournament, you would want a historical record of each tournament, so you would need an unique record for each tournament that happens. Otherwise, you would be mixing old tournaments with new, joining and unjoining player records from them all the time, etcโ€ฆ

  2. Yes, you can set default as a kwarg in the Django models.py for each field, or use an init argument for User form data to pre-populate tournament forms for new tournaments based off the prior form they filled out.

๐Ÿ‘คAaron Lelevier

Leave a comment