I think when you have auto_create_schema = true in tenant model then tenant creation runs migrations, so no need to run call_command after creating a tenant.
@@ajudmeister I would like to know in your other video why you created customtenantstorage when you could have just defined def location(self) : _location =parse_tenant_config_path('media/%s') return _location
@@rajeshrathod3113 I defined a custom storage to have the whole integration of the file-saving process. I think you can only retrieve the location of the file with parse_tenant_config_path() but not saving it or url generation? Would need to do some testing though to be sure. Thanks for the suggestion.
Sorry, I haven't finished this video yet, but I want to ask you something, please. Why didn't you apply this video to the previous project? And decided to start another project? Thank you very much.
@@JuanitoOrtega I created two separate projects because the first does not share the users across tenants, however the second has a global userbase, so it’s easier to set up an instance straight from the website like in a typical saas application. I also wanted to showcase different ways to add tenants.
Hello Sir. Can you create video - series to create SaaS Learning Platform (online school) with django ? I thing it's a great idea, to create real school with teachers , childs groups, and online code editor ? What you think ?
Yea, it's a great idea. With tenants you could manage different user groups, schools, topics and so on. This is a whole big project by itself, I try to focus on the fundamentals and basics, upon which specific projects could be built.
I think when you have auto_create_schema = true in tenant model then tenant creation runs migrations, so no need to run call_command after creating a tenant.
oh, you are right! I read it somewhere, but testing it now, it also works without calling call_command! Thanks for pointing it out!
@@ajudmeister I would like to know in your other video why you created customtenantstorage when you could have just defined
def location(self) :
_location =parse_tenant_config_path('media/%s') return _location
@@rajeshrathod3113 I defined a custom storage to have the whole integration of the file-saving process. I think you can only retrieve the location of the file with parse_tenant_config_path() but not saving it or url generation? Would need to do some testing though to be sure. Thanks for the suggestion.
Bro you are Awesome. Please make a video for multi user with roles.😍😍😍😍
I will do more on this in future
@@ajudmeister Please we are waiting for this. Thanks for your wonderful tutorials.
Welcome back Boss
Excellent Bro continue your work
Nice Boss
🎉🎉🎉🎉
Very informative
Sorry, I haven't finished this video yet, but I want to ask you something, please. Why didn't you apply this video to the previous project? And decided to start another project? Thank you very much.
@@JuanitoOrtega I created two separate projects because the first does not share the users across tenants, however the second has a global userbase, so it’s easier to set up an instance straight from the website like in a typical saas application. I also wanted to showcase different ways to add tenants.
@@ajudmeister great, as always, you are amazing, always sharing knowledge through real-life projects. Thank you.
I am happy you find it useful. Thanks
Hello Sir. Can you create video - series to create SaaS Learning Platform (online school) with django ? I thing it's a great idea, to create real school with teachers , childs groups, and online code editor ? What you think ?
Yea, it's a great idea. With tenants you could manage different user groups, schools, topics and so on. This is a whole big project by itself, I try to focus on the fundamentals and basics, upon which specific projects could be built.
@@ajudmeister Okay. I'd really like this project from you🤗
Will auto_schema work on raylway?
Yes