python - Django Model/Database Design -
i have question how design django model. here problem. have 1 model, table of urls can submitted app. also, through many many relationship, have made ability combine urls 'collections'. works fine however, add ability order , reorder links in collection. example, list of links id [a,b,c,d]. user1 creates collection of [d,a,c], while user2 creates collection of [a,c,d], , user3 creates collection of [c,d,b]. there simple way add functionality current design?
i using python3, django1.8 , postgres, if matters @ all.
thanks in advance.
you can make manytomanyfield connect via intermediary model. model can control sorting of entries. take @ example question , answer: django manytomanyfield ordering using through?.
Comments
Post a Comment