![CodingEntrepreneurs](/img/default-banner.jpg)
- 829
- 22 663 576
CodingEntrepreneurs
Приєднався 29 чер 2013
Learn, Build, and Earn. Coding Entrepreneurs is here to help you learn the skills you need to build the projects you want. Learn by doing everything we do step-by-step. Practical and hands-on. Let's do this.
💽 Code: github.com/codingforentrepreneurs
🚀 Enroll. Learn to code. Launch your project: cfe.sh/enroll 🚀
💽 Code: github.com/codingforentrepreneurs
🚀 Enroll. Learn to code. Launch your project: cfe.sh/enroll 🚀
Speed up your Django Images with Cloudflare
Faster images = faster websites. Vary image sizes = faster websites, better user experience. Let's do this Cloudflare.
In this one we only use:
- Cloudflare Images
- python requests
- Django 5 (4.2+)
- python-decouple
Thank you to Cloudflare for sponsoring this one! Be sure to sign up at cloudflare.com/?
Cloudflare for Devs:
Part 1: ua-cam.com/video/VU3MAN1gs1s/v-deo.html
Part 2 (this): ua-cam.com/video/3SoGyiiFkgQ/v-deo.html
Blog post: www.codingforentrepreneurs.com/blog/django-cloudflare-images/
Code: github.com/codingforentrepreneurs/cloudflare-django-images
00:00:00 Welcome
00:01:10 Demo
00:04:03 Create Image and BlogPost Models
00:08:34 Set up Cloudflare Images and API Keys
00:14:15 Python Functions to Upload or Get Images
00:19:55 Register the Blog Model in the Django Admin
00:23:39 Upload to Cloudflare Images via Django Admin
00:30:42 Save Cloudflare IDs for Images Uploaded
00:33:36 Display Cloudflare Images in the Django Admin
00:38:01 Cloudflare Image Variants
00:44:45 Thank you
In this one we only use:
- Cloudflare Images
- python requests
- Django 5 (4.2+)
- python-decouple
Thank you to Cloudflare for sponsoring this one! Be sure to sign up at cloudflare.com/?
Cloudflare for Devs:
Part 1: ua-cam.com/video/VU3MAN1gs1s/v-deo.html
Part 2 (this): ua-cam.com/video/3SoGyiiFkgQ/v-deo.html
Blog post: www.codingforentrepreneurs.com/blog/django-cloudflare-images/
Code: github.com/codingforentrepreneurs/cloudflare-django-images
00:00:00 Welcome
00:01:10 Demo
00:04:03 Create Image and BlogPost Models
00:08:34 Set up Cloudflare Images and API Keys
00:14:15 Python Functions to Upload or Get Images
00:19:55 Register the Blog Model in the Django Admin
00:23:39 Upload to Cloudflare Images via Django Admin
00:30:42 Save Cloudflare IDs for Images Uploaded
00:33:36 Display Cloudflare Images in the Django Admin
00:38:01 Cloudflare Image Variants
00:44:45 Thank you
Переглядів: 956
Відео
Pure Python: Build a full stack ChatGPT-like UI. Reflex, Neon Postgres. Deploy with Docker to a VM
Переглядів 36 тис.16 годин тому
⭐️ Sign up for Neon right now! neon.tech/cfe Topics: ✅ Full Stack Web Development in Pure Python with Reflex ✅ Integrate Neon Database with Reflex ✅ Seamless integration with frontend and backend ✅ Using SQLModel and Reflex's built-in support for database sessions ✅ Experiment with Neon database branching before changing production db ✅ Integrate Reflex with OpenAI to get ChatGPT-like responses...
Try LangChain with Python and Upstash Vector
Переглядів 52 тис.21 день тому
Learn how to use LangChain with Python, Jupyter, Upstash Vector, Redis, and more. Unlock the future of software engineering with our cutting-edge course on AI-powered applications. This comprehensive program will transform you into a skilled AI developer, equipping you with the tools and knowledge to create sophisticated, intelligent software solutions. What You'll Learn: - Harness the power of...
Cloudflare for Devs Part 1: R2 with Django for Static files, user uploads, css, images, js and more.
Переглядів 2,7 тис.28 днів тому
Learn how to implement production-ready hosting for your static files and user file uploads. In this one we only use: - Cloudflare R2 - Django 5 (4.2 ) - django-storages - python-decouple Thank you to Cloudflare for sponsoring this one! Be sure to sign up at cloudflare.com/? Cloudflare for Devs: Part 1 (this): ua-cam.com/video/VU3MAN1gs1s/v-deo.html Part 2: ua-cam.com/video/3SoGyiiFkgQ/v-deo.ht...
Talk to Django with natural language. Text to SQL and more.
Переглядів 77 тис.Місяць тому
⭐️ Sign up for Neon right now! neon.tech/cfe Topics: ✅ Python web development with Django ✅ Talk to your database through Django and AI ✅ Adding AI to your Django Project ✅ Integrate Django and Jupyter for rapid analysis and prototyping ✅ Implementing Text to SQL ✅ Learn Semantic Search ✅ Lean how to use Vectors ✅ Learn Consine Similarity with Numpy ✅ Vectorize database columns ✅ Integrate Neon...
Django Tutorial: Run Multi-Node Django for Time Series Data with TimescaleDB, Celery and more.
Переглядів 59 тис.Місяць тому
Run many iterations of Django across Docker Compose or Raspberry Pis to handle large amounts of time series data. Topics: ✅ Python & Django ✅ Setup Django Project ✅ Integrate Self-Hosted TimescaleDB with Django ✅ Integrate Timescale.com Cloud with Django ✅ Use TimescaleDB with django-timescaledb ✅ Integrate Django & Celery ✅ Django Celery Task to Generate Fake Data ✅ Using a Beat Server to run ...
Build a Django Rest API and Integrate with Next.js! Django Ninja, shadcn, Neon Postgres, Railway...
Переглядів 62 тис.2 місяці тому
⭐️ Sign up for Neon right now! neon.tech/cfe Topics: ✅ Python web development with Django ✅ Building a Rest API with Django Ninja (FastAPI meets Django) ✅ Create a Next.js App ✅ Integrate Django & Next.js ✅ Use auth with Django Ninja JWT ✅ Integrate Neon Postgres ✅ Serialize Django models into JSON Data via Django Ninja Schemas (based on Pydantic) ✅ Leverage Server-Side Next.js to Store Auth To...
Build Full Stack Web Apps in Pure Python with Reflex - No Javascript Required
Переглядів 126 тис.2 місяці тому
Web apps built in pure Python? No JavaScript? Yup, that's what Reflex does. 💻 Code 👉 github.com/codingforentrepreneurs/full-stack-python ⭐️ Reflex Docs 👉 reflex.dev/docs ▶️ Subscribe 👉 cfe.sh/youtube ⚙️ Guide to Install Python 3 on Mac/Linux: cfe.sh/guides/install-python-on-macos/ ⚙️ Guide to Install Python 3 on Windows: cfe.sh/guides/install-python-on-windows/ Chapters 0:00:00 Welcome 0:02:53 ...
Python Tutorial: Build a SaaS App with Django, Stripe, Neon PostgreSQL, TailwindCSS, GitHub Actions
Переглядів 104 тис.2 місяці тому
⭐️ 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 permissi...
Django Project Tutorial: Build an AI Slack Bot | Django, Celery, Upstash, LlamaIndex, OpenAI + more
Переглядів 55 тис.4 місяці тому
AI Slack bots are coming in a big way. Learn how to build one yourself in this series. 💻 Code github.com/codingforentrepreneurs/Django-AI-Slackbot References: ⭐️ Upstash: upstash.com/ ⭐️ CloudFlare: www.cloudflare.com/ ⭐️ LlamaIndex: www.llamaindex.ai/ ⭐️ Django: www.djangoproject.com/ ⭐️ Celery: docs.celeryq.dev/en/stable/getting-started/introduction.html ⭐️ Jupyter jupyter.org/ New to Django?...
Here's how to use Pure HTML & CSS with KwesForm to build fast landing pages and surveys.
Переглядів 25 тис.5 місяців тому
🚀 Get your free KwesForms account now 👉 kirr.co/4541r8 (affiliate link) or kwesforms.com (non-affiliate). Do I actually use this KwesForms DevTool? Yes!! And it's live at www.mvplanding.com It's true, I like Google Forms but they fall short (and always have) when it comes to design control. KwesForms gives you the control back by turning your HTML Forms into backend-connected HTML forms that ca...
Django + Celery + Selenium to Scrape Anything with Python
Переглядів 62 тис.5 місяців тому
🚀 Sign up for Bright Data Now brdta.com/justin Selenium with Bright Data can scrape nearly any website regardless of Captcha or Login required. In this series, you are going to use Django and Celery to ensure you can scrape on your schedule and store the data with excellent structure. We will be tracking Amazon product price fluctuations. Topics Covered: ⦿ Integrating Django with Celery for sch...
Complete TUTORIAL on deploying Next.js to AWS Lambda with SST, Neon Postgres, Drizzle ORM, and more!
Переглядів 35 тис.6 місяців тому
⭐️ Sign up for Neon right now! neon.tech/cfe Full tutorial on deploying Next.js to AWS Lambda with SST, Neon Postgres, Drizzle ORM, and more! Deploy a FULL Next.js Web App Project complete with: ✅ React.js frontend and server-side rendering ➡️ Next.js is a React.js framework that handles front-end and backend ✅ Hello World Deployment on Vercel ➡️ modern and easy deployments direct from GitHub/B...
Build a Content Engine with Django, Kubernetes, TailwindCSS, Twingate, AWS S3, & HTMX FULL TUTORIAL
Переглядів 39 тис.7 місяців тому
Build a Content Engine with Django, Kubernetes, TailwindCSS, Twingate, AWS S3, & HTMX FULL TUTORIAL
#9 - Abraham Agopian. Founder of Tepia. Coding Entrepreneurs Podcast. #mobileappdevelopment
Переглядів 1,1 тис.9 місяців тому
#9 - Abraham Agopian. Founder of Tepia. Coding Entrepreneurs Podcast. #mobileappdevelopment
#8 - Adam Kaczmarek. Co-Founder of Loops. Coding Entrepreneurs Podcast. #ycombinator
Переглядів 8769 місяців тому
#8 - Adam Kaczmarek. Co-Founder of Loops. Coding Entrepreneurs Podcast. #ycombinator
Getting Started with Docker | Try Docker Tutorial Series
Переглядів 7 тис.10 місяців тому
Getting Started with Docker | Try Docker Tutorial Series
Build an AI Travel Agent with MariaDB, MindsDB, FastAPI, Next.js, OpenAI + more. Complete TUTORIAL.
Переглядів 66 тис.10 місяців тому
Build an AI Travel Agent with MariaDB, MindsDB, FastAPI, Next.js, OpenAI more. Complete TUTORIAL.
Use this to create Docker Containers automagically.
Переглядів 34 тис.11 місяців тому
Use this to create Docker Containers automagically.
Build a Next.js Project and deploy with Vercel, Neon, Drizzle, TailwindCSS, FlowBite and more!
Переглядів 53 тис.Рік тому
Build a Next.js Project and deploy with Vercel, Neon, Drizzle, TailwindCSS, FlowBite and more!
Django Project: Build a Micro eCommerce with Python, Django, Neon Postgres, Stripe, & TailwindCSS
Переглядів 127 тис.Рік тому
Django Project: Build a Micro eCommerce with Python, Django, Neon Postgres, Stripe, & TailwindCSS
Django & TailwindCSS! Learn how to integrate and create a basic starter project.
Переглядів 34 тис.Рік тому
Django & TailwindCSS! Learn how to integrate and create a basic starter project.
This Django-powered startup is taking over!
Переглядів 25 тис.2 роки тому
This Django-powered startup is taking over!
Build a Django REST API with the Django Rest Framework. Complete Tutorial.
Переглядів 628 тис.2 роки тому
Build a Django REST API with the Django Rest Framework. Complete Tutorial.
Deploy Django into Production with Kubernetes, Docker, & Github Actions. Complete Tutorial Series
Переглядів 137 тис.2 роки тому
Deploy Django into Production with Kubernetes, Docker, & Github Actions. Complete Tutorial Series
Create a Video Membership Web App from Scratch with Python, NoSQL, & FastAPI
Переглядів 185 тис.2 роки тому
Create a Video Membership Web App from Scratch with Python, NoSQL, & FastAPI
90 - Calculation Function & Custom Signals - Python & Django 3.2 Tutorial Series
Переглядів 13 тис.2 роки тому
90 - Calculation Function & Custom Signals - Python & Django 3.2 Tutorial Series
Try Pandas Tutorial - Use Python for Data Science, Spreadsheets, CSV & Excel
Переглядів 13 тис.2 роки тому
Try Pandas Tutorial - Use Python for Data Science, Spreadsheets, CSV & Excel
AI as an API - Part 2 - Deploy an ML Model Rest API using Encryption, Docker, Keras, FastAPI & NoSQL
Переглядів 13 тис.2 роки тому
AI as an API - Part 2 - Deploy an ML Model Rest API using Encryption, Docker, Keras, FastAPI & NoSQL
89 - Calculate Meal Queue Ingredient Totals - Python & Django 3.2 Tutorial Series
Переглядів 6 тис.2 роки тому
89 - Calculate Meal Queue Ingredient Totals - Python & Django 3.2 Tutorial Series
Nice Tutorial. I really like this❤❤❤
Thank you for your insightful tutorial, I learned a lot from this. Quick questions: 1. I tried to build a UI chatbot with this as the back end. It does not seem to remember previous messages and sometimes asking the same messages results in different or inaccurate answers such as: "The information is not available", "There are 10 products" when in reality it has more than 100. Is this expected? 2. It seems to take a while to load. Is this also expected? 3. Do we need vector embeddings for all kinds of tables? How about numeric data such as temperature conditions or exchange rates?
vm's are awesome
Thanks!
Thank you!
Could you add the option to upload images and delete posts and images to the blog in reflex? Thanks
Good morning Sir, It's absolutely amazing. I have been with you and your channel for quite a long time and still every time you give quality content . Actually sir, we are not used to this internet browser you are currently working on . And it makes me Lil confused . If you could shift back to chrome or any other browser that would be appreciated. Rest you are amazing ❤
This is useful! thanks Justin
97691 Jacobson Vista
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.
your source code is broken
Thanks, Justin, the Python Guy! Thanks, Justin, the DjangoGuy!! Thanks, Justin, the CS Guy!!! Your efforts to share knowledge are incredibly valuable to us. I hope you'll continue doing this great work. Could you please create a tutorial on Django REST Framework, focusing on a professional approach-(covering user management, authentication, project structure with best Django practices, and deployment) -> all for production? Tons of thanks once again❤❤❤.
Thanks for watching. Code, blog, and chapters below Blog post: www.codingforentrepreneurs.com/blog/django-cloudflare-images/ Code: github.com/codingforentrepreneurs/cloudflare-django-images 00:00:00 Welcome 00:01:10 Demo 00:04:03 Create Image and BlogPost Models 00:08:34 Set up Cloudflare Images and API Keys 00:14:15 Python Functions to Upload or Get Images 00:19:55 Register the Blog Model in the Django Admin 00:23:39 Upload to Cloudflare Images via Django Admin 00:30:42 Save Cloudflare IDs for Images Uploaded 00:33:36 Display Cloudflare Images in the Django Admin 00:38:01 Cloudflare Image Variants 00:44:45 Thank you
Wake up, people. Justin just dropped 🎉
You know it! 😆
why add more complexity by not using postman
Robinson James Clark Anna Rodriguez Charles
How awesomer !!!
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.
Hi, have you created a video on Django import-export package? sometimes data can't be imported from admin panel import/export data. how did you solve this issue?
From backend logs, Fetcher periodically polls the backend for data when its at the page. I don't know if this is a best practice but my perception is that data should only be fetched once and after it is in the client it shouldn't be asking for it from the backend again until a form is updated. Does nextjs useclient avoid those problems?
SWR (useSWR) is doing this, it’s called revalidate and it’s very common especially for data that needs it. Caching on the backend and updating swr settings is how you make this better
awsome
One easy dead loop is, without the "creaetd" condition in post_save(), calling the model's save() again. If doing the slugify() at post_save() with `created` check, what will happen if the title is updated? would want the slug updated with title
That looked easy, but tricky when getting hands-on. 1. SlugField is CharField, it seems if null=True, the model instance initialize the char field to be None instead of ''" This may make pitfall if checking with `if slug is None : ` or `if slug == "" : `, perhaps `if not slug : ` conditional make less trap. Sometimes, we would want slug to be required, unique, unique_for_xxx. 2. Think about if slugify() done in validation (clean() and calling full_clean), should slugify() be done in validation, save, pre_save or somewhere else? 3. what about pre_save signal? Maybe we don't want the some heavy functions to run everytime the instance save() is called. How to compare if the model is updated?
is django +fastapi a possibility? for the performance perspective api etc we use fastapi , and the rest of structure from django?
Check out Django-ninja
1:14:10 guys, don't forget to pip install openai
never mind, then the author did a pip install requirements
Thanks so much. Just what I needed...👍
we need a fast api + nextjs project
Did you watch the Django one?
@@CodingEntrepreneurs i did not
Awesome tutorial! I'll try mixing this with your previous try langchain tutorial and I can build agents with memory or any complex RAG with memory. Thanks again! However, it would've been nice if we do a vector search on the chat history as well
Ohhh yeah. That’s easy. Might have to do a quick short one
Reflex is an awesome framework, thanks for the vid
Thanks, Mitchel! Though I’m not interested in this topic right now, I’ll definitely check it out if I need to. It’s great to see your effort and contribution to the CS domain, especially in Python. I'm looking forward to your tutorial on production and industry practices and approach of Django Rest Framework. Thanks once again for your contribution. Your tutorials are concise, well-structured, and your teaching ability is outstanding. ❤❤
Thanks for tutorial sir. Sir, could you please create tutorials on building an end-to-end GenAI or LLM-based Python backend application, including model fine-tuning, prompt engineering, and using frameworks like Hugging Face or LangChain?
Did you see my Try Langchain course? Mix it with this one and you’re cooking
@@CodingEntrepreneurs okk sir.
Cool tutorial, definitely functional and cutting-edge... but gotta say, ugly as sin, no surprise though since its written entirely in python
CodingEntrepreneurs, Youre gonna be famous!
You first 😂
Thanks for watching! Code link and chapters below 💽 Code: github.com/codingforentrepreneurs/reflex-gpt Chapters 00:00:00 Welcome 00:02:04 Demo 00:05:26 Python Environment and Reflex App Setup 00:08:59 VSCode + Git 00:10:47 New Page and URL Routing 00:14:58 A Component for Layout 00:19:03 Simplify App Structure 00:23:58 Reflex Docs Recipes 00:28:55 Identify Rendered Components in HTML 00:34:32 Navigation Links & Routes 00:38:24 Handling Click Events with Reflex State 00:43:47 Chat Component and Routing 00:46:51 Creating a Form 00:52:49 Conditionally Render Success Message 00:56:32 Timeout Delays with Reflex State 00:58:37 Storing Chat Messages in Memory 01:02:42 Render the Chat Messages 01:09:21 Adding Intelligence to Our Bot with OpenAI 01:22:28 Integrate Reflex with Neon Postgres 01:27:09 Creating a Database Table with Reflex 01:35:47 Your First Database Migration 01:42:46 Adding Data into the Database 01:46:42 Neon Branching for Major Database Migrations 01:52:20 Related Database Table Model 01:59:36 Create DB-stored Chat Sessions 02:07:25 Storing Chat Messages on Neon 02:14:03 Button for New Chat Session 02:17:25 Handling Dynamic URL Routes 02:24:04 Load Stored Chat Session from the Database 02:30:52 Loading Chat Session Messages from the Database 02:35:14 Resetting Reflex State Values 02:42:22 Adding the Dockerfile 02:50:41 Build & Push Docker Containers with GitHub Actions 03:08:06 Using One-Off SSH Keys for Virtual Machines 03:22:36 Deploy Reflex with Docker Compose, Ansible, and GitHub Actions 03:41:17 Thank you and next steps
Yeah so appreciated ❤🎉🥰
love u man
First!😁
Hey, can you do a similar tutorial but using DRF? Also, what do you think of the approach of using Redux Toolkit and RTK query to communicate with DRF endpoints? Do you think its a good idea to use next middlewares to protect routes?
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.
Thanks for the content! Just wondering, is there a reason why you don't use the Jupyter in VSCode instead of switching back and forth between the web and VSCode?
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
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
Taylor Shirley Moore Karen Moore John
nothing on deployment? Posters guides pls. Reflex hosting is not an option.
Coming sooooooo soon
You Strickland family member
as a Django Developer, one thing is for sure. JS code is too messy than Django stuff. learning Next.js for more dynamic sites but hope so i can get its syntax easily.