'Django Admin Dashboard problem with user permissions
What can I do to prevent user w1 from selecting user q when creating the location? The uesr w1 has all the rights to create the models and has staff status. Is there a way that the user w1 is written directly into the field "user" without the user w1 having to do this manually?
code: models.py and admin.py https://www.codepile.net/pile/QmA9awmV
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
