CODING CRAFT
CODING CRAFT
  • Видео 29
  • Просмотров 34 899
Django Day 5: A Step-by-Step Guide to Templates
Welcome to Day 5 of our Django series! Today, we're exploring Django Templates. We’ll learn how to set up and configure templates, organize them for our app, and enhance our web content's display using HTML and CSS. You’ll see firsthand how templates help create a clean and visually appealing layout for your web app!
If you missed the previous days, be sure to check them out for a smooth learning experience. Feel free to leave a comment if you have any questions and subscribe for more insights. See you tomorrow for the next session!
👉 Previous Days:
👉 Day 1: ruclips.net/video/IDgiOnQIrDw/видео.html
👉 Day 2: ruclips.net/video/RqC33dVcTys/видео.html
👉 Day 3: ruclips.net/video/Y9Od6Fv5jl4/видео.h...
Просмотров: 42

Видео

Django Day 4: Exploring Views - Function vs Class-Based Views
Просмотров 46Месяц назад
Welcome to Day 4 of our Django series! Today, we're diving into Django Views. We'll explore Function-Based Views (FBV) vs. Class-Based Views (CBV), render templates, pass context data, and display blog posts from our models using both approaches. If you missed Days 1-3, be sure to check them out for a smooth learning experience. Don’t forget to leave a comment if you have any questions and subs...
Django Day 3: Mastering the Admin Interface
Просмотров 50Месяц назад
Welcome to Day 3 of our Django series! Today, we're diving into the Django Admin Interface. We'll cover setting up the admin, registering models, customizing the interface, and managing entries with ease. If you missed Days 1 and 2, make sure to check them out for a smooth continuation. Leave a comment if you have any questions or issues. Don’t forget to subscribe for more Django tips and trick...
Django Day 2: Mastering Models for Your Web App
Просмотров 51Месяц назад
Welcome back to our Django series! 🎉 In Day 2, we’re diving into the world of Django Models. We’ll explore how to define models, use model methods, and interact with the database to handle your app's data efficiently. Follow along as we build and modify models for a blog application, and learn how to manage data like a pro. Don’t miss out on this essential step in mastering Django! 🚀 🔹 What We ...
Django Day 1: First Steps to Building Web Apps
Просмотров 79Месяц назад
Welcome to Day 1 of the Django Series! 🚀 In this video, we kick off our Django journey by introducing the basics of Django, understanding its MVT architecture, and setting up the development environment. We'll also explore the file structure and run a simple Hello World example to get you started! 🎉 🛠️ Topics Covered: What is Django? Overview & Features Django’s MVT Architecture Explained Setti...
Deploy Your Flask App with Vercel PostgreSQL DB: A Step-by-Step Guide
Просмотров 1,2 тыс.3 месяца назад
Ready to take your Flask project to the next level? In this step-by-step tutorial, I'll guide you through deploying your Flask application seamlessly using Vercel's free platform with a PostgreSQL database. We'll cover everything from setting up your project locally to pushing it live for the world to see! What you'll learn: Setting up a Flask project with PostgreSQL Project structure for optim...
Deploy Your Flask App with Vercel: A Step-by-Step Guide
Просмотров 21 тыс.7 месяцев назад
Description Ready to take your Flask project live? In this step-by-step tutorial, I'll guide you through deploying your Flask application seamlessly using Vercel's free platform. We'll cover everything from setting up your project locally to pushing it live for the world to see! What you'll learn: Project structure for optimal Vercel deployment Creating a GitHub repository Connecting Vercel to ...
Kaggle Data Loading in Google Colab: Easy Steps !!
Просмотров 2,4 тыс.Год назад
#googlecolab #kaggle #python #techtutorials #datascience #machinelearning Welcome to our tutorial on loading Kaggle data in Google Colab! 🚀 In this video, you'll learn step-by-step how to seamlessly import Kaggle datasets into your Google Colab environment. Whether you're a beginner or an experienced data enthusiast, this tutorial will guide you through the process with ease. 🎓 What You'll Lear...
Create Dalle-Style Images Using OpenCV & Python !!
Просмотров 117Год назад
#python #opencvpython #dalle2 #bingimagecreator #artificialintelligence #pythonai @codingcraft Get ready for a creative adventure in our latest tutorial - Create Dalle-Style Images Using Open CV & Python !! Discover the art of transforming ordinary photos into charming cartoons using the power of Python and OpenCV. 🔍 What You'll Explore: 🚀 Dive into the world of image magic with Python and Open...
Phone Location Tracker: Python Magic!
Просмотров 1,7 тыс.Год назад
In this exciting tutorial, explore the magic of Python with our Phone Location Tracker! Discover how to extract detailed location information from any phone number using Python programming. 🚀✨ 🔍 What You'll Learn: Extract precise location details from phone numbers Utilize OpenCage Geocoding API for accurate coordinates Create interactive maps with Folium 🔧 Resources: GitHub Repository: github....
👷‍♂️ Build Python Web Server: Step-by-Step! 🚀
Просмотров 95Год назад
👷‍♂️ Build Python Web Server: Step-by-Step! 🚀
Building Powerful Chatbots in Python Using Streamlit and OpenAI
Просмотров 328Год назад
Building Powerful Chatbots in Python Using Streamlit and OpenAI
Unleash the Power of Python - Create Your Own Virtual Assistant Today!
Просмотров 182Год назад
Unleash the Power of Python - Create Your Own Virtual Assistant Today!

Комментарии

  • @aidsbalasubramanian4604
    @aidsbalasubramanian4604 2 дня назад

    I am getting data too long error how to solve this error pls reply😢😢

    • @codingcraft
      @codingcraft 2 дня назад

      Which error you are getting?

  • @1xnark
    @1xnark 6 дней назад

    The best tutorial you just saved me 2 days of struggle

  • @phanbaokhang6536
    @phanbaokhang6536 24 дня назад

    my error: A Serverless Function has exceeded the unzipped maximum size of 250 MB. Can anyone help me?

    • @codingcraft
      @codingcraft 24 дня назад

      Are you including any large package.?

    • @Qutubkoreja
      @Qutubkoreja 2 дня назад

      No

    • @codingcraft
      @codingcraft День назад

      Provide me the error name so I can provide you with a solution.

  • @sharpesthawk
    @sharpesthawk Месяц назад

    (The deploying outputs ... step is taking too long. This is what is shown in my logs) Installing required dependencies... Build Completed in /vercel/output [56s] Deploying outputs... (Its taking too long for this. Does anyone know the reason?)

    • @codingcraft
      @codingcraft Месяц назад

      It sometimes depends on your internet or sometimes it refers to the cleanliness project. If the directory is too messy Vercel will take time to build the dependencies.

    • @sharpesthawk
      @sharpesthawk Месяц назад

      @@codingcraft as soon as i add tensorflow in the requirements.txt file, it gets stuck at that deploying outputs ... step. if i remove it, the depolyment is super quick, but the flask app then doesnt work because tensorflow is required in my flask app.

    • @codingcraft
      @codingcraft Месяц назад

      @sharpesthawk because tensorflow library is too heavy as compared to any other libraries.

  • @manavshah7490
    @manavshah7490 Месяц назад

    Thanks for explaining it in detail

    • @codingcraft
      @codingcraft Месяц назад

      It's great that you like it.❤️

  • @rishavghatak8228
    @rishavghatak8228 Месяц назад

    Nice video, explanation is good. One suggestion use your own voice, you can teach in any language and just add cc. And I found in some places there are long stretch of audio less parts, try to avoid that.

    • @codingcraft
      @codingcraft Месяц назад

      Thanks for the feedback! I’ll use my own voice and add captions in future videos. I’ll also work on reducing any long gaps without audio. Appreciate your input!

  • @naufalassyafiq2173
    @naufalassyafiq2173 Месяц назад

    how to change python version in vercel i got error because vercel running my project with python 3.12 while my project need run with python 3.11

    • @codingcraft
      @codingcraft Месяц назад

      Create a runtime.txt file in the root of your project (where your requirements.txt or vercel.json file is located). Inside the runtime.txt file add your python version like (python-3.11.0). Deploy your project again, it will use the 3.11 version.

  • @dlimon_
    @dlimon_ 2 месяца назад

    Hey! I was having a lot of issues deploying Flask on Vercel, especially with installing Flask-SQLAlchemy. Using your requirements file as a reference helped me successfully deploy my project. Thanks a lot. Just starred your repo and followed youu on Github!

  • @tecnom7133
    @tecnom7133 2 месяца назад

    Thanks

  • @piotrfszawadzkki5355
    @piotrfszawadzkki5355 2 месяца назад

    can i host application with flask and for example React on the front. I tried it by myself once and did not handle this

    • @codingcraft
      @codingcraft 2 месяца назад

      Yeah it's possible. For frontend you go with React and backend go with Flask. You just need to configure your main app.jsx file in vercel.json so it renders the frontend.

    • @khushi_xoxo
      @khushi_xoxo 2 месяца назад

      Can you please tell in detail what exactly to do? @codingcraft

    • @codingcraft
      @codingcraft 2 месяца назад

      Sure in the upcoming video you will get to know the detailed steps of how to do so. Stay in touch.

  • @glitchffexe9758
    @glitchffexe9758 2 месяца назад

    Please put project like Upload image and save on statics folder on vercel

    • @codingcraft
      @codingcraft 2 месяца назад

      Yeah sure 😃

    • @glitchffexe9758
      @glitchffexe9758 2 месяца назад

      @@codingcraft with filename store on database

  • @glitchffexe9758
    @glitchffexe9758 2 месяца назад

    Please put project like Upload image and save on statics folder on vercel

  • @thunderstorm1584
    @thunderstorm1584 2 месяца назад

    i followed everything works except when installing into vercel, my css and javascript did not work. It seemed like vercel cannot find my static files in static which has the css and ja files

    • @codingcraft
      @codingcraft 2 месяца назад

      Check your path in index.html file same as mine, and it should work fine. Also check the folder structure.

  • @aayushprasad7318
    @aayushprasad7318 3 месяца назад

    Thank you so much. I am clear now.

  • @lakshmann9825
    @lakshmann9825 3 месяца назад

    worked well

  • @Eria196
    @Eria196 3 месяца назад

    am so happy you deserve my subscription

  • @Eria196
    @Eria196 3 месяца назад

    its everything i wanted earlier but let me hope vercel is free of charge

    • @codingcraft
      @codingcraft 3 месяца назад

      Yes it's free to use.

  • @Eria196
    @Eria196 3 месяца назад

    thank you so much bro for this video

  • @lgf-sq9yf
    @lgf-sq9yf 3 месяца назад

    This is by far the best tutorial I'd found about regarding to deploying Flask with Vercel, no blogs actually goes that straight forward. I'm going to write a Medium post about this and will credit you for this. Thanks once again!

  • @Meltdown_Gaming
    @Meltdown_Gaming 3 месяца назад

    Thank you for this, helped a lot.

  • @iosule3719
    @iosule3719 3 месяца назад

    i hope am not too late to ask but i wanna know how does vercell know the file to run?

    • @codingcraft
      @codingcraft 3 месяца назад

      Because of the vercel.json file.

    • @iosule3719
      @iosule3719 3 месяца назад

      @@codingcraft damn u still active? ♥️🔥

    • @codingcraft
      @codingcraft 3 месяца назад

      Yes bro, I'm active all the time.

    • @iosule3719
      @iosule3719 3 месяца назад

      @@codingcraft hello bro, i did everything in the tutorial then i go to The production deployment page and im seeing 'No product deployment, push to the main branch' im new to GitHub and all that what does it mean? 🙏

  • @isteal7427
    @isteal7427 4 месяца назад

    Background animation looks dapperm y drilla. looking good and that

  • @petersudai3165
    @petersudai3165 4 месяца назад

    i'm trying to deploy an app with a backend and remote database and it only loads the landing page. when I try to login it says "Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

    • @petersudai3165
      @petersudai3165 4 месяца назад

      the app however works perfectly locally

    • @codingcraft
      @codingcraft 4 месяца назад

      Maybe its not working because of the database, as only few databases are supported by vercel such as PostgreSQl, Redis etc. If you use any other databases that are not supported by Vercel, it gives internl error. As it can perfectly works fine on local server but cannot on live deployment.

  • @wilder152
    @wilder152 4 месяца назад

    I LOVE U BRO

  • @navaneethr7579
    @navaneethr7579 5 месяцев назад

    This Serverless Function has crashed. Your connection is working correctly. Vercel is working correctly. 500: INTERNAL_SERVER_ERROR Code: FUNCTION_INVOCATION_FAILED ID: bom1::jphql-1717149458069-0dea0d36ef33 What should i do?

    • @codingcraft
      @codingcraft 5 месяцев назад

      This error indicates there might be an error in your flask code, try to update requirements.txt file after every module installation.

    • @CSEAhamedBasith
      @CSEAhamedBasith 2 месяца назад

      bro same problem what u did for solving this error

    • @codingcraft
      @codingcraft 2 месяца назад

      Provide me the error and also tell are you using any database with it?.

  • @_k_lu7543
    @_k_lu7543 5 месяцев назад

    Why I update the vercel.json in GitHub then "Deployments" page in Vercel didn't refresh after 5 times?

    • @codingcraft
      @codingcraft 5 месяцев назад

      Can you specify what changes you made in vercel.json file.

  • @sixpathguide5539
    @sixpathguide5539 5 месяцев назад

    hello mr, new subcriber here, i got everything works but This Serverless Function has crashed. Your connection is working correctly. Vercel is working correctly. 500: INTERNAL_SERVER_ERROR Code: FUNCTION_INVOCATION_FAILED ID: sin1::2xlkl-1715497307787-65c73be60577

  • @mhmm666
    @mhmm666 6 месяцев назад

    is it necessary to work in a virtual enviornment?

    • @codingcraft
      @codingcraft 5 месяцев назад

      Yes, It is best practice if you are working on large or medium scale projects.

  • @pdavek580
    @pdavek580 6 месяцев назад

    ah man thank you so much!!

  • @biancamaxino
    @biancamaxino 6 месяцев назад

    how to fix Failed to run "pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt" Error: Command failed: pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 ERROR: Could not find a version that satisfies the requirement numpy==1.21.6 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0rc1, 1.23.0rc2, 1.23.0rc3, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0rc1, 1.24.0rc2, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0rc1, 1.25.0, 1.25.1, 1.25.2, 1.26.0b1, 1.26.0rc1, 1.26.0, 1.26.1, 1.26.2, 1.26.3, 1.26.4, 2.0.0b1, 2.0.0rc1) ERROR: No matching distribution found for numpy==1.21.6

    • @redfox5965
      @redfox5965 Месяц назад

      did u ever resolve this?

    • @codingcraft
      @codingcraft Месяц назад

      In my file I didn't receive these errors. If you are receiving such errors just provide your python version prior. Create a runtime.txt file in the root of your project (where your requirements.txt or vercel.json file is located). Inside the runtime.txt file add your python version like (python-3.11.0). Deploy your project again, it will use the 3.11 version.

  • @imammihir
    @imammihir 6 месяцев назад

    what if i have multiple python file ? like anything i need to do with vercel.json if i have morethan 1 python file?

    • @codingcraft
      @codingcraft 5 месяцев назад

      But your all main code will be in 1 file, you can import all the rest files in that one file. In our case 'app.py' contains main code, If I have multiple files I will import all that files in my 'app.py' file.

  • @Szihath
    @Szihath 6 месяцев назад

    perfectly working , great work

  • @ojochegbe_
    @ojochegbe_ 6 месяцев назад

    Ty❤

  • @alannagabrielly
    @alannagabrielly 6 месяцев назад

    PERFECTTTT

  • @arunkumaranp5626
    @arunkumaranp5626 6 месяцев назад

    Unable to find any supported Python versions. (i got this error)

    • @kairavb
      @kairavb 6 месяцев назад

      create a package.json file and add the following: { "engines": {"node": "18.x"} }

    • @codingcraft
      @codingcraft 5 месяцев назад

      Check your Project Settings and check the version of node, if it is not 18.x then choose the 18.x from dropdown.

  • @oamarkanji3153
    @oamarkanji3153 6 месяцев назад

    Does this deploy the api endpoints to serverless functions? Or is the app deployed as a long running process?

    • @codingcraft
      @codingcraft 6 месяцев назад

      I haven't tried for api endpoints yet. It's for static websites or apps.

    • @biancamaxino
      @biancamaxino 6 месяцев назад

      @@codingcraft how to fix Failed to run "pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt" Error: Command failed: pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 ERROR: Could not find a version that satisfies the requirement numpy==1.21.6 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0rc1, 1.23.0rc2, 1.23.0rc3, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0rc1, 1.24.0rc2, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0rc1, 1.25.0, 1.25.1, 1.25.2, 1.26.0b1, 1.26.0rc1, 1.26.0, 1.26.1, 1.26.2, 1.26.3, 1.26.4, 2.0.0b1, 2.0.0rc1) ERROR: No matching distribution found for numpy==1.21.6

    • @mohamedyacinefedlallah2525
      @mohamedyacinefedlallah2525 5 месяцев назад

      no, i just tried it.

    • @codingcraft
      @codingcraft 5 месяцев назад

      Update your requirements.txt file

  • @anuragkhugshal7792
    @anuragkhugshal7792 6 месяцев назад

    How to fix this Error: Command failed: pip3.9 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/Flask/requirements.txt I already have node 18.x

  • @krupasancheti
    @krupasancheti 6 месяцев назад

    When selecting the 18.x version from settings it is taking a lot of time to deploy the flask app on it. I don't know whether it will be deployed properly or not it is continuously running. Any solution for this

    • @codingcraft
      @codingcraft 6 месяцев назад

      It will take time but no longer than 3-4 minutes. And for my case I haven't touched any advance settings while deploying the app.

    • @biancamaxino
      @biancamaxino 6 месяцев назад

      @@codingcraft where can i see that 18.x version? settings on vs code?

  • @codingcraft
    @codingcraft 7 месяцев назад

    By reviewing there are many people who is getting error in the above steps. Kindly check the the Node.js version in your project setting, it should be "18.x".

  • @reviewanddestroy8757
    @reviewanddestroy8757 7 месяцев назад

    broh when i try clone and to deploy your code locally i got this error Error: Unable to find any supported Python versions. please replay

    • @thatkid-memeandedit2341
      @thatkid-memeandedit2341 7 месяцев назад

      I had the same issue today. Solution: Go to the settings of your current project -> scroll down -> change the nodejs version from "20.x" to "18.x"

    • @luke-mn
      @luke-mn 7 месяцев назад

      @@thatkid-memeandedit2341 Thanks!! Not All Heroes Wear Capes

    • @codingcraft
      @codingcraft 7 месяцев назад

      Right😊

    • @yashaswikulshreshtha1588
      @yashaswikulshreshtha1588 7 месяцев назад

      just add package.json file with just this { "engines": { "node": "18.x" } } and it should just work

    • @codingcraft
      @codingcraft 7 месяцев назад

      This file can't be added in flask structure because this 18.x version can be done with vercel deploy settings. I have checked the following error, and it's occurring due to vercel settings change.

  • @LucasIturriago
    @LucasIturriago 7 месяцев назад

    Thank you very much, the video was very helpful

  • @saidhamad2268
    @saidhamad2268 8 месяцев назад

    thanks for helping me to load my datasets easily

    • @codingcraft
      @codingcraft 8 месяцев назад

      It's my pleasure 😊

  • @RVONYT
    @RVONYT 8 месяцев назад

    Thanks, can you please provide git repo

    • @codingcraft
      @codingcraft 8 месяцев назад

      github.com/CodingCraftYT/Python-OpenCV-Cartoonify

  • @mishukhan8845
    @mishukhan8845 Год назад

    Aswsome tutorial please keep it up

  • @ppanebra
    @ppanebra Год назад

    Doesnt work, got the same location for Peru number's, Its the OpenCage API doesn't work anymore?

    • @codingcraft
      @codingcraft Год назад

      There is an issue with OpenCage API after reviewing it, instead of OpenCage API you can try the following free API :- BING MAP API Google Geo Coding Map API The above API can fulfill your needs if OpenCage not working.

  • @nitanshityagi9028
    @nitanshityagi9028 Год назад

    Amazing 🤩

  • @nitanshityagi9028
    @nitanshityagi9028 Год назад

    Superb

  • @Rohanprasad13
    @Rohanprasad13 Год назад

    🙌❤️💯

  • @anantgoel5673
    @anantgoel5673 Год назад

    Amazing👍👍

  • @jasveersinghtyagi3472
    @jasveersinghtyagi3472 Год назад

    Amazing