Table/Data architecture

Depending upon just how “new” to this you are, you probably want to break this larger project into smaller, easier-to-digest, steps (or “stages”, or “milestones”).

I would start by ignoring the JavaScript parts of this completely. The easiest first step would be to create a traditional multi-page application. Render your page completely within Django. Handle your buttons with standard Django views.

This will give you a functional project that you know you can build from and enhance. You can then decide what you want to do to mix JavaScript into it. It’ll also help fix into your mind what happens in each location - a common source of confusion among those getting started.

The quickest path to frustration is to try and do too much at once - you end up with too many unknowns whenever you encounter a problem.