I am using Django to create a gym app. In this app users can share workouts that have various exercises in them. I have three models:
- Workout ( which stores the names of the different workouts and the author of the post and time of creation),
- Exercise ( which stores the name of the exercises and a description of each)
- WorkoutExercises ( which links an exercise to a workout and stores the number of sets and reps).
Currently, I am trying to make a form that will allow a user to create a workout and add exercises to it (each with various sets and reps). However, I have found that I cannot use more than 1 model in my Form. How do I go about getting information from the user, so I can put it in the database so that it all links up?