How to create isolated workspace in django admin?

I got a top model like Project, and many sub models like Story, Task, Bug, TestCase.

class Project(models.model):
name = models.CharField(max_length=20)

class Bug(models.model):
project = models.ForeighKey(Project, on_delete=models.CASCADE)
summary = models.CharField(max_length=20)

class Story(models.model):
project = models.ForeighKey(Project, on_delete=models.CASCADE)
summary = models.CharField(max_length=20)

class Task(models.model):
project = models.ForeighKey(Project, on_delete=models.CASCADE)
summary = models.CharField(max_length=20)

I want to seprate project as isolated workspace in admin.
when I select a project, store the current project id, and when I create sub model objects or view change list, all object is belong to this project.

The Django admin is not the most appropriate tool to create that type of application-specific functionality. You’ll be best off creating your own views for that.

Please read the docs at The Django admin site | Django documentation | Django, especially the first two paragraphs.

If I understood you correctly, I believe this can be done by having different admin sites .

Each site admin site is isolated from the other. And you can tweak the permissions to reflect the business use case.