Intro to Django Tenants - Create a Separate Database Schema for Each User

Sdílet
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

Komentáře • 45

  • @markfrancisbeltran4619
    @markfrancisbeltran4619 Před 4 měsíci +1

    EXACTLY what I need. Thanks man! Great video. Short sweet and straight to the point!

  • @isaacnicolao2140
    @isaacnicolao2140 Před měsícem

    This is the best video! Big up Pretty Printed. I'll signup for one on one coaching soon.

  • @luisloyola3591
    @luisloyola3591 Před 9 měsíci +5

    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.

  • @delkitonyi
    @delkitonyi Před 10 měsíci +4

    This just came right on time. Concise and to the point.

    • @prettyprinted
      @prettyprinted  Před 10 měsíci

      Glad it helped you! Thanks for watching.

  • @Noritoshi-r8m
    @Noritoshi-r8m Před 10 měsíci +3

    Babe wake up, new PP lecture just dropped!

  • @MiguelGuzmanGuerrero
    @MiguelGuzmanGuerrero Před měsícem

    Great! Was what I needed to understand the django-tenants! Thanks and congratulations!

    • @alexdin1565
      @alexdin1565 Před měsícem

      the problem is how we can deploy this? i think its only for localhost

  • @AmoahDevLabs
    @AmoahDevLabs Před 10 měsíci +1

    Pretty incredible. Thanks for the insight

  • @xxoooOFxx
    @xxoooOFxx Před 7 měsíci

    Been looking for this...thanks!

  • @carloangelo7946
    @carloangelo7946 Před 5 měsíci

    This is what I looking for! Worth for a sub!

  • @RABWA333
    @RABWA333 Před 4 měsíci

    Thanks for the video , quite informative

  • @mohamadrezamohamadi8393
    @mohamadrezamohamadi8393 Před 10 měsíci

    That is really helpful, Thanks

  • @bridroid58
    @bridroid58 Před 3 měsíci

    super awesome; hope to see a follow up with auth for multiple tenants

  • @celloucisse7548
    @celloucisse7548 Před 10 měsíci

    Hello Sir! it has been a while. Thanks for always sharing great things

    • @celloucisse7548
      @celloucisse7548 Před 10 měsíci

      Please would you like to make a full tutorial on django and docker ?!!

  • @moisesgonga1302
    @moisesgonga1302 Před 8 měsíci

    Muito obrigado meu amigo.... Thank you very much....

  • @colbertmuloh5556
    @colbertmuloh5556 Před 7 měsíci +2

    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.

  • @mykus1000
    @mykus1000 Před 10 měsíci

    Thanks 😊

  • @stevenlevittt
    @stevenlevittt Před 10 měsíci +1

    Thanks for the lessons. Can you please add "Unit Tests" as well.

  • @AbdulRahim-lc6yb
    @AbdulRahim-lc6yb Před 18 dny

    Great lesson.
    Let me know we can create tenants with main domains not only in subdomains?

  • @beholmes1983
    @beholmes1983 Před 2 měsíci

    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.

  • @ManifestingSpirituality
    @ManifestingSpirituality Před 7 měsíci

    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!

  • @shabeeeb6400
    @shabeeeb6400 Před 2 měsíci

    everything done perfectly could you please help how to setup Django User in each tenant schema

  • @joseestebanjuarezvelazquez9894

    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?

  • @rangabharath4253
    @rangabharath4253 Před 10 měsíci +2

    Awesome

  • @al-aminbinahmad6124
    @al-aminbinahmad6124 Před 8 dny

    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.

  • @ShriNanduKi
    @ShriNanduKi Před 2 měsíci

    cool thks

  • @manojdas3528
    @manojdas3528 Před 10 měsíci +2

    if tenant is dynamically created,then how to create automatically schema and automatically migrate(makemigrtions) ?

  • @problemaspc770
    @problemaspc770 Před 8 měsíci

    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

  • @kimanimuchemi8967
    @kimanimuchemi8967 Před 4 měsíci

    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

  • @wilsonreuben5843
    @wilsonreuben5843 Před 10 měsíci

    can we do this in flask?

  • @rayanali9737
    @rayanali9737 Před 2 měsíci

    I want to use aws with multi tenant. any guide for that?

  • @RABWA333
    @RABWA333 Před 4 měsíci

    In case of building ERP app for different customers, each customer is a company with multi users , how to apply this approach?

  • @alexdin1565
    @alexdin1565 Před 10 měsíci

    how we can deploy it on cloud?

  • @khnaz35
    @khnaz35 Před 3 měsíci

    Hi, What if i want to implement django-tenant-schemas with a fixed URL. How would we go about it?

  • @codealonewithGod
    @codealonewithGod Před 2 měsíci

    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 ?

  • @mykus1000
    @mykus1000 Před 4 měsíci

    How use with channels ?

  • @user-pn1du6ms2i
    @user-pn1du6ms2i Před 3 měsíci

    How can i manage tenant user?? Its conflicting tenant user and other users?

  • @turgay9956
    @turgay9956 Před 6 měsíci

    the question is that how many schema can it handle, thousands of them for a SAAS project?

  • @EngRiadAlmadani
    @EngRiadAlmadani Před 2 měsíci

    hi is it possible to add a password for each subdomain