whatsinaname
Python anywhere
Oh okay, thanks!
Xpyk3rs
Hi im a beginner in python ...anyone please tell me how to do a table named Vendor and establish a foreignkey relation with product table and Vendor
Anonymous
Pra
Im using vs code for django project , not able to use templates there , i was creating some html files in those templates..when i use render (template) it doesnt showed any cahnges..i have added app in installed apps also in settings
Anonymous
Guys , I need help my img tag is not working , I have given correct image path & have load my static file in html also still it's not working
Krunal
I have deployed 2 Django application on windows IIS but facing problem in static files. Can someone help me in this?
Anonymous
How is it possible to download shared xlsx dropbox file usinng python FTP
any alternative then?
Heroku is a good alternative
Akhil
Heroku is a good alternative
Is Heroku reliable for hosting a django website for a business?
Akhil
Okay, is it better than pythonanywhere? Like for hosting sites for your clients, what you would prefer?
Okay, is it better than pythonanywhere? Like for hosting sites for your clients, what you would prefer?
I didn't used pythonanywhere, so I'm not sure what is better. I used Heroku for a while, and I was very pleased.
Abdulloh
Hi everyone when I create user password is not being hashed
Abdulloh
is there any function for this
Hi everyone when I create user password is not being hashed
We need some more information on this to help you. Maybe share without the code/models/etc
Fazil
has anyone worked with web scraping with Django?
Fazil
i meant built an app that deals with web scrapping stuff?
Fazil
for example an app that scraps data from other website and shows it to user
Abdulloh
I think you need Beautifulsoup module
عــمــر
When i change some models and add some fields and change some names , any thing I change it in models its not change in database (postgress) whats the problem! Do I have to delete all the tables to fix it? !
Mirco
everytime you change models
sim
How to update data from admin site in django......
sim
How write update and delete data code in view.py
Mirco
Migrate them also
I've told him 😂 make and run
mukul
I've told him 😂 make and run
Soory for overwritting you
Mirco
Soory for overwritting you
no worries, joking 😁
Khumoyun
Hello, project: Django I am using handler404 for this view def page_not_found(request): return render(request, "pages/404.html") my working url is localhost:8000/en when my DEBUG = True and I send get request to localhost:8000 it redirects to localhost:8000/en but when my DEBUG=False and I send get request to localhost:8000 it show 404 QUESTION: Can I make exception or redirect to my working url in my 404 view?
Tony
Is it funny to you?
No..you are awesome 🤞🙏
Khumoyun
when DEBUG is True, Django uses its custom 404 page
no, it redirects to localhost:8000/en. Django does not show custom 404 page when DEBUG=True
Mirco
no, it redirects to localhost:8000/en. Django does not show custom 404 page when DEBUG=True
so there's something wrong with your code when u suppose not to found the instance or the page
Mirco
share the code where u expect the 404
Mirco
sorry I can not
so we cannot help u
Alexey
lmao
Mirco
I fixed
nice 😁
Khumoyun
I have another quesion: When DEBUG = False I got error staticfiles mimetype error and browser could not load staticfiles ? Question: is it bug or I went smth wrong in my code?
Anonymous
Who have a source for implementation filter in django?
Ak
How to check that object is svaed or not using save() method
Anonymous
Why to migrate manage.py to create super user
عــمــر
you need to make migrations and run them
Its not work , i know i need to migrate and makemigrations
Anonymous
https://stackoverflow.com/questions/65234844/django-dynamic-menu-in-navbar
Anonymous
someone can help me with that question? thanks before, hope you are all have a nice day!
Doragonsureiyā
Any one ? No one work with postgress?
Maybe anyone is here, yes, but they are not obliged to read everyone's message here neither to reply to everyone's message, if someone wants to reply to your message, they will do that, just don't try to draw attention to your message writing "anyone?" every 5 minutes, that will lead you to be warned for SPAM/Flood, just be patient or use Google/DuckDuckGo to research about your question instead of wasting time here waiting for people to do your work. Have a nice day 😊
Mirco
Its not work , i know i need to migrate and makemigrations
these are the only solutions I know actually
Nick
Hey can anyone help me If I am search products then the product show but if in input search greater than 23 character like aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa then it show blank search
Nick
How to solved that this is my code
Nick
I want to search only suggestion if anyone search anything then msg him.
rafaeletc
If theres no entry with 33 a's should return a blank anyway
rafaeletc
What do you expect to return?
Ananya
Can someone guide me any resources for django Channels?
عــمــر
I have a question For example i have this 2 models : Course model And Lectures model Every cousre have some lectures and i want to make the url like this Example.com/course.name/ lecture.pk With detailView How can i add course.name in the url?
rafaeletc
Look at urls.py doc
appu
Plzz help to send an OTP into an phone numver
Doragonsureiyā
Plzz help to send an OTP into an phone numver
So, why don't you do it yourself first? When you have an issue with the Python code you wrote (read rule 5️⃣ to show your code), come back here and people will help you. 😉
Nick
If theres no entry with 33 a's should return a blank anyway
If I am doing it q < 44... Then the product_name is not show it show me msg. The product_name is small and large.
Anonymous
How to get silent pdf print in django
Anonymous
Hardcopy
Anonymous
Can I use pycharm for django??
Anonymous
Why not?
And can I get snippets??
Anonymous
Okay Thanks
Anonymous
what is group?
Doragonsureiyā
what is group?
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z" Just ask about your problem directly! With ~80,000 people here, the probability that someone will help is pretty high. How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Vishnu
How to make a guest user guys
Vishnu
??
Pra
Have you define template directory
Yes ,in render function i have written the path to it
Controller
Yes ,in render function i have written the path to it
I really wish there was a way to see your code. it would be very easy to help