Тёмный

Python Tutorial: Build a SaaS App with Django, Stripe, Neon PostgreSQL, TailwindCSS, GitHub Actions 

CodingEntrepreneurs
Подписаться 348 тыс.
Просмотров 74 тыс.
50% 1

⭐️ Sign up for Neon right now! neon.tech/cfe
Topics:
✅ Python web development with Django
✅ Sending Emails with Gmail
✅ Django AllAuth + GitHub Login
✅ Deploy to Railway
✅ Integrate Neon Postgres
✅ Django Groups and User Permissions
✅ Django + Stripe Integration
✅ Stripe reoccurring payments via Products/Prices API
✅ Django Management commands to sync Users subscription status with correct permissions
✅ Django management commands for pulling vendor css/js (tailwind/flowbite) for container-based builds plus
✅ Django with whitenoise
✅ Scheduled GitHub Actions Workflows to sync prod database with stripe status (e.g replacing a Celery beat server)
✅ Using Neon Branching for Postgres in GitHub Actions to leverage production data without touch production data
✅ Python Decouple for env vars
💽 Code: github.com/codingforentrepren...
🕹️ Blog - Deploy Django on Railway with this Dockerfile - cfe.sh/blog/deploy-django-on-...
🕹️ Blog - Sending Email in Django from Gmail - cfe.sh/blog/sending-email-in-...
Thank you to Neon for sponsoring this course - sign up at neon.tech/cfe
🚀 Enroll now on cfe.sh/enroll 🚀
Chapters
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 Rendering 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 DjangoAll 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 Decouple Dashboard
11:49:13 Thank you and next steps

Опубликовано:

 

1 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 153   
@NyihaNgotho
@NyihaNgotho Месяц назад
This guy low-key is the reason I still have a job. God bless you my friend!
@martingarcia3999
@martingarcia3999 Месяц назад
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.
@priyadugg1392
@priyadugg1392 24 дня назад
You deserve a big THANK YOU because there is hardly any content of this advanced level on RU-vid. 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!
@farid9323
@farid9323 Месяц назад
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.
@momodoubjallow2585
@momodoubjallow2585 Месяц назад
RU-vid 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.
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
What do I need million subs for when I have you? Thanks for the support!
@MohammedUniverse
@MohammedUniverse Месяц назад
​@@CodingEntrepreneurs Wow, well said, s/he deserves that compliment 😂Actually you also deserve praise for your hard and detected work.
@momodoubjallow2585
@momodoubjallow2585 Месяц назад
@@CodingEntrepreneurs respect!
@RaminChopurov
@RaminChopurov Месяц назад
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.
@junaidkhankhan4260
@junaidkhankhan4260 3 дня назад
​@@CodingEntrepreneursman you are love just need to work on seo
@smvignesh3650
@smvignesh3650 28 дней назад
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
@DisabledCookie
@DisabledCookie Месяц назад
May God bless you for putting so much content for free
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Be sure to sign up on neon, they helped us bring it to life
@Minarctic
@Minarctic Месяц назад
This is GOLD. I can't thank you enough. As a junior Django developer myself, your courses are so valuable to me. ❤
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Wow, thank you!
@TheMarketingMan4U
@TheMarketingMan4U Месяц назад
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 )))
@junaidkhankhan4260
@junaidkhankhan4260 3 дня назад
Bcz you try to understand the frame works/library before understanding the programming language
@gambomaster
@gambomaster Месяц назад
Was desperately waiting for this tutorial. 🙏🙏🙏
@ridabrahim7604
@ridabrahim7604 Месяц назад
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
@tesfahiwettruneh7593
@tesfahiwettruneh7593 Месяц назад
You are an absolute genius when it comes to Django.
@raphaelmatthew5165
@raphaelmatthew5165 18 дней назад
I'm not a web dev but I watch your videos because your method of teaching is so understandable and satisfying ❤
@thomaswyrick4648
@thomaswyrick4648 Месяц назад
This is probably the best technical instruction video I've ever watched. Thank you so much!
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Thank you for making my day!
@bobrob-ew2ly
@bobrob-ew2ly Месяц назад
Love it, thank you for teaching me how to fish. Mad respect!! 💯
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
As long as you go fishing, I did my job 😂
@shivamkumar-qp1jm
@shivamkumar-qp1jm Месяц назад
I was waiting for this thank you very much from the bottom of my heart
@judevector
@judevector Месяц назад
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
@gamingLiberationFrontOfficial
@gamingLiberationFrontOfficial Месяц назад
Thank you so much for this amazing tutorial! Building a SaaS app with Django, Stripe, Neon PostgreSQL, TailwindCSS, and GitHub Actions seemed daunting at first, but your clear explanations and step-by-step guidance made it all manageable. I've learned a ton and can't wait to apply these skills to my own projects. Keep up the fantastic work!
@rlynotabot
@rlynotabot Месяц назад
Are you human ?
@Userqpo
@Userqpo Месяц назад
GPT detected 😂😂 Good that there wasn't word "elevate" in your comment.
@DesignsbyBlanc
@DesignsbyBlanc Месяц назад
This course is fantastic. Thank you for the quality content!
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Thank you!
@Omar00113
@Omar00113 Месяц назад
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
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Thank you
@jamestporter
@jamestporter Месяц назад
This guy is awesome! Phenomenal ability to explain difficult concepts in kind of relaxed, nonchalant manner that gives students confidence. I am going to start following along with the tutorial. With zero experience I am guessing it could easily take me up to 40 hours
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Thanks for making my day! Good luck with the video, let me know if anything is confusing
@nikhilsingh3767
@nikhilsingh3767 Месяц назад
excited to complete this thank u😇
@majestif
@majestif Месяц назад
12 hours of quality content. You're our hero!
@laysskheir394
@laysskheir394 Месяц назад
Amazing, more videos like this and for Django
@SoniqsFPS
@SoniqsFPS 25 дней назад
till now the best content of django
@Afzal3000
@Afzal3000 Месяц назад
I subscribed this channel 2 days ago, best decision I took❤❤
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Welcome and thank you!
@FuzzyAnkles
@FuzzyAnkles 19 дней назад
what a content! so good to found you!
@allanbakwanamaha2998
@allanbakwanamaha2998 Месяц назад
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
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Thank you
@jaybeatz8084
@jaybeatz8084 Месяц назад
Thanks bro, this is great 👌🔥
@ahmadshabaz2724
@ahmadshabaz2724 Месяц назад
Good project sir . Awesome work.
@guilhermevinis
@guilhermevinis 4 дня назад
You are my savior right now!
@Deus-lo-Vuilt
@Deus-lo-Vuilt Месяц назад
Thank you very much, I learn a lot from your content!
@panwar_aashvi
@panwar_aashvi 16 дней назад
Waiting for part 2 for this app to upgrade to next level 😊
@joshbleijenberg4000
@joshbleijenberg4000 Месяц назад
This is amazing
@tigsik3128
@tigsik3128 Месяц назад
this is amazing!
@zoyaa9759
@zoyaa9759 Месяц назад
More Django is good , good Django is great! ❤
@ProPython
@ProPython Месяц назад
I will donate my first salary to your channel for sure.... Thanks a lot sir 🙏🏻
@letssee6813
@letssee6813 Месяц назад
Man how its possible that you have only 300k subs man. you have my dream skills Man.
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
🤷🏻‍♂️ who knows. Tell your friends to sub lol
@sekiro_19
@sekiro_19 5 дней назад
Neon is probably the best way to host your psql db.
@supersecretninjame
@supersecretninjame Месяц назад
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...
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Thank you! Who else wants HTMX?
@unemployed-developer
@unemployed-developer Месяц назад
@@CodingEntrepreneurs just right here
@aashayamballi
@aashayamballi Месяц назад
thank you!
@oshodikolapo2159
@oshodikolapo2159 Месяц назад
Great content Thanks
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Glad you liked it!
@tigere01
@tigere01 Месяц назад
This ladies & gentlemen is my guy!
@TheAremoh
@TheAremoh Месяц назад
Greeeeaat!!! 🎉🎉🎉
@rayon9353
@rayon9353 Месяц назад
Nice one
@belkassem06
@belkassem06 Месяц назад
Wooow 12 hours and for FREE? MashAllah. May Allah bless you. Thank you
@Asmrprogrammingfull
@Asmrprogrammingfull Месяц назад
Tenku 🎉🎉🎉
@Asmrprogrammingfull
@Asmrprogrammingfull Месяц назад
Thenk you
@user-bn2nt4dn9j
@user-bn2nt4dn9j Месяц назад
OMG--- i have no words--- What should i write to express my excitement situation on this Great Video--- Can anyone lend me some words----?
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
I think you nailed it
@jermainejackson5716
@jermainejackson5716 Месяц назад
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?
@fuuman5
@fuuman5 Месяц назад
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.
@amirsaid
@amirsaid Месяц назад
thank u so much
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
youre welcome
@user-wz9wy2cl6z
@user-wz9wy2cl6z Месяц назад
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
@maliqi0657
@maliqi0657 Месяц назад
🔥
@xCyberBiznes
@xCyberBiznes Месяц назад
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.
@maniranjanpathak4864
@maniranjanpathak4864 Месяц назад
Damn awesome
@spotnuru83
@spotnuru83 Месяц назад
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
@dipedchoclate
@dipedchoclate 9 дней назад
I had some issuess with setitng up the django allauth-ui templates as they have been updated since the recording of the video, overall very similar to how he does it in the video just different file paths copied from their main repository but what you need to do is add allauth/layouts/base.html to templates then copy and past the file from the main branch from django-allauth-ui github. I also added a folder to templates called account and in this folder i added login.html and signup.HTML in both of these i use {% extends allauth/layout/base.html%} from here you just need to add the lines from the original base.html as he does in the video the only other issue i found was the button color being removed due to flowbite so if this happens you will need to make a custom.css class in the staticfile directory that's already set up and add that link under the header in allaut/layout/base.html like this
@spotnuru83
@spotnuru83 Месяц назад
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
@bhouteshdivecha4331
@bhouteshdivecha4331 22 дня назад
Can you release tuts on django-inlinecss for email template which involves bootstrap 5 and semantic ui and loops in template?
@shamstabrez2986
@shamstabrez2986 Месяц назад
A BIG THANK U MAN FOR THIS I WNNA RQUEST U COULD U PLZ DO A SAME PROJECT ON MIROSERVICES AND DEPLOY THAT INTO A KUBERNETES CLUSTER WITH COMPLETE FRONTEND BACKEND AND DB WITH PROPER ARCHITECTURE LIKE MESSAGE QUEUES AND ALL
@serychristianrenaud
@serychristianrenaud Месяц назад
Thanks
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
You’re welcome
@Knight_Alonne
@Knight_Alonne 14 дней назад
Please make separate tutorial on Django allauth+React with authentication
@VarunTripathi8307
@VarunTripathi8307 Месяц назад
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
@timthegreatone
@timthegreatone Месяц назад
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?
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Multi-tenant in Django would be great. Who else wants this?
@JeanBaptisteChabi
@JeanBaptisteChabi Месяц назад
​@@CodingEntrepreneursme
@bollo_omar
@bollo_omar Месяц назад
@@CodingEntrepreneurs add me as well
@burcescuandreeamaria
@burcescuandreeamaria Месяц назад
Count me in!
@jjmontgo2
@jjmontgo2 24 дня назад
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.
@UkashaHacksCommunity
@UkashaHacksCommunity Месяц назад
i wanted to be the first commentor. but. hahahaha, just 😀 thank mitchel
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
It’s the thought that counts 😏
@TOGB_Reeper
@TOGB_Reeper Месяц назад
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
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
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.
@anirudhani115
@anirudhani115 Месяц назад
@Asmrprogrammingfull
@Asmrprogrammingfull Месяц назад
🎉🎉
@skillhub844
@skillhub844 Месяц назад
Hey Justin!, can you make django tutorial on multi-tenancy please!
@abhaykanwasi881
@abhaykanwasi881 Месяц назад
I think of going with this course then can anyone please tell me that is there anything in this project where I need to pay to use ?
@shivamkumar-rn2ve
@shivamkumar-rn2ve Месяц назад
Does anyone know how a user can access the success page once again after subscribing?
@sudipkc00
@sudipkc00 Месяц назад
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
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Perhaps…. DRF comes later
@RicardoLelis
@RicardoLelis Месяц назад
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
@realcontentfun
@realcontentfun Месяц назад
How we can make it single page application can you please make any saas with single page application using Django
@corpsedad7368
@corpsedad7368 Месяц назад
I want to do my first python project should i start with this . I have done mern though.
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
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
@corpsedad7368
@corpsedad7368 Месяц назад
@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.
@Gotnu
@Gotnu Месяц назад
Will you can make it Fully function website
@doodle1239
@doodle1239 Месяц назад
THIS IS UNFAIR!! WHAT A TUTORIAL HAHA
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Unfair?!
@doodle1239
@doodle1239 Месяц назад
@@CodingEntrepreneurs hahahah it just means it’s sooo good to have such a tutorial like this 🥰
@Asmrprogrammingfull
@Asmrprogrammingfull Месяц назад
How to create paas and iaas projects?
@Antinormanisto
@Antinormanisto Месяц назад
Your account is on a limited plan and does not have access to code deployments. :(
@dipesh-siwakoti
@dipesh-siwakoti Месяц назад
Hello , Can you fix the CSRF issue in production environment. Login, Register both features are not working at all. Thanks
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Make sure you add CSRF_TRUSTED_ORIGINS with the same values as allowed hosts plus http/https, eg CSRF_TRUSTED_ORIGINS=[".railway.app"]
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
docs.djangoproject.com/en/5.0/ref/settings/
@user-yt8jd1oo7c
@user-yt8jd1oo7c Месяц назад
What is this website for?
@Gotnu
@Gotnu Месяц назад
We need a good saas project in django please make it
@azmiah8097
@azmiah8097 Месяц назад
Anyone have issues with the django all auth social account i've tried everything but keep getting the callback error my settings are all the same github and django admin too compared it with the repo but still nothing. One thing i dont get is in the url where it say redirect_uri and from then on. Edit: I did it with the google one!
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
What redirect url did you use on GitHub? What is the callback error (look in the url parameters on django for hints)
@azmiah8097
@azmiah8097 Месяц назад
@@CodingEntrepreneurs 127.0.0.1:8000/accounts/github/login/callback/ but it's cool for now because I setup the Google oneand it works! Not sure if i want the Github for my app. Thanks for the course by the way brilliant content!
@azmiah8097
@azmiah8097 Месяц назад
@@CodingEntrepreneurs I used 127.0.0.1:8000/accounts/github/login/callback/ but not to worry i used the Google thanks and cool content by the way really appreciate the course!
@andrewrichter544
@andrewrichter544 22 дня назад
I am getting "Third-Party Login Failure" error when trying to login with github
@SwampTekGaming
@SwampTekGaming 22 дня назад
I am getting that and with Discord as well
@dipedchoclate
@dipedchoclate 9 дней назад
I had the same issue first double check everything was input correctly for the gmail verification part mostly if you copy and pasted from his blog as he does have a typo on this line EMAIL_USE_SSL = config("EMAIL_USE_TLS", cast=bool, default=False) TLS should be SSL this wasn't what fixed it for me through what i need to do was on github side instead of creating as an app i made it as an Oauth app instead following the same steps as he does for the github app
@xCyberBiznes
@xCyberBiznes Месяц назад
11:34:38 there is a ghost :P
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
👻
@syedkashifnaqvi1268
@syedkashifnaqvi1268 Месяц назад
start watching now
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
💯
@jjmontgo2
@jjmontgo2 11 дней назад
11:34:40 Double trouble.
@Asmrprogrammingfull
@Asmrprogrammingfull Месяц назад
Hi bro
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Hi bro
@ignaciosavi7739
@ignaciosavi7739 Месяц назад
This guy is just too SaaSy
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
You haven’t even seen how SaaSy I can get
@Asmrprogrammingfull
@Asmrprogrammingfull Месяц назад
Iaas and paas projects
@my_youtube_channel_handle_123
@my_youtube_channel_handle_123 8 дней назад
I don't find this tutorial useful. The production deployment happens at the beginning of the tutorial when that is at the last steps. Before have a model created in Django, the database is deployed for production? It is confusing using so many third party services (and some of them paid) because that makes beginners and people with some expertise to do not understand the logic of how things are usually done. The naming convention used is confusing and wrong in some cases (I cannot name a Django app 'auth' as I got a duplicated error, that name is taken by default by Django and forced me to rename the app which is a pain in the ****). It is not the natural order and way of doing things, setting Env variables, creating Docker images, deploying the app when is still empty all that before setting the grounds of your Django apps. Overall I don't see this usefull to learn Django or Python at all, more to understand specific technologies that might be userful if you are working in a similar project.
@vladusa
@vladusa 17 дней назад
I think this is overcomplicated. You can do the same thing in Next JS in 2 hours.
@l2ob1222
@l2ob1222 12 дней назад
then go make it in Next Js 🤷‍♂
@vladusa
@vladusa 11 дней назад
@@l2ob1222 LMAO
@Jordan-fx6nk
@Jordan-fx6nk Месяц назад
Isn't SaaS EXTREMELY SATURATED??
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Maybe. Maybe not. Would 200 people paying you $50/mo for code you wrote change your life? If yes, SaaS is the way.
@SwampTekGaming
@SwampTekGaming Месяц назад
I've spent a few hours troubleshooting the email function, always getting an error saying username / password are incorrect. I tried other services, redid app passwords, etc. only after going back to basics to print() in settings.py to see the env variables did I see my problem. I had comments inline after the values using "#". I didn't realize the comment was getting pulled in with the value e.g. EMAIL_HOST_PASSWORD = "wwww xxxx yyyy zzzz" # google app password' -showed that the value took all that text. Rookie mistake.
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Don’t worry, I still do things like this all the time. The faithful print statement! Consider writing unit tests too, I show *absolute* basics on that in this video
@ELVI3JO
@ELVI3JO Месяц назад
I got an error on 'sendtestemail' about SSL Certificate ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992). I tried even hardcoding EMAIL_USE_TLS=True , EMAIL_USE_SSL=False , EMAIL_PORT='587'(str and int) . Seems a very common error.
@ELVI3JO
@ELVI3JO Месяц назад
Also I realized an error you have in your instructions blog: EMAIL_USE_SSL = config("EMAIL_USE_TLS", cast=bool, default=False). I noted you fixed on video, not sure if you did on purpose or it is still a mistake. Anyways Im stuck with SSL Certificate Verify error.
@CodingEntrepreneurs
@CodingEntrepreneurs Месяц назад
Maybe install certs with Python. There is likely a command within your Python install directory. This is Python-specific on your system
@ELVI3JO
@ELVI3JO Месяц назад
@@CodingEntrepreneurs Thank you Justin you were right, I did not understand at the beginning but finally I found it in stackoverflow and then suddenly your response here make all sense! Apparently if we install python from other sources like brew or conda we need to run 'Install Certificates.command'.
Далее
100+ Linux Things you Need to Know
12:23
Просмотров 910 тыс.
Java for the Haters in 100 Seconds
2:22
Просмотров 2,8 млн
ChatGPT for Data Analytics: Full Course
3:35:30
Просмотров 232 тыс.
FastAPI, Flask or Django - Which Should You Use?
9:49