We'd like to be able to link otnames together, so that they always appear at the same time. This issue needs to be handled at the same time as the problem is solved on the bot side, because both will rely on each other for proper testing. Bot issue can be found at python-discord/bot#658.
For example, we may want the following names to always appear together:
#ot0-what-is-your-name?
#ot1-what-is-your-quest?
#ot2-what-is-your-favorite-color?
The basic idea is that, whenever we link names together, we will add all the names to all the otnames objects in this linked_names field. That way, no matter which one you get, you will have all the information you need without making additional queries.
We'd like to be able to link otnames together, so that they always appear at the same time. This issue needs to be handled at the same time as the problem is solved on the bot side, because both will rely on each other for proper testing. Bot issue can be found at python-discord/bot#658.
For example, we may want the following names to always appear together:
#ot0-what-is-your-name?#ot1-what-is-your-quest?#ot2-what-is-your-favorite-color?linked_names. This field should be an ArrayField that can have up to 3 CharFields. This is where we will put all the names that are linked, in the correct order.The basic idea is that, whenever we link names together, we will add all the names to all the otnames objects in this
linked_namesfield. That way, no matter which one you get, you will have all the information you need without making additional queries.