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
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
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
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.
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.
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/
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
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
I just wanted to say that your videos are absolutely awesome! You explain everything so well
Glad you like them!
Do share with your friends , help me get some subs !!!
Nice video bro
Thanks
my website got deployed ,but i have images in that ,it is not rendering,only the text is showing,plz reply bro
watch the video carefully and make changes to the directly according to your project .
its working thanks ...................
Thanks bro for this video, very helpful
Glad it helped
Thanks , it was very helpful and I was able to host my website
Glad it helped
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
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
Thank you sir.but how to connect it with database
Glad it helped! Will upload soon! Stay subscribed.
Nice..helpful
Glad it helped
Bhut acha laga mujhe bhi samajh aa gya good awesome
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.
Did it work or are you still facing the issue? No sir bro. Bro is fine.
hello sir
can you make a video from where you make the auto portfolio maker?
i liked the website
You can check it out on my GitHub-- github.com/akashbhaskar2011/Portfolio_generator.git
Bhai sqlite ka data will be gone you said so how to migrate the data 😰?
show a video on how to do the procfile, requirement.txt and the rest
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.
static file is not showing in my project
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/
bro mera project bada aur usme django default database use kiyà hai so deploye karne problem aa raha hai
if you don't m mind can you give me your number
Bro default me prob nhi hona chahie
i tried extracting the file but it says cannot find or open filename.
so i found the solution by putting the filename in a single quote.
great !!
you can also clone your project from github if you want only few things changes rest of the processes remains same.
Sir my project is too big that is not working
nice bro very helpful
Glad it helped.
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
if you want to use postgres then you need to get paid plan of pythonanywhere.
@@codegyaan thanks for help
actually the i got a wsgi error i did exactly u said buts its not deploying
i have added few things that need to be done check it in the description section.
if it wont work let me know
@@codegyaan I have did that too but ain't working
@@remixesandmashups4826 did you find the solution?? I am facing same problem.
Hlo bro how can upload the django with media file plzz reply bro
this project already uses media files like static images .
Can I deploy Django Rest framework in the same way?
Give it a try
I have difficulty to host my project after watching your video can you help me ????? Its urgent
error?
Hey bro, are you currently working for any company?
Not yet
Why django styles for admin panel not work?
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
Not working. After deploying it is saying something went wrong.
try taking help from Chatgpt a bit !
Will this method work for serving react frontend as html via Django views
i have not tried that way , but give it a try .
forum related to your querry-
www.pythonanywhere.com/forums/topic/27473/
@@codegyaan thanks I appreciate your help
how to specify the media directory for user uploads
its explained in the video !
why the styles is not being displayed sir
error?
hey i wanna connect with you i have some doubts
tell me the error.
why did you select python 3.10?
Because my project was dependent on that
my admin page of the site is messed up
ummm, in my case it worked try not to miss any steps and also read the description for setting up wsgi file.
you saved me
100 seconds is enough for one day?
?
i host my small production projects there its more than enough
something went wrong
Try to make it right
i got server error
You must have missed some step
bro have got error after save code do reload and open configuration in new tap got error something went wrong
you can dm me if you want i can help you there .