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

Поділитися
Вставка
  • Опубліковано 18 лис 2024

КОМЕНТАРІ • 80

  • @programmed_creature
    @programmed_creature 12 днів тому

    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

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

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

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

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

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

    Bhut acha laga mujhe bhi samajh aa gya good awesome

  • @CodingBRO
    @CodingBRO 4 місяці тому +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  4 місяці тому

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

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

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

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

    Thank you sir.but how to connect it with database

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

      Glad it helped! Will upload soon! Stay subscribed.

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

    Thanks bro for this video, very helpful

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

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

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

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

  • @ShubhamSourabh-sz5se
    @ShubhamSourabh-sz5se 6 місяців тому +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  6 місяців тому +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

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

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

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

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

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

      great !!

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

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

  • @prasadbhakare-i5l
    @prasadbhakare-i5l 27 днів тому

    Sir my project is too big that is not working

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

    static file is not showing in my project

    • @codegyaan
      @codegyaan  6 місяців тому +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/

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

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

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

      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.

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

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

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

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

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

      Bro default me prob nhi hona chahie

  • @Tan_cannon
    @Tan_cannon 27 днів тому

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

  • @nitishdurga2704
    @nitishdurga2704 3 місяці тому +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  2 місяці тому

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

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

    Nice video bro

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

    Nice..helpful

  • @admin14688
    @admin14688 11 днів тому +1

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

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

    Why django styles for admin panel not work?

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

      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

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

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

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

      this project already uses media files like static images .

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

    Hey bro, are you currently working for any company?

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

    Can I deploy Django Rest framework in the same way?

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

    why the styles is not being displayed sir

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

    why did you select python 3.10?

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

      Because my project was dependent on that

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

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

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

      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 5 місяців тому

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

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

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

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

    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  5 місяців тому +1

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

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

      @@codegyaan thanks for help

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

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

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

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

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

      @@codegyaan thanks I appreciate your help

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

    how to specify the media directory for user uploads

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

      its explained in the video !

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

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

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

      try taking help from Chatgpt a bit !

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

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

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

    nice bro very helpful

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

    hey i wanna connect with you i have some doubts

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

      tell me the error.

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

    my admin page of the site is messed up

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

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

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

    100 seconds is enough for one day?

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

    i got server error

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

      You must have missed some step

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

    you saved me

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

    something went wrong

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

      Try to make it right

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

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

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

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