Mendes
and you'll find the DJANGO_SETTINGS_MODULE
Ok, after my math classe I'll look at it...
Mendes
Thanks for the support...
Muflone
ok.. under the META section there's the Settings section, where you can find all the current settings values. check if the allowed_hosts is listed there with '*'
Mendes
ALLOWED_HOSTS []
Mendes
which isn't the same as the settings.py
Mendes
ALLOWED_HOSTS = ['*'] on settings.py, verified...
Mendes
what can it be?
Mendes
maybe wrong settings being loaded?
Mendes
Mendes
yeah, problem seems to be on startproject, it created another module which wasn't my main..
Mendes
Working already, thanks for your time...
Muflone
Ok
John
How will I display my Exception error in alert tag? Im using CBV. . Thanks!. .
Jose Luis
i need to display custom information when ppl click into a table row, i want to query the db and show the information related with the clicked row.
Jose Luis
i need to use just AJAX? exist something in django that help me?
Aemie
i need to use just AJAX? exist something in django that help me?
AJAX is the efficient and pretty easy method to call
Jose Luis
ok
Jose Luis
need to use JS to make the AJAX request?
raven
need to use JS to make the AJAX request?
yeah you can also use fetch or if you are already using jquery it'll become more easy to make ajax request
Jose Luis
thanks
Денис
Picture
As pictures may differ, the only way you can check this is to "scan" both QR codes programmatically and compare their data.
NaamMainKyaRakhaHai
Shaikha
Hello guys, I still can’t figure out how to do fcm django with React native to make a notification, help is appreciated 🙏
Rajat
As pictures may differ, the only way you can check this is to "scan" both QR codes programmatically and compare their data.
The QR code data is presented in picture but after scanning the code, data will shown in dictionary format
Денис
The QR code data is presented in picture but after scanning the code, data will shown in dictionary format
then it's a pure Python question: how to compare two dictionaries key-value by key-value? Easy to google.
cj
Why so @c0x6A
because that's not how to serve static files in production environments
Sultonbek Ikromov
guys does someone have a brief and clear explanation about django navbar dry method?
Sultonbek Ikromov
I googled but not found clearly explanation
Денис
guys does someone have a brief and clear explanation about django navbar dry method?
Probably I don't follow what you really want, but generally a good idea is either to place your navbar in base.html or generate it "on the fly" by implementing some custom template tag, for example.
Николай
Hi everything. I overrided template in Django admin (app_name/templates/admin/app_name/model_name/change_form.html). In production mode (debug=False) don’t render this template but local all works. collectstatic don’t help
Unkownu
Can any one provide a simple web app using django code as a reference to understand and build a web application
Денис
Hi everything. I overrided template in Django admin (app_name/templates/admin/app_name/model_name/change_form.html). In production mode (debug=False) don’t render this template but local all works. collectstatic don’t help
When DEBUG=False, Django doesn't serve your admin static files. You have to serve them by some 3d party webserver like nginx or provide a url pattern for static files in urls.py
Shikhar
Which model field should I use for storing user phone number
Sirius
Hi everybody! I'm trying to deploy my site on free hosting in pythonanywhere, but it gives errors. Is there anyone who wants to help me ? I have to deploy this site today. Help please !
Sirius
I'll help you tomorrow
What time is it now ?
cj
I'll help you when it's Nov 27 here
cj
🙂
Sirius
Nov.26, 4:27am
It is 17:30 by us.
cj
It is 17:30 by us.
🤷🏻‍♂not my fault... I'll help you in 20 hours
Sirius
I'll help you when it's Nov 27 here
I need help today. Could you help me today?
Sirius
no, I'll do tomorrow
After 3 hours, right ?
cj
After 3 hours, right ?
after 20 hours, when it's Nov 27 here
Sirius
cj
Ok. Then inform me please !
🤔🤔 but... I see you want quick help, right? do you wanna hear a tip?
cj
Yes I need quick help
ok, open a browser
cj
did
in the URL bar, write https://google.com and press enter key, did?
cj
yes. I'm into pythonanywhere.com
well, we have a problem then 🤷🏻‍♂ sorry but I can't help you
Sirius
well, we have a problem then 🤷🏻‍♂ sorry but I can't help you
Ok. let me to ask you something, then it will be clear to me.
Anonymous
What is the issue ?
Bayarkhuu
Hello have you got e commerce web code?
Yanik
Hello have you got e commerce web code?
Check out on my GitHub github.com/believemaster You'll find one there with django ecom
Yanik
You just need to clone/download file and extract the zip
Yanik
Let me give you my direct repo link for this
Yanik
https://github.com/believemaster/django-ecom
Yanik
Open the link and click on clone or download Whole project will be downloaded in zip file
Anonymous
cj
did you read the rules of this group?
Nitin
I'm sorry I just checked.
Ghorz
Hi everybody! I'm trying to deploy my site on free hosting in pythonanywhere, but it gives errors. Is there anyone who wants to help me ? I have to deploy this site today. Help please !
If you want to be a pro, you got to tackle the error yourself. Few years a go, I deployed my first app on pythonanywhere, I encountered serious of errors. I quietly read the error logs and fixed it. Keypoint, if you cant fix it, no one can. Ensure to read tracebacks, follow instructions and debug until you get high fever, use search engine and stackoverflow, if by then you couldn't, we will help out.
Ghorz
Ok.i dont understand github.
Sorry dude, you're at the wrong group. Learn github first, then come back.
python developer
Hi guys How to install Pip install pycrypto When I am trying then show the visual studio error code 14+ So anybody solve it
Shikhar
Hey I'm making something where the user enter their details except password. But in auth_user there is a field called password. So is it necessary to make password in the template..
Shikhar
I'm creating a user I just want that user enter some info and that's it. I don't want the user to enter password
Jose Luis
if i have detailed_member_information = Member.objects.prefetch_related(Prefetch('quota_set', quotas)).filter(id=member_id) is possible to get a json with the member and quota_set ? or i need to do the serialization manually?
raven
I'm creating a user I just want that user enter some info and that's it. I don't want the user to enter password
You have to manually add password field in view . Bdw do you have authentication in your app?