Пікірлер
@AC-lq7wg
@AC-lq7wg 22 сағат бұрын
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 ❤
@chinmoykalita1384
@chinmoykalita1384 Күн бұрын
This is useful! thanks Justin
@VioletAmy-j8o
@VioletAmy-j8o Күн бұрын
97691 Jacobson Vista
@LouisDuran
@LouisDuran Күн бұрын
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
@CodingEntrepreneurs
@CodingEntrepreneurs Күн бұрын
Thanks! Neon is its own service but you can connect to it on any cloud platform just as we do in this course.
@benmyers4124
@benmyers4124 Күн бұрын
your source code is broken
@r125l6
@r125l6 Күн бұрын
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❤❤❤.
@CodingEntrepreneurs
@CodingEntrepreneurs Күн бұрын
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
@DisabledCookie
@DisabledCookie Күн бұрын
Wake up, people. Justin just dropped 🎉
@CodingEntrepreneurs
@CodingEntrepreneurs Күн бұрын
You know it! 😆
@toonshindiHD
@toonshindiHD 2 күн бұрын
why add more complexity by not using postman
@BettyDwyer-j5k
@BettyDwyer-j5k 3 күн бұрын
Robinson James Clark Anna Rodriguez Charles
@tdcode
@tdcode 3 күн бұрын
How awesomer !!!
@batman_1337
@batman_1337 3 күн бұрын
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.
@kristianrincon1576
@kristianrincon1576 3 күн бұрын
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.
@shirishdande7409
@shirishdande7409 3 күн бұрын
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?
@davidl.e5203
@davidl.e5203 4 күн бұрын
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?
@CodingEntrepreneurs
@CodingEntrepreneurs 3 күн бұрын
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
@NourMohamed-lf4og
@NourMohamed-lf4og 4 күн бұрын
awsome
@user-yi6sb8qo1j
@user-yi6sb8qo1j 4 күн бұрын
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
@user-yi6sb8qo1j
@user-yi6sb8qo1j 4 күн бұрын
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?
@khalilgaming-d6c
@khalilgaming-d6c 4 күн бұрын
is django +fastapi a possibility? for the performance perspective api etc we use fastapi , and the rest of structure from django?
@CodingEntrepreneurs
@CodingEntrepreneurs 4 күн бұрын
Check out Django-ninja
@duming3076
@duming3076 5 күн бұрын
1:14:10 guys, don't forget to pip install openai
@duming3076
@duming3076 4 күн бұрын
never mind, then the author did a pip install requirements
@reecejosephs3659
@reecejosephs3659 5 күн бұрын
Thanks so much. Just what I needed...👍
@bitkillerjones
@bitkillerjones 6 күн бұрын
we need a fast api + nextjs project
@CodingEntrepreneurs
@CodingEntrepreneurs 5 күн бұрын
Did you watch the Django one?
@bitkillerjones
@bitkillerjones 5 күн бұрын
@@CodingEntrepreneurs i did not
@savanthtadepalli3968
@savanthtadepalli3968 6 күн бұрын
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
@CodingEntrepreneurs
@CodingEntrepreneurs 5 күн бұрын
Ohhh yeah. That’s easy. Might have to do a quick short one
@DemetriPetuskey
@DemetriPetuskey 6 күн бұрын
Reflex is an awesome framework, thanks for the vid
@r125l6
@r125l6 6 күн бұрын
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. ❤❤
@thisistotest
@thisistotest 6 күн бұрын
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?
@CodingEntrepreneurs
@CodingEntrepreneurs 6 күн бұрын
Did you see my Try Langchain course? Mix it with this one and you’re cooking
@thisistotest
@thisistotest 6 күн бұрын
@@CodingEntrepreneurs okk sir.
@Quantum_Nebula
@Quantum_Nebula 6 күн бұрын
Cool tutorial, definitely functional and cutting-edge... but gotta say, ugly as sin, no surprise though since its written entirely in python
@IOSALive
@IOSALive 6 күн бұрын
CodingEntrepreneurs, Youre gonna be famous!
@CodingEntrepreneurs
@CodingEntrepreneurs 6 күн бұрын
You first 😂
@CodingEntrepreneurs
@CodingEntrepreneurs 6 күн бұрын
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
@nguyenduyta7136
@nguyenduyta7136 6 күн бұрын
Yeah so appreciated ❤🎉🥰
@duming3076
@duming3076 6 күн бұрын
love u man
@ohisideho3460
@ohisideho3460 6 күн бұрын
First!😁
@joaoarthurbandeira
@joaoarthurbandeira 6 күн бұрын
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?
@sleepadventures
@sleepadventures 6 күн бұрын
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.
@donkeybetz5567
@donkeybetz5567 6 күн бұрын
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?
@CMGMedia487
@CMGMedia487 6 күн бұрын
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
@CMGMedia487
@CMGMedia487 6 күн бұрын
and using microsoft email
@Codeit-j2n
@Codeit-j2n 7 күн бұрын
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
@LonnieThomas-v4s
@LonnieThomas-v4s 7 күн бұрын
Taylor Shirley Moore Karen Moore John
@ericxls93
@ericxls93 7 күн бұрын
nothing on deployment? Posters guides pls. Reflex hosting is not an option.
@CodingEntrepreneurs
@CodingEntrepreneurs 7 күн бұрын
Coming sooooooo soon
@IshekePeter
@IshekePeter 8 күн бұрын
You Strickland family member
@djangodeveloper07
@djangodeveloper07 9 күн бұрын
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.
@crabytech1122
@crabytech1122 9 күн бұрын
Wanna try FastAPI and deploy in my project
@julia_jul538
@julia_jul538 10 күн бұрын
Best tutor ever! Thank you so much
@jakasalways
@jakasalways 11 күн бұрын
Gotta pay to make a deployment so I'm stuck at railway rn
@user-zy6cf3sz2g
@user-zy6cf3sz2g 11 күн бұрын
rushing
@MalihaIslamShefa
@MalihaIslamShefa 11 күн бұрын
why my terminal show that : >>> from articles import Article Traceback (most recent call last): File "<console>", line 1, in <module> ImportError: cannot import name 'Article' from 'articles' (C:\Users\MAHFUZ-PC\PycharmProjects\storefront\articles\__init__.py)
@MalihaIslamShefa
@MalihaIslamShefa 11 күн бұрын
Oh ! This was worked. but what I comment that was Wrong .
@MalihaIslamShefa
@MalihaIslamShefa 11 күн бұрын
actually I say to forgot that you are a good teacher to teach Django. I will never forgot yor help.