Thank you for watching. Code + Chapters 👇 github.com/codingforentrepreneurs/SaaS-Foundations 00:00:00 Welcome 00:00:33 Overview 00:06:10 What you need to know 00:08:19 Start Django Project 00:18:57 Your First HTML Webpage with Python Functions 00:28:27 Rending HTML Documents 00:33:33 Using Django Templates 00:43:46 Django Template Inheritance, Conditions, & Include 00:53:39 Store and Retrieve Data Part 1 01:03:59 Store and Retrieve Data Part 2 01:11:17 Push to GitHub via Git 01:18:12 Prepare for Production Environment 01:25:28 Deploy Django to Railway with Docker Containers 01:41:57 The Hard Way to Manage Environment Variables 01:48:00 dotenv and Python Decouple to Manage Environment Variables 01:56:33 Provision a Serverless PostgreSQL Database with Neon 02:03:50 Integrate PostgreSQL with Django 02:11:21 Neon in Production + Database Branching 02:18:06 Styling with CDN for TailwindCSS and Flowbite 02:25:42 Configure Django Static Files in Dev 02:38:57 Download Url to Local File Helper Function 02:43:16 Custom Django Management Command to Pull Vendor Files 02:55:06 Missing Args with Container Build in Railway 03:01:19 Using WhiteNoise to Serve Django Static Files 03:12:09 Configure Django to use Email with Gmail 03:22:15 Django Admin User + User Passwords 03:33:20 Django Login View Logic 03:41:45 HTML Login Form and Template 03:52:46 Register Users the Hard Way 04:03:19 Configure Django AllAuth 04:15:10 User Email Verification with Django AllAuth 04:17:25 Better UI for Django AllAuth 04:28:24 Navbar Links for Auth 04:35:31 Login with GitHub via Django AllAuth 04:44:20 Password Protected Page with Django Sessions 04:52:22 User-required Pages via login_required Decorator 04:55:43 Staff User Required 05:01:22 User Profile View 05:09:43 User Permissions and has_perm 05:20:32 User Permissions in Django Templates 05:29:45 Groups & Group-level Permissions 05:33:18 Custom Permissions for Django Users 05:41:27 Groups and Permissions within Subscriptions 05:49:07 Syncing Subscription Groups and Permissions 05:56:35 Sync User Subscription with the User Group Part 1 06:02:58 Sync User Subscription with the User Group Part 2 06:12:41 Getting Started with Stripe 06:19:49 Django Customer Model 06:24:48 Override Django Save to Create Stripe Customer 06:37:10 Django All Auth Signal to Confirm Django Stripe Customers 06:51:40 Our Django Subscription Model as a Stripe Product 06:57:01 Subscription Price Model 07:09:33 Manage Prices in Django Admin with Tabular Inlines 07:15:41 Featured and Ordered Pricing 07:24:26 Subscription Pricing View & Template 07:29:39 Pricing Table based on QuerySets 07:42:16 Pricing Interval Toggle Views 07:50:26 A Django Session Based Checkout Process 08:01:55 Stripe Checkout Session 08:12:57 Stripe Checkout Finalize View in Django 08:22:27 Successful Purchase to User Subscription Model 08:35:03 Auto Cancel Subscription on New Plan 08:44:54 Adding Subscription Billing Period Dates 08:58:20 User Subscription Status Field 09:04:59 User Subscription View and Refresh 09:18:16 User Subscription Cancel View 09:30:35 Cancel Dangling User Subscriptions 09:41:21 Custom Django Management Command with Arguments 09:47:23 Subscription Refresh Utility Function 09:56:40 Custom Django Model QuerySets and Model Managers 10:05:03 Filtering Django Models with Datetime Objects 10:18:57 Hello World from GitHub Actions 10:28:45 Testing Django Basics with GitHub Actions 10:35:18 Environment Variables in GitHub Actions 10:41:00 Github Actions Secrets for Database URL 10:47:38 Branch Neon DB for Django Tests 11:01:41 Scheduled Production Worker with Django Neon Stripe and GitHub Actions 11:18:00 A Better Landing Page with Flowbite 11:27:19 Using the SaaS Theme to Fix Missing Tailwind Classes 11:31:39 Dashboard View 11:37:12 Dashboard View 11:49:13 Thank you and next steps
You deserve a big THANK YOU because there is hardly any content of this advanced level on UA-cam. All the channels and videos I've been watching from and learning from are mediocre, and I was unable to level up from them. They all exaggerate the same fundamentals over and over again, and the projects are the almost same. There's nothing new out there. Then I came across your video, which made me think, "yeah! I can learn from this guy even more than I expected.. A Big Thank you again!
UA-cam viewers aren't fair with you. how are you still less than 1m subscribers with all the value you provide without up selling anything. Any thank for another wonderful project.
I am actually also shocked as he is the best with python in here. I was watching his videos back in 2019, still confirm that his projects are the most advanced on yt.
Justin was one of my first teachers when I started out. My career took me more on the front-end path, but his teaching style was/is incredible. I cannot recommend him highly enough.
I can only say THANK YOU. there are not many channels out there that think about coding as a business so well explained. for entrepreneurs it is really hard to find this kind of videos focused on creating business.
So glad you didnt just do the whole "you do this and then that" but actually explained some of the common errors and the why things work. Super important imo to know why things work rather than just do it because it says so. Best tutorial I have come across in a long time. Keep up the good work this is super helpful
Its sooo packed with information... I often listen to these at 1.5x and I can barely keep up at 1x... GREAT CLASS. Everything explained and lots of new stuff.
I started watching this tutorial and as a a beginner I can say this is the best video that will teach you how to create your web app. Thank you so much for creating this tutorial
I learned a sentence from You within just first 2 minutes of this course. "So the idea here is" 😁. Looking forward to complete this course. You look soo much energetic about this course.
Wtf 😮, i just search for django and it showed me your free course with recent technologies. I shouted with people looking at me . Thank you so much 🙏❤, I have been following you for a long time and I am glad i did
Honestly speaking, am trying to take time and set myself for this awesome content. Thanks for your time rendered always to equip us with is great content. My Love from Uganda
I love the content and am very happy to see this new resource 👏👍 If I may, for such long courses/tutorials, showing a demo of the end product at the beginning of the video would help. I would personally be interested in giving the architecture and the process a thought before following the course to challenge my own way of going about it. Keep up the good work man
Thanks for sharing this course! It has been quite a long journey for me to follow this to the end. Really learned a bunch of things here and enjoyed a lot~
@@CodingEntrepreneurs Most things worked well for me, but an update of allauth-ui caught me at the early stage of the course. They now include slippers for better ui, and something seems to be working differently. I just followed an advice from the comments - copied layouts/base.html to my template path - and it worked. 🥳
FYI In Better UI for Django AllAuth section ---> please note the repo is updated as of now in templates directory instead of making account/base.html, please create the same directory path found in the django all ui repo, for example as of now i see the base.html in allauth/layouts --> base.html create the same in your repo essentially your are in a way overwriting their style.
hi thanks am learning alot, 1: please help 4:35:31, Third-Party Login Failure An error occurred while attempting to login via your third-party account. 2: 'allauth_ui', and 'widget_tweaks' integration giving me TemplateSyntaxError at /accounts/login/ 'slippers' is not a registered tag library. Must be one of... I research the issues yet still no progress.
Very good video.. Very informative.. If there is only one request: that you revisit the sections pertaining to Django Allauth.. Allauth now has been updated
I really don't know how to thank you brother I was a django developer until followed this tutorial🤣 then I realized what is django...Any way I wish you create another tutorial for creating full stack app in Django as backend and React as Frontend
i am at 1:33:0 . At the deployments section it says unexposed service . I am trying to figure out on my own but it's been an hour and i found no solution please some one help me
thank you for your good tutorial . but i have an questions . my question is , is it possible to explain a multi tenant system in your lecture ? . or if possible then please can you publish an video for multi tenant app video ? . thank you again
awesome video, lot's to learn especially for a beginner like me, although I see a lot of people are only using stripe, is there a wat to use another platform like PayPal or something since stripe is not available everywhere especially in the African market
Thank you. Other payment methods are possible but requires knowing their api and service. A lot of what’s done here can be adapted but, especially for beginners, that might be a bit tricky. I suggest using Stripe to learn how it’s possible. Once you do that, then use an API that works in the region you want.
Hi You asked what tutorial we want? If it is possible, I would like to see the applications Droplet vs EC2 docker portainer ngnix cognito AWS python django + flowbite Api python important LWA login by aws It's supposed to be a simple website, something like you built in this video SaaS it is supposed to be SP-API FOR AMAZON downloading reports .photos. and other I want to start with one API and expand over time does what I write make any sense? Do you see an easier path? Thanks
Thank you very much for going to such lengths to guide us on this complex topic. Just one thing I find confusing here at 5h:53 about the sync_subs.py function: Suppose Subscription include 2 Groups 'Basic + Pro', Group Basic has Perm Basic, Group Pro has Perms Basic + Pro then when we run sync_subs.py both Groups will be set to the same Perms Basic + Pro thus rendering Groups meaningless, right?
Section-1 branch code changed. Please can you provide the code as at the section 1 state (1:26:01)? I am following the tutorail but can't use the current available section-1 code on your github. You have modified it a lot .
I tried several times but still had an error about OperationalError from Django, which indicates that my application is unable to establish a connection to the PostgreSQL database. Do I need to upgrade my plan so that I can connect to Neon?
Really really nice tutorial. You have a nice way of explaining. Easy to follow. What stops me from launching anything is that I'm worried about commitments or responsibilities. After all, I store customer data. To what extent am I liable if this data is deleted? Is it because the database provider has made a mistake or I have installed a bug? After all, someone has paid money for this service. Are there any tips or things to bear in mind in this regard so that I don't score an own goal? I don't want to be legally prosecuted.
Hey, this is great stuff. Just what I needed. Just a few questions: Even if $5 isn’t much, for using Railway, but is this required for me to keep up with the tutorial? Like, are we expected to pay for “stuff” in this guide or are there alternatives while developing? I mainly asking because I’m not “there” yet with my SaaS idea. Thinking of perhaps hosting it on my RPi5 8Gb RAM for fun - in the beginning for testing.
Definitely use a Pi if you have one host it, you can learn a ton doing so. Railway is just an example of what you can do, it’s not required to learn what we do in this course. It’s definitely good to learn how to go into prod which is why I show you this.
@@CodingEntrepreneurs Thanks a bunch for the quick reply! I’m loving this tutorial but just got “stuck” at this crossroad - go with railway or not. Totally get the idea with going into production. Very nice. I’ve hosted my React website using the RPi earlier and that was really great learning as you imply. Now want to take it further with dev/prod etc. and full stack using Python/Django so your stuff is amazing.
Thanks for the content. Would this subscription model make sense for like a bookmark app ie. let users categorize useful URL links they find, decide if they want to make them public, share them with other users, maybe use generative AI to recommend links and collections of links of other users that are public?
Great Course thank you! I'm now at half time and I'm a bit confused over the subscriptions - groups - permissions. Can you wrap this up with use cases and best practices such as: What do you do if a new user comes in? Do you give them a subscription manually or do you add groups manually and what if you remove all groups manually and the subscription is still existing etc...Thanks!
I'd say grant permissions as needed and what makes sense for your app. New users might go into a "new users" group that, over time, moves over into a "active non-subscriber" group then, if the user is not very active on your site, "inactive non-subscriber" group.
We didn't create .dockerignore file, so wouldn't staticfiles/vendor/flowbite.min.css and js end up as part of image? Do we still need vendor_pull command? Or does Railway work differently?
How much Python do you know? If you feel good about writing classes functions lists variables, you should give this a try. I give some other resources to learn more in the video
@CodingEnterpreneues I know the basics as i have done it for (c, c++,c#,js) so i can complete that in a day. Just revision required. So after that what should i Start with.
On the section "Django Allauth Signal to Confirm Django Stripe Customers".. already getting an error "SMTPAuthenticationError at /accounts/signup/".. I think this has something to do with google already not allowing less secure apps to access the email accounts.. Supposedly, this is to be officially implemented Jan2025 but already has taken effect.. This affects the account email confirmation/verification functionality of the demo... Hopefully, you can help update and circumvent this by signing-in using the google account aside from Github.. or this is in the later part of the video (hehe)..
I like this SW stack. I don't have any experience with Neon though. I have to use some PostGRES db on AWS. can Neon be hosted on AWS if that makes sense? PS: Thanks a million for the video
Hello, seems like the django-allauth-ui had updated the their package and source code to another version, which I can't apply the account/base.html to our templates as in videos. May I know is there a fix? I am stuck at here and couldn't continue
@@CodingEntrepreneurs I have copied from ur sourcecode from ‘src/templates/accounts/base.html’ but it doesn’t render the webpage for the login just like in your video. But overall from the beginning until now, it was a great tutorial. Thx for your hard work.
i having issue while downloading a dataset from my app i use celery to do it but i need to add a progess bar mannuly to show how much its downloaded its tedous now can we donwnload a whole data like other site do in chome its downloading on chorme download icon chunks by chunks any tutorial would help anyone?? edit my app is on django and react
Great Course!! I would really love to learn how to take the HTMX route in order to make the app more user friendly without adding the complexity that NEXT / React brings. I think we could achive a lot in a more enjoyable way coding wise with HTMX and it would also suggest an alternative route to the current status quo in full stack dev wich is becoming more and more crazy in terms of complexity...
thanks alot for this but can i ask why you not use class based view instead of function based view i just wonder spcially that the class based view have alot of good shortcuts that gonna make it esier i just asking and wonder you are the master and i want to learn
you have run DEBUG = True from command prompt, but when i try the same in windows command promt it is throwing error.. so there must be another way, do you know anything about it? if so please let me know
really thank you so much for this tutorial - great job. But the first time when i am trying to deploy to railway the deployment is failing when started the gunicorn it is giving some errors, not able to understand at all, any idea why this is happening.. these errors are really scary to see :) it will be great if you can guide.. thank you in advance
I'm not able to run `python manage.py collectstatic` because the flowbite.min.js file has `//# sourceMappingURL=flowbite.min.js.map` at the very end and Django is attempting to find it. I could remove that portion of the .js file but it would involve making a script to strip that through regex. Did I miss something along the way?
I just added the .map to my list of staticfiles, turns out it exists if you just add .map to the end of the .js url Edit: Had I just watched a couple more minutes I would have seen you address this... Glad I figured it out on my own at least lol
Building with Stripe is easy but not a good idea. You need to be generating at least $100,000 in revenue just to sign up, and the only free option is the sandbox. If you're a regular person starting a new venture, switching to PayPal might be a better option.
Hi cfe, Great tutorial so far. Can you please help with the Docker/railway error I'm getting below? -- 9.339 Failed to build django-allauth-ui 9.339 ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (django-allauth-ui) -- Thanks, Br
Thank you for watching. Code + Chapters 👇
github.com/codingforentrepreneurs/SaaS-Foundations
00:00:00 Welcome
00:00:33 Overview
00:06:10 What you need to know
00:08:19 Start Django Project
00:18:57 Your First HTML Webpage with Python Functions
00:28:27 Rending HTML Documents
00:33:33 Using Django Templates
00:43:46 Django Template Inheritance, Conditions, & Include
00:53:39 Store and Retrieve Data Part 1
01:03:59 Store and Retrieve Data Part 2
01:11:17 Push to GitHub via Git
01:18:12 Prepare for Production Environment
01:25:28 Deploy Django to Railway with Docker Containers
01:41:57 The Hard Way to Manage Environment Variables
01:48:00 dotenv and Python Decouple to Manage Environment Variables
01:56:33 Provision a Serverless PostgreSQL Database with Neon
02:03:50 Integrate PostgreSQL with Django
02:11:21 Neon in Production + Database Branching
02:18:06 Styling with CDN for TailwindCSS and Flowbite
02:25:42 Configure Django Static Files in Dev
02:38:57 Download Url to Local File Helper Function
02:43:16 Custom Django Management Command to Pull Vendor Files
02:55:06 Missing Args with Container Build in Railway
03:01:19 Using WhiteNoise to Serve Django Static Files
03:12:09 Configure Django to use Email with Gmail
03:22:15 Django Admin User + User Passwords
03:33:20 Django Login View Logic
03:41:45 HTML Login Form and Template
03:52:46 Register Users the Hard Way
04:03:19 Configure Django AllAuth
04:15:10 User Email Verification with Django AllAuth
04:17:25 Better UI for Django AllAuth
04:28:24 Navbar Links for Auth
04:35:31 Login with GitHub via Django AllAuth
04:44:20 Password Protected Page with Django Sessions
04:52:22 User-required Pages via login_required Decorator
04:55:43 Staff User Required
05:01:22 User Profile View
05:09:43 User Permissions and has_perm
05:20:32 User Permissions in Django Templates
05:29:45 Groups & Group-level Permissions
05:33:18 Custom Permissions for Django Users
05:41:27 Groups and Permissions within Subscriptions
05:49:07 Syncing Subscription Groups and Permissions
05:56:35 Sync User Subscription with the User Group Part 1
06:02:58 Sync User Subscription with the User Group Part 2
06:12:41 Getting Started with Stripe
06:19:49 Django Customer Model
06:24:48 Override Django Save to Create Stripe Customer
06:37:10 Django All Auth Signal to Confirm Django Stripe Customers
06:51:40 Our Django Subscription Model as a Stripe Product
06:57:01 Subscription Price Model
07:09:33 Manage Prices in Django Admin with Tabular Inlines
07:15:41 Featured and Ordered Pricing
07:24:26 Subscription Pricing View & Template
07:29:39 Pricing Table based on QuerySets
07:42:16 Pricing Interval Toggle Views
07:50:26 A Django Session Based Checkout Process
08:01:55 Stripe Checkout Session
08:12:57 Stripe Checkout Finalize View in Django
08:22:27 Successful Purchase to User Subscription Model
08:35:03 Auto Cancel Subscription on New Plan
08:44:54 Adding Subscription Billing Period Dates
08:58:20 User Subscription Status Field
09:04:59 User Subscription View and Refresh
09:18:16 User Subscription Cancel View
09:30:35 Cancel Dangling User Subscriptions
09:41:21 Custom Django Management Command with Arguments
09:47:23 Subscription Refresh Utility Function
09:56:40 Custom Django Model QuerySets and Model Managers
10:05:03 Filtering Django Models with Datetime Objects
10:18:57 Hello World from GitHub Actions
10:28:45 Testing Django Basics with GitHub Actions
10:35:18 Environment Variables in GitHub Actions
10:41:00 Github Actions Secrets for Database URL
10:47:38 Branch Neon DB for Django Tests
11:01:41 Scheduled Production Worker with Django Neon Stripe and GitHub Actions
11:18:00 A Better Landing Page with Flowbite
11:27:19 Using the SaaS Theme to Fix Missing Tailwind Classes
11:31:39 Dashboard View
11:37:12 Dashboard View
11:49:13 Thank you and next steps
This guy low-key is the reason I still have a job. God bless you my friend!
this guy is the not-so-low-key reason I smiled extra wide today. thank you for making my day
@@CodingEntrepreneurs anytime
You deserve a big THANK YOU because there is hardly any content of this advanced level on UA-cam. All the channels and videos I've been watching from and learning from are mediocre, and I was unable to level up from them. They all exaggerate the same fundamentals over and over again, and the projects are the almost same. There's nothing new out there. Then I came across your video, which made me think, "yeah! I can learn from this guy even more than I expected..
A Big Thank you again!
Yes, this comment is exactly what I want to say too.
UA-cam viewers aren't fair with you. how are you still less than 1m subscribers with all the value you provide without up selling anything. Any thank for another wonderful project.
What do I need million subs for when I have you?
Thanks for the support!
@@CodingEntrepreneurs Wow, well said, s/he deserves that compliment 😂Actually you also deserve praise for your hard and detected work.
@@CodingEntrepreneurs respect!
I am actually also shocked as he is the best with python in here. I was watching his videos back in 2019, still confirm that his projects are the most advanced on yt.
@@CodingEntrepreneursman you are love just need to work on seo
May God bless you for putting so much content for free
Be sure to sign up on neon, they helped us bring it to life
Justin was one of my first teachers when I started out. My career took me more on the front-end path, but his teaching style was/is incredible. I cannot recommend him highly enough.
I can only say THANK YOU. there are not many channels out there that think about coding as a business so well explained. for entrepreneurs it is really hard to find this kind of videos focused on creating business.
So glad you didnt just do the whole "you do this and then that" but actually explained some of the common errors and the why things work. Super important imo to know why things work rather than just do it because it says so. Best tutorial I have come across in a long time. Keep up the good work this is super helpful
This is GOLD. I can't thank you enough. As a junior Django developer myself, your courses are so valuable to me. ❤
Wow, thank you!
This is by far the most comprehensive Django tutorial I’ve ever seen
It's like watching Sean Strickland teaching you about how to build a SaaS, the way he talks, but it's great content love it
I was about to say it 😂😂
@@nitensapkota8606 🤣
You are such a great tutor
Just one hour into the course I feel like a pro
Explanation is very detailed you know your stuff
Thank you!
Its sooo packed with information... I often listen to these at 1.5x and I can barely keep up at 1x... GREAT CLASS. Everything explained and lots of new stuff.
I started watching this tutorial and as a a beginner I can say this is the best video that will teach you how to create your web app. Thank you so much for creating this tutorial
I learned a sentence from You within just first 2 minutes of this course. "So the idea here is" 😁. Looking forward to complete this course. You look soo much energetic about this course.
God bless you amigo! This course - PHENOMENAL!
Keep it up, super beginner friendly, super detailed and great quality!
Wtf 😮, i just search for django and it showed me your free course with recent technologies. I shouted with people looking at me .
Thank you so much 🙏❤, I have been following you for a long time and I am glad i did
Honestly speaking, am trying to take time and set myself for this awesome content. Thanks for your time rendered always to equip us with is great content.
My Love from Uganda
Thank you
I'm not a web dev but I watch your videos because your method of teaching is so understandable and satisfying ❤
You are an absolute genius when it comes to Django.
This is probably the best technical instruction video I've ever watched. Thank you so much!
Thank you for making my day!
Wooow 12 hours and for FREE?
MashAllah. May Allah bless you.
Thank you
I love the content and am very happy to see this new resource 👏👍
If I may, for such long courses/tutorials, showing a demo of the end product at the beginning of the video would help. I would personally be interested in giving the architecture and the process a thought before following the course to challenge my own way of going about it.
Keep up the good work man
Thank you
Love it, thank you for teaching me how to fish. Mad respect!! 💯
As long as you go fishing, I did my job 😂
Man how its possible that you have only 300k subs man. you have my dream skills Man.
🤷🏻♂️ who knows. Tell your friends to sub lol
Was desperately waiting for this tutorial. 🙏🙏🙏
Thanks for sharing this course! It has been quite a long journey for me to follow this to the end. Really learned a bunch of things here and enjoyed a lot~
Thank you! Did anything not work? What could be improved?
@@CodingEntrepreneurs Most things worked well for me, but an update of allauth-ui caught me at the early stage of the course. They now include slippers for better ui, and something seems to be working differently. I just followed an advice from the comments - copied layouts/base.html to my template path - and it worked. 🥳
Full of thanks!! Justin even in the age of AI you are incredible as always.
FYI In Better UI for Django AllAuth section ---> please note the repo is updated as of now in templates directory instead of making account/base.html, please create the same directory path found in the django all ui repo, for example as of now i see the base.html in allauth/layouts --> base.html create the same in your repo essentially your are in a way overwriting their style.
Thank you very much, I was trying to solve this since yesterday, now that I see your comment it seems very obvious but I had not realized it.
Thank you.
12 hours of quality content. You're our hero!
The best tutorial about Django, thank you!
I subscribed this channel 2 days ago, best decision I took❤❤
Welcome and thank you!
This course is fantastic. Thank you for the quality content!
Thank you!
I was waiting for this thank you very much from the bottom of my heart
hi thanks am learning alot, 1: please help 4:35:31, Third-Party Login Failure An error occurred while attempting to login via your third-party account. 2: 'allauth_ui', and 'widget_tweaks' integration giving me TemplateSyntaxError at /accounts/login/
'slippers' is not a registered tag library. Must be one of... I research the issues yet still no progress.
hi, did you fixed the github problem?
@@kevinbort4249 no not yet
pip install django-allauth-ui==0.3.6 will solve the issues. Latest version of django-allauth-ui works differently
@@msvajgl thanks
till now the best content of django
Very good video.. Very informative.. If there is only one request: that you revisit the sections pertaining to Django Allauth.. Allauth now has been updated
Thanks!
Thank you!
Great work dude, thank you for good exp!
A computerized maintenance management system would be a great next project/tutorials @codingEntrepreneurs. You are going a great work
I really don't know how to thank you brother I was a django developer until followed this tutorial🤣 then I realized what is django...Any way I wish you create another tutorial for creating full stack app in Django as backend and React as Frontend
OMG--- i have no words--- What should i write to express my excitement situation on this Great Video--- Can anyone lend me some words----?
I think you nailed it
It's been 2 yrs in webdev and I still feel its way too difficult to understand the logics. Oh God Give Me Brain For Coding )))
Bcz you try to understand the frame works/library before understanding the programming language
How
Take more effort on reading books before video tutorials
You don't need a brain, just 100% practice and comitment
@@Maisonier I liked this comment. Thanks
Wow. I've been trying to build a saas app with django. This course arrived just in time. Could you build multi-tenant apps in the future?
Multi-tenant in Django would be great. Who else wants this?
@@CodingEntrepreneursme
@@CodingEntrepreneurs add me as well
Count me in!
You mention in the course you aren't doing multi-tenant saas "yet". It would be great if you did. Multi-tenancy is pretty import for saas afterall.
one of the best django tutorial
Amazing, more videos like this and for Django
what a content! so good to found you!
Waiting for part 2 for this app to upgrade to next level 😊
i am at 1:33:0 . At the deployments section it says unexposed service . I am trying to figure out on my own but it's been an hour and i found no solution please some one help me
thank you for your good tutorial . but i have an questions . my question is , is it possible to explain a multi tenant system in your lecture ? . or if possible then please can you publish an video for multi tenant app video ? . thank you again
I will donate my first salary to your channel for sure.... Thanks a lot sir 🙏🏻
You have a very commanding voice. I like it
awesome video, lot's to learn especially for a beginner like me, although I see a lot of people are only using stripe, is there a wat to use another platform like PayPal or something since stripe is not available everywhere especially in the African market
Thank you.
Other payment methods are possible but requires knowing their api and service. A lot of what’s done here can be adapted but, especially for beginners, that might be a bit tricky.
I suggest using Stripe to learn how it’s possible. Once you do that, then use an API that works in the region you want.
Hi You asked what tutorial we want?
If it is possible, I would like to see the applications
Droplet vs EC2
docker portainer ngnix
cognito AWS
python django + flowbite
Api python
important
LWA login by aws
It's supposed to be a simple website, something like you built in this video SaaS
it is supposed to be SP-API FOR AMAZON downloading reports .photos. and other I want to start with one API and expand over time does what I write make any sense?
Do you see an easier path?
Thanks
Thank you very much for going to such lengths to guide us on this complex topic. Just one thing I find confusing here at 5h:53 about the sync_subs.py function: Suppose Subscription include 2 Groups 'Basic + Pro', Group Basic has Perm Basic, Group Pro has Perms Basic + Pro then when we run sync_subs.py both Groups will be set to the same Perms Basic + Pro thus rendering Groups meaningless, right?
Hi Men your Genius i really appreciate your effort and dedication hats off
Section-1 branch code changed. Please can you provide the code as at the section 1 state (1:26:01)? I am following the tutorail but can't use the current available section-1 code on your github. You have modified it a lot .
Check the commit history!
Hey Justin!, can you make django tutorial on multi-tenancy please!
I tried several times but still had an error about OperationalError from Django, which indicates that my application is unable to establish a connection to the PostgreSQL database. Do I need to upgrade my plan so that I can connect to Neon?
Thank you very much, I learn a lot from your content!
If I understand almost all of these concepts in video then am I ready to apply for Django dev jobs??😬Please answer..😔😔
Could be. Why not do the course, apply, get feedback, and go from there?
@@CodingEntrepreneurs Thanks for the advice and a big big Thanks for this course ❣️❣️. This is absolute gold and it means a lot.
Sir u r amazing. Hat's off to you.
Really really nice tutorial. You have a nice way of explaining. Easy to follow.
What stops me from launching anything is that I'm worried about commitments or responsibilities. After all, I store customer data. To what extent am I liable if this data is deleted? Is it because the database provider has made a mistake or I have installed a bug? After all, someone has paid money for this service. Are there any tips or things to bear in mind in this regard so that I don't score an own goal? I don't want to be legally prosecuted.
excited to complete this thank u😇
Spotless super video. Thank you !!
You are my savior right now!
Good project sir . Awesome work.
Just a scan through and I am giving a like
Thanks bro, this is great 👌🔥
More Django is good , good Django is great! ❤
Hey, this is great stuff. Just what I needed. Just a few questions:
Even if $5 isn’t much, for using Railway, but is this required for me to keep up with the tutorial? Like, are we expected to pay for “stuff” in this guide or are there alternatives while developing?
I mainly asking because I’m not “there” yet with my SaaS idea. Thinking of perhaps hosting it on my RPi5 8Gb RAM for fun - in the beginning for testing.
Definitely use a Pi if you have one host it, you can learn a ton doing so.
Railway is just an example of what you can do, it’s not required to learn what we do in this course. It’s definitely good to learn how to go into prod which is why I show you this.
@@CodingEntrepreneurs Thanks a bunch for the quick reply! I’m loving this tutorial but just got “stuck” at this crossroad - go with railway or not. Totally get the idea with going into production. Very nice.
I’ve hosted my React website using the RPi earlier and that was really great learning as you imply. Now want to take it further with dev/prod etc. and full stack using Python/Django so your stuff is amazing.
Thanks for the content. Would this subscription model make sense for like a bookmark app ie. let users categorize useful URL links they find, decide if they want to make them public, share them with other users, maybe use generative AI to recommend links and collections of links of other users that are public?
I would have put everything aside and start doing this project rightaway if it was done with DRF but lets see if I want to this in future
Perhaps…. DRF comes later
Great Course thank you! I'm now at half time and I'm a bit confused over the subscriptions - groups - permissions. Can you wrap this up with use cases and best practices such as: What do you do if a new user comes in? Do you give them a subscription manually or do you add groups manually and what if you remove all groups manually and the subscription is still existing etc...Thanks!
I'd say grant permissions as needed and what makes sense for your app. New users might go into a "new users" group that, over time, moves over into a "active non-subscriber" group then, if the user is not very active on your site, "inactive non-subscriber" group.
@@CodingEntrepreneurs Alright thanks!
1:16:01 last
1:34:55 last
2:44:05 last
3:33:57 last
We didn't create .dockerignore file, so wouldn't staticfiles/vendor/flowbite.min.css and js end up as part of image? Do we still need vendor_pull command? Or does Railway work differently?
I want to do my first python project should i start with this . I have done mern though.
How much Python do you know? If you feel good about writing classes functions lists variables, you should give this a try. I give some other resources to learn more in the video
@CodingEnterpreneues I know the basics as i have done it for (c, c++,c#,js) so i can complete that in a day. Just revision required. So after that what should i Start with.
People who use tailwind are gold, currently watching REST video, so will watch this one later.
Neon is probably the best way to host your psql db.
On the section "Django Allauth Signal to Confirm Django Stripe Customers".. already getting an error "SMTPAuthenticationError at /accounts/signup/".. I think this has something to do with google already not allowing less secure apps to access the email accounts.. Supposedly, this is to be officially implemented Jan2025 but already has taken effect.. This affects the account email confirmation/verification functionality of the demo... Hopefully, you can help update and circumvent this by signing-in using the google account aside from Github.. or this is in the later part of the video (hehe)..
I like this SW stack. I don't have any experience with Neon though. I have to use some PostGRES db on AWS. can Neon be hosted on AWS if that makes sense? PS: Thanks a million for the video
Thanks!
Neon is its own service but you can connect to it on any cloud platform just as we do in this course.
Hello ,
Can you fix the CSRF issue in production environment. Login, Register both features are not working at all.
Thanks
Make sure you add CSRF_TRUSTED_ORIGINS with the same values as allowed hosts plus http/https, eg
CSRF_TRUSTED_ORIGINS=[".railway.app"]
docs.djangoproject.com/en/5.0/ref/settings/
Do you have sample live application to test that? I would like to test that SaSS before I jump to GitHub, cause I'm not a proficient programmer.
Hello, seems like the django-allauth-ui had updated the their package and source code to another version, which I can't apply the account/base.html to our templates as in videos. May I know is there a fix? I am stuck at here and couldn't continue
Does it work from my code? Copy what I have
@@CodingEntrepreneurs I have copied from ur sourcecode from ‘src/templates/accounts/base.html’ but it doesn’t render the webpage for the login just like in your video. But overall from the beginning until now, it was a great tutorial. Thx for your hard work.
@@yixian0716 Facing the same issue here
This ladies & gentlemen is my guy!
Can you release tuts on django-inlinecss for email template which involves bootstrap 5 and semantic ui and loops in template?
This guy is a Saint!
i having issue while downloading a dataset from my app i use celery to do it but i need to add a progess bar mannuly to show how much its downloaded its tedous now can we donwnload a whole data like other site do in chome its downloading on chorme download icon chunks by chunks any tutorial would help anyone??
edit my app is on django and react
Great Course!!
I would really love to learn how to take the HTMX route in order to make the app more user friendly without adding the complexity that NEXT / React brings. I think we could achive a lot in a more enjoyable way coding wise with HTMX and it would also suggest an alternative route to the current status quo in full stack dev wich is becoming more and more crazy in terms of complexity...
Thank you! Who else wants HTMX?
@@CodingEntrepreneurs just right here
thanks alot for this
but can i ask why you not use class based view instead of function based view i just wonder spcially that the class based view have alot of good shortcuts that gonna make it esier i just asking and wonder you are the master and i want to learn
Function based views are easier to manage for most. Both can be great
i cant logout and i didnt understand why
{% include "account/_button.html" with text=signout_message %}
Error during template rendering
you have run DEBUG = True from command prompt, but when i try the same in windows command promt it is throwing error.. so there must be another way, do you know anything about it? if so please let me know
really thank you so much for this tutorial - great job. But the first time when i am trying to deploy to railway the deployment is failing when started the gunicorn it is giving some errors, not able to understand at all, any idea why this is happening.. these errors are really scary to see :) it will be great if you can guide.. thank you in advance
Dear sir
I can't find any job as a fresher Django Developer all openings are demanding years of work experience. What should I do ?. I am an Indian
Any chance of a part 2 making this multi tenant or assigning a company id to paid user and assign unpaid user to a company id
and using microsoft email
I'm not able to run `python manage.py collectstatic` because the flowbite.min.js file has `//# sourceMappingURL=flowbite.min.js.map` at the very end and Django is attempting to find it. I could remove that portion of the .js file but it would involve making a script to strip that through regex. Did I miss something along the way?
I just added the .map to my list of staticfiles, turns out it exists if you just add .map to the end of the .js url
Edit: Had I just watched a couple more minutes I would have seen you address this... Glad I figured it out on my own at least lol
Building with Stripe is easy but not a good idea. You need to be generating at least $100,000 in revenue just to sign up, and the only free option is the sandbox. If you're a regular person starting a new venture, switching to PayPal might be a better option.
Awesome thanks. requirements.txt didn't want to install first, needed to save the file first 😅
This is amazing
Hi cfe,
Great tutorial so far. Can you please help with the Docker/railway error I'm getting below?
--
9.339 Failed to build django-allauth-ui
9.339 ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (django-allauth-ui)
--
Thanks,
Br