Doragonsureiyā
anyway can someone help me to upload django on hosting?
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
Scott
anyone with a free pdf on django 2+ or link to a source apart from the documentation
Jatin
Ccbv django.org
Ram
Maxim
Mr Sourav
https://paste.ofcode.org/xdPyAkuv88gdZgSPPrWUvN
Mr Sourav
Hi everyone, If anyone using htmx then look at this code. I'm getting a page with written "2022" after deleting a post. After refreshing the page i'm getting actual page. What have i missed that's why i'm getting that error page? I can't figure out, please help.
Maxim
Mr Sourav
Not a error page actually, the page is totally blank, but i can see the html code by view page source
Mr Sourav
After refresh the page is good
Vadim
Depending on what is selected in the template, update the information on the page. How to implement it?
Vadim
<select name="pets" id="pet-select">
<option value="">Выберите модель авто</option>
{% for j in num_categoryyy %}
<option>{{ j }}</option>
{% endfor %}
</select>
amirHosseinZibaei
Can I use only django orm as database layer for pyqt project?
amirHosseinZibaei
Or choose sqlalchemy for the project?
S.H.K
Hi can help me
I’m installing this date package in django
How working?
https://github.com/a-roomana/django-jalali-date
Anonymous
using it rn
Anonymous
Hi Folks...
Is there any way to convert docx file in to pdf using python ?
Thanks..
ᴏʟᴇɢ
Vivek
Hi any one working with django and angular?
Doragonsureiyā
Hi any one working with django and angular?
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
Anton
Hi everyone! I has a question. I have view with PermissionRequiredMixin. When user haven't permissions it showed 404 page not 403. Is it ok?
Maxim
use documentation and/or search engines or ask specific questions
Speranza
HI i have problem with Django, and gunicorn.
When i go on my server django not load CSS
Doragonsureiyā
cr
what is the error in gunicorn logs
Alanominator
Hi. I want a knox token to be able to be saved only on the one device in a localStorage in a browser. Is there any configurations? How can I solve it?
cj
Maxim
محمد محمد
Please send me books for learn django
Doragonsureiyā
Please send me books for learn django
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Ivan
Guys, I need help!
I wanna to create and save QR by some referrer code in save method in each object CustomUser, but I have problem with saving. Can you help me please?
Ivan
save method:
qr_code_name = create_user_qr(self.referral_code, self.id)
self.qr_code = f"{settings.MEDIA_ROOT}/users/QR-codes/" + qr_code_name
create_user_qr def:
try:
os.mkdir(f'{settings.MEDIA_ROOT}/users')
os.mkdir(f'{settings.MEDIA_ROOT}/users/QR-codes')
except FileExistsError:
pass
my_company = MyCompany.objects.filter(is_active=True).first()
save_dir = f"{settings.MEDIA_ROOT}/users/QR-codes/"
save_name = f"user_id{uid}_{info}.png"
myqr.run(
words=info,
# picture=my_company.logo.url,
colorized=True, # Есть ли цвет, если False, то он черно-белый
save_dir=save_dir,
save_name=save_name,
)
return save_name
Ivan
If you know how to do this -- write please, have deadline tommorow, but this trouble makes me nervous 🥲😅
Dami_codr
Good day
Dami_codr
Pls, how do I parse dictionary to url: path('l/<username>/<password>, name="verify")
.....
I'm using httpResponsererirect(reverse,("verify", kwargs= {})
Arvindhan
Ivan
Arvindhan
Shilpy
cr
Maxim
?
you did not ask about gunicorn from the person who asked about gunicorn
cr
hamed
Hello
My friends, I want to authenticate with the package
dj-rest-auth
The first question is, do you think this is a good option?
The second question is that there are some drawbacks to this package, like a series of templates
Ressetpassword
Does not have and I have to create it myself?
Thank you for your comment or if you know a better way to authentication exist, thank you
Meee
i have two websites , one is my main website (in django) and other is my chatbot website(in flask,api already developed ) and i need to integrate the chabot website in my main website. Someone please help.
Anshu
T4P4N
Shukurillo
from push_notifications.models import GCMDevice, APNSDevice
File "/media/shukurillo/8E10D62C10D61B53/my_folder/Python/work_projects/lenzo_upgrade/upgrade-venv/lib/python3.8/site-packages/push_notifications/models.py", line 2, in <module>
from django.utils.translation import ugettext_lazy as _
ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation' (/media/shukurillo/8E10D62C10D61B53/my_folder/Python/work_projects/lenzo_upgrade/upgrade-venv/lib/python3.8/site-packages/django/utils/translation/__init__.py)
May anyone explain the meaning of this exception?
Shukurillo
Pintoko
Sagar
Is there any way to show two forms in the same template?
And data should be save into two different models at the same time.
Christof
how do I try that
Shilpy
I want to change a field from Foreign key to Many to Many key but when I did so using custom migration file, the field got changed successfully but the app goes down. Is there any way to change it from Foreign to Many to Many without breaking the app?
Shilpy
Database cannot be deleted. That's the main issue
Shilpy
Yes
@LSR
Try sync db migration
Shukurillo
Shilpy
Already did. But the problem is M2M deletes the field and create a new table and that field name is used in the frontend. So, the app broke when it didn't find the field.
Shilpy
Although app was restored on adding the same field forcefully
Shilpy
Shilpy
Not getting any error. That's why I am not able to figure out
Hakan
hello, in an application, I want to open the zoom application on the user's computer from my website, how can I do this?

Shukurillo
May anyone recommend courses for django-push-notifications?
cj
Hakan
İ deploy my website heroku
İ want to get request user localhost but i run this script get request running heroku server localhost
cj
T4P4N
it's great, only thing that i don't like using same ice cream examples throughout the book, real world examples would be great tho. Maybe I'll get used to it while coding & reading alongside.
Hakan
cj
Javokhir
Hi everyone, can u help me, which server can I deploy my postgresql database free?
Hasan
hi
what's the difference between get_gueryset and list action in ModelViewSet
Thuy
doubt
Hasan
Shubham
Select specific data as in what?
May be r u talking about retrieving just 1 object?
Hasan
Shubham
To access on via API
u will have to use the list
As it can give u list which can have multiple data