Intro to Django Tenants - Create a Separate Database Schema for Each User
Vložit
- čas přidán 6. 09. 2023
- In this video I'll show you how get started with Django Tenants. This Django app allows you to create a separate database schema for each user. So each user will own data that doesn't get mixed in with data from other users.
Need one-on-one help with your project? I can help through my coaching program. Learn more here: prettyprinted.com/coaching
Get the code here: prettyprinted.com/l/dpm
Twitter: / pretty_printed
Github: github.com/prettyprinted
EXACTLY what I need. Thanks man! Great video. Short sweet and straight to the point!
This is the best video! Big up Pretty Printed. I'll signup for one on one coaching soon.
I would really be grateful if you could go deeper into this topic, or if you could recommend some reading/video on this in more detail.
This just came right on time. Concise and to the point.
Glad it helped you! Thanks for watching.
Babe wake up, new PP lecture just dropped!
haha thanks for watching!
Great! Was what I needed to understand the django-tenants! Thanks and congratulations!
the problem is how we can deploy this? i think its only for localhost
Pretty incredible. Thanks for the insight
Been looking for this...thanks!
This is what I looking for! Worth for a sub!
Thanks for the video , quite informative
That is really helpful, Thanks
super awesome; hope to see a follow up with auth for multiple tenants
Hello Sir! it has been a while. Thanks for always sharing great things
Please would you like to make a full tutorial on django and docker ?!!
Muito obrigado meu amigo.... Thank you very much....
Thank you very much for the video, can you kindly do another video that talks about the global users for Django tenants. I understand that with this implementation, each user will have to login to their schema, which means that a user who has access to more than one schema will have to login multiple times.
Thanks 😊
Thanks for the lessons. Can you please add "Unit Tests" as well.
Great lesson.
Let me know we can create tenants with main domains not only in subdomains?
This was a very helpful walkthough. I was able to get Django-Tenants up and running with ease. Do you have any documentation or a walkthrough on how to manage tenant users? I havent seen much documented for that subject.
i must've done something wrong, i can see all the data from every tenant schema, my idea was that the main app was available to everyone but the records were "personal"...i need to dig a bit more but you helped a lot!
everything done perfectly could you please help how to setup Django User in each tenant schema
Thanks It is so well explained. I have two question. ¿Should we have all the user, groups and permission tables in the public schema or should we have them in each specific tenant? ¿How can we move those in each tenant schemas tables?
Awesome
Thanks for watching!
Thank you so much, found what am looking, but one thing again, am having Issue with my media urls after create the tenant, please can you help me with that? and once again thanks a lot.
cool thks
if tenant is dynamically created,then how to create automatically schema and automatically migrate(makemigrtions) ?
thank you very much for your video. I have this problem ModuleNotFoundError: No module named 'django.tenants', apparently it's because of the docket but I don't know how to configure it. If you can guide me I would appreciate it
this is good. thanks. how do i make this process automated. like I if want a company name 'bgico', i have a template of html where user can enter, the company name, and maybe company has multiple departments, user enters department name and a table is created for each
can we do this in flask?
I want to use aws with multi tenant. any guide for that?
In case of building ERP app for different customers, each customer is a company with multi users , how to apply this approach?
how we can deploy it on cloud?
Hi, What if i want to implement django-tenant-schemas with a fixed URL. How would we go about it?
What happens if you have 1000 users you create 1000 schemas ? Can’t we use shared schemas and identify each user data with the user ID ?
How use with channels ?
How can i manage tenant user?? Its conflicting tenant user and other users?
the question is that how many schema can it handle, thousands of them for a SAAS project?
hi is it possible to add a password for each subdomain