Django displaying records as adjacent numbers for the same foreign key? -
i have application has different organisations , user belongs 1 organisation.the user creates files on organisation , organisation.
the problem arise when try display "pk" attribute of files created, if create file in organisation "a", pause, creates record in database in organisation "b" , create new file in organisation "a". details display this.
organisation title pk record 1 1 record 3 3 organisation b title pk record 2 2
how can make sure id's contiguos every organisation, this.
organisation title pk record 1 1 record 2 2 organisation b title pk record 1 1
Comments
Post a Comment