Deploy a Django web app to Python Anywhere in 5 Mins [FREE]

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 87

  • @programmed_creature
    @programmed_creature Місяць тому +2

    You are like amazing. I ran through tons of youtube videos for the correct guidance. I didn't receive such a clear explanation before. Man, keep working, you're going to rock

  • @KamranZParacha
    @KamranZParacha 26 днів тому +1

    This one tutorial helped us all the way! Thanks!!!

  • @Shauryasingh-m4j
    @Shauryasingh-m4j 3 місяці тому

    I just wanted to say that your videos are absolutely awesome! You explain everything so well

    • @codegyaan
      @codegyaan  3 місяці тому

      Glad you like them!
      Do share with your friends , help me get some subs !!!

  • @Kitkat_breaks
    @Kitkat_breaks 6 днів тому

    superb bro!

  • @PotenDaj
    @PotenDaj 8 місяців тому +2

    Bhut acha laga mujhe bhi samajh aa gya good awesome

  • @nandeeshhiremath8623
    @nandeeshhiremath8623 10 місяців тому +2

    Nice..helpful

  • @cryptolove9992
    @cryptolove9992 4 місяці тому +1

    Thanks bro for this video, very helpful

  • @mbungaimichaelbernard3717
    @mbungaimichaelbernard3717 4 місяці тому

    Thanks , it was very helpful and I was able to host my website

  • @admin14688
    @admin14688 Місяць тому +1

    its working thanks ...................

  • @msrtv1126
    @msrtv1126 Місяць тому +1

    Nice video bro

  • @vemanaveen7751
    @vemanaveen7751 8 місяців тому +2

    nice bro very helpful

  • @CodingBRO
    @CodingBRO 6 місяців тому +3

    my website got deployed ,but i have images in that ,it is not rendering,only the text is showing,plz reply bro

    • @codegyaan
      @codegyaan  5 місяців тому

      watch the video carefully and make changes to the directly according to your project .

  • @akojusowmya8626
    @akojusowmya8626 8 місяців тому +3

    Thank you sir.but how to connect it with database

    • @codegyaan
      @codegyaan  8 місяців тому +2

      Glad it helped! Will upload soon! Stay subscribed.

  • @vyshnavikosuri2692
    @vyshnavikosuri2692 13 днів тому

    Something went wrong after deploying the code
    Error code: unhandled Exception

  • @Chandril-p2g
    @Chandril-p2g 3 місяці тому

    hello sir
    can you make a video from where you make the auto portfolio maker?
    i liked the website

    • @codegyaan
      @codegyaan  3 місяці тому

      You can check it out on my GitHub-- github.com/akashbhaskar2011/Portfolio_generator.git

  • @AwalSharif-ix5yk
    @AwalSharif-ix5yk 9 місяців тому +2

    i tried extracting the file but it says cannot find or open filename.

    • @AwalSharif-ix5yk
      @AwalSharif-ix5yk 9 місяців тому +2

      so i found the solution by putting the filename in a single quote.

    • @codegyaan
      @codegyaan  8 місяців тому

      great !!

    • @codegyaan
      @codegyaan  8 місяців тому

      you can also clone your project from github if you want only few things changes rest of the processes remains same.

  • @ShubhamSourabh-sz5se
    @ShubhamSourabh-sz5se 8 місяців тому +1

    I deploy django project on pythonanywhere it successfully deploy but is shows template does not exit but in localhosr app is perfectly working plz tell me what to do i m too much confused what to do

    • @codegyaan
      @codegyaan  8 місяців тому +1

      Check this line, inside your Template in the settings.py file [os.path.join(BASE_DIR, 'Templates'),], you are adding , behind ( BASE_DIR, 'Template') Remove it now and try again

  • @TheLoneMan-fk2iu
    @TheLoneMan-fk2iu 7 місяців тому

    show a video on how to do the procfile, requirement.txt and the rest

    • @codegyaan
      @codegyaan  7 місяців тому

      this tutorial was just to make things simple and host the beginner friendly projects.i will surely make a video on your prob in some time.
      thanks for the input.

  • @ShivamGupta45102
    @ShivamGupta45102 8 місяців тому +2

    static file is not showing in my project

    • @codegyaan
      @codegyaan  8 місяців тому +1

      there can be multiple reasons for that -
      try changing the path for your static files.
      your problem might be listed here ,check it once -help.pythonanywhere.com/pages/DjangoStaticFiles/

  • @YT4ntertainment
    @YT4ntertainment 8 місяців тому +1

    Hey bro, are you currently working for any company?

  • @rohitrawat4055
    @rohitrawat4055 Місяць тому

    In my project there's no any static file , is there any issue in uploading it

  • @Tan_cannon
    @Tan_cannon 2 місяці тому

    Bhai sqlite ka data will be gone you said so how to migrate the data 😰?

  • @vijay.gholve
    @vijay.gholve 6 місяців тому +1

    bro mera project bada aur usme django default database use kiyà hai so deploye karne problem aa raha hai

    • @vijay.gholve
      @vijay.gholve 6 місяців тому +1

      if you don't m mind can you give me your number

    • @codegyaan
      @codegyaan  6 місяців тому

      Bro default me prob nhi hona chahie

  • @remixesandmashups4826
    @remixesandmashups4826 6 місяців тому +1

    actually the i got a wsgi error i did exactly u said buts its not deploying

    • @codegyaan
      @codegyaan  6 місяців тому

      i have added few things that need to be done check it in the description section.
      if it wont work let me know

    • @remixesandmashups4826
      @remixesandmashups4826 6 місяців тому

      @@codegyaan I have did that too but ain't working

    • @abdulrehmanrais1077
      @abdulrehmanrais1077 3 місяці тому

      @@remixesandmashups4826 did you find the solution?? I am facing same problem.

  • @GamerNoob-Tech
    @GamerNoob-Tech 6 місяців тому

    hy i have done each step as shown in video my project is dashboard wth postgresql it may have problem something went wrong saying in browser

    • @codegyaan
      @codegyaan  6 місяців тому +1

      if you want to use postgres then you need to get paid plan of pythonanywhere.

    • @GamerNoob-Tech
      @GamerNoob-Tech 6 місяців тому +1

      @@codegyaan thanks for help

  • @sleeplessfella1205
    @sleeplessfella1205 5 місяців тому

    Will this method work for serving react frontend as html via Django views

    • @codegyaan
      @codegyaan  5 місяців тому

      i have not tried that way , but give it a try .
      forum related to your querry-
      www.pythonanywhere.com/forums/topic/27473/

    • @sleeplessfella1205
      @sleeplessfella1205 4 місяці тому

      @@codegyaan thanks I appreciate your help

  • @remixesandmashups4826
    @remixesandmashups4826 6 місяців тому +1

    hey i wanna connect with you i have some doubts

    • @codegyaan
      @codegyaan  6 місяців тому

      tell me the error.

  • @prasadbhakare-i5l
    @prasadbhakare-i5l 2 місяці тому

    Sir my project is too big that is not working

  • @maazshaikh7905
    @maazshaikh7905 6 місяців тому

    how to specify the media directory for user uploads

    • @codegyaan
      @codegyaan  5 місяців тому

      its explained in the video !

  • @coderush24
    @coderush24 3 місяці тому

    Can I deploy Django Rest framework in the same way?

  • @MyroslavRepin
    @MyroslavRepin 4 місяці тому

    Why django styles for admin panel not work?

    • @codegyaan
      @codegyaan  4 місяці тому

      There are two ways to fix this.
      The ugly/hacky way is to add a specific static files mapping pointing at the django admin css folder:
      url: /static/admin
      path: /usr/local/lib/python3.10/dist-packages/django/contrib/admin/static/admin/ (or the path to the same folder inside your virtualenv, if you're using one)
      But that's an ugly hack, and you'll soon run into problems with the rest of your CSS not loading.
      The "proper" way to do it is to make sure you've got django.contrib.admin loaded in your INSTALLED_APPS, and then run collectstatic. There's a full guide to django static files here--help.pythonanywhere.com/pages/DjangoStaticFiles

  • @StillDeveloper
    @StillDeveloper 5 місяців тому

    why the styles is not being displayed sir

  • @gamingarea9011
    @gamingarea9011 5 місяців тому

    Not working. After deploying it is saying something went wrong.

    • @codegyaan
      @codegyaan  5 місяців тому

      try taking help from Chatgpt a bit !

  • @adetolaayeni1143
    @adetolaayeni1143 6 місяців тому

    my admin page of the site is messed up

    • @codegyaan
      @codegyaan  6 місяців тому

      ummm, in my case it worked try not to miss any steps and also read the description for setting up wsgi file.

  • @nitishdurga2704
    @nitishdurga2704 5 місяців тому +4

    hello sir,
    eralier i saw you video and deployed my website and it worked fine.
    but later when i updated my code and once againg deployed my code it didnot work. it was saying module not found error for the module that i didnot even use.

    • @codegyaan
      @codegyaan  4 місяці тому

      Did it work or are you still facing the issue? No sir bro. Bro is fine.

  • @indracreations384
    @indracreations384 2 місяці тому

    Hlo bro how can upload the django with media file plzz reply bro

    • @codegyaan
      @codegyaan  2 місяці тому

      this project already uses media files like static images .

  • @sir-stevenc.gwoleh.3672
    @sir-stevenc.gwoleh.3672 4 місяці тому

    why did you select python 3.10?

    • @codegyaan
      @codegyaan  4 місяці тому

      Because my project was dependent on that

  • @Samital-fl7yx
    @Samital-fl7yx 6 місяців тому

    I have difficulty to host my project after watching your video can you help me ????? Its urgent

  • @kranthikiran9914
    @kranthikiran9914 7 місяців тому

    100 seconds is enough for one day?

  • @taihatranduc8613
    @taihatranduc8613 5 місяців тому

    you saved me

  • @KillerxEditz
    @KillerxEditz 5 місяців тому

    i got server error

    • @codegyaan
      @codegyaan  4 місяці тому

      You must have missed some step

  • @pawanpal1849
    @pawanpal1849 3 місяці тому

    something went wrong

    • @codegyaan
      @codegyaan  3 місяці тому +1

      Try to make it right

  • @saichandugirra4152
    @saichandugirra4152 3 місяці тому

    bro have got error after save code do reload and open configuration in new tap got error something went wrong

    • @codegyaan
      @codegyaan  2 місяці тому

      you can dm me if you want i can help you there .