Forums

Django distribution and management

What do I do if multiple very small companies want to use my website? (CRM).

Example: If query ".all()" in my functions, all of the companies customers will be query at once. I don't want this. I want to have every company in their own environment but only update one django project with git.

Any recommendation for how to do this for a beginner would be amazing.

Use filters in your queries: https://docs.djangoproject.com/en/4.1/topics/db/queries/#retrieving-specific-objects-with-filters