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
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/
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.
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.
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 !!!
Bhut acha laga mujhe bhi samajh aa gya good awesome
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 .
Thanks , it was very helpful and I was able to host my website
Glad it helped
Thank you sir.but how to connect it with database
Glad it helped! Will upload soon! Stay subscribed.
Thanks bro for this video, very helpful
Glad it helped
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
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
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
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/
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.
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
Bhai sqlite ka data will be gone you said so how to migrate the data 😰?
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.
Nice video bro
Nice..helpful
Glad it helped
its working thanks ...................
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
Hlo bro how can upload the django with media file plzz reply bro
this project already uses media files like static images .
Hey bro, are you currently working for any company?
Not yet
Can I deploy Django Rest framework in the same way?
Give it a try
why the styles is not being displayed sir
error?
why did you select python 3.10?
Because my project was dependent on that
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.
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
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 !
Not working. After deploying it is saying something went wrong.
try taking help from Chatgpt a bit !
I have difficulty to host my project after watching your video can you help me ????? Its urgent
error?
nice bro very helpful
Glad it helped.
hey i wanna connect with you i have some doubts
tell me the error.
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.
100 seconds is enough for one day?
?
i host my small production projects there its more than enough
i got server error
You must have missed some step
you saved me
something went wrong
Try to make it right
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 .