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

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 81

  • @programmed_creature
    @programmed_creature 17 дней назад

    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 !!!

  • @msrtv1126
    @msrtv1126 11 дней назад +1

    Nice video bro

  • @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 .

  • @admin14688
    @admin14688 15 дней назад +1

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

  • @cryptolove9992
    @cryptolove9992 3 месяца назад +1

    Thanks bro for this video, very helpful

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

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

  • @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

  • @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.

  • @nandeeshhiremath8623
    @nandeeshhiremath8623 8 месяцев назад +2

    Nice..helpful

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

      Glad it helped

  • @PotenDaj
    @PotenDaj 7 месяцев назад +2

    Bhut acha laga mujhe bhi samajh aa gya good awesome

  • @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.

  • @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  2 месяца назад

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

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

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

  • @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.

  • @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/

  • @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

  • @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 Месяц назад

    Sir my project is too big that is not working

  • @vemanaveen7751
    @vemanaveen7751 6 месяцев назад +2

    nice bro very helpful

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

      Glad it helped.

  • @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

  • @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.

  • @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 .

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

    Can I deploy Django Rest framework in the same way?

  • @Samital-fl7yx
    @Samital-fl7yx 5 месяцев назад

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

  • @YT4ntertainment
    @YT4ntertainment 6 месяцев назад +1

    Hey bro, are you currently working for any company?

  • @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

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

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

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

      try taking help from Chatgpt a bit !

  • @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 !

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

    why the styles is not being displayed sir

  • @remixesandmashups4826
    @remixesandmashups4826 5 месяцев назад +1

    hey i wanna connect with you i have some doubts

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

      tell me the error.

  • @sir-stevenc.gwoleh.3672
    @sir-stevenc.gwoleh.3672 3 месяца назад

    why did you select python 3.10?

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

      Because my project was dependent on that

  • @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.

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

    you saved me

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

    100 seconds is enough for one day?

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

    something went wrong

    • @codegyaan
      @codegyaan  2 месяца назад +1

      Try to make it right

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

    i got server error

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

      You must have missed some step

  • @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 .