Hey all, I am a learning developer, working with an existing codebase. The previous developer did things his way, so the code may seem a little confusing. I am working on a bug, the issue is as follows: Different users from the same company can sign into their account and access the company folders and files uploaded/created by other employees. The files are all uploaded to a management panel. Currently the code looks for the primary folder and the users folder. For some reason because of this, the folders are not showing up. ie. if i make a folder as an employee, its not showing up in the admins panel, and vice versa. I want it to look at the primary and the company folder. I have made a relationship between DocumentFolder and Company models. Please help me in understanding the syntax I need to use to look at the appropriate folders, still very new to programming. If I have left out any important information, I apologize and will be more than willing to provide more information. Thank you. --
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f4bbb73a-39bc-4192-9386-f6b1b9b867b6n%40googlegroups.com.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment