# sessions with js

**URL:** <https://forum.djangoproject.com/t/sessions-with-js/9360>\
**Category:** Using Django\
**Created:** [August 23, 2021, 8:31pm UTC](https://forum.djangoproject.com/t/sessions-with-js/9360 "2021-08-23T20:31:29Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![eyalyakir159](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/eyalyakir159/32/5532_2.png) [@eyalyakir159](https://forum.djangoproject.com/u/eyalyakir159)\
**Post date:** [August 28, 2021, 7:25pm UTC](https://forum.djangoproject.com/t/sessions-with-js/9360/21 "2021-08-28T19:25:42Z")

</div>

how would you suggest to order the sections in a course if,  
a section can be in two courses at different places?

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [August 29, 2021, 12:08am UTC](https://forum.djangoproject.com/t/sessions-with-js/9360/22 "2021-08-29T00:08:07Z")

</div>

Assuming a Course has a ManyToMany relationship with a Section, then your sequencing would be an additional field within the join table between them (the “through” table).

[Previous page](https://forum.djangoproject.com/t/sessions-with-js/9360.md?page=1)
