b
Like request.POST.get('name',None)
Taranjeet
can I get help from here? or can I get some project in here?
Grp is basically for asking questions. So yes you can. But getting a project won't be a thing
Илхом
Joseph
thank you
Anonymous
https://www.freshersway.in/how-to-host-django-website-application-on-web-server/
Anonymous
how to host django website in webserver
b
how check radio button is checked or not?
Joseph
in django backend?
b
how to check radio button is checked or not?*
Joseph
or jquery?
b
Django
Joseph
you can get value of radio buttons, that value will be checked radio
b
I know, but what if when value isn't checked
b
and with checkbox too?
Joseph
https://stackoverflow.com/questions/2417127/how-do-i-get-the-values-of-all-selected-checkboxes-in-a-django-request-post
Mihir
b
did this way, thanks
Igor
If I want to use 2 Redis databases, then I: I describe them in .yaml (done): redis: image: "redis:alpine" ports: - "6379:6379" redis-map: image: "redis:alpine" ports: - "6380:6380" volumes: - ./redis:/data I change all the lines where the host was redis to redis-map (done): red = redis.Redis(host='redis-map', port=6380) and add to settings.py... and this is the problem. CHANNEL_LAYERS = { 'default': { 'BACKEND': 'channels_redis.core.RedisChannelLayer', 'CONFIG': { "hosts": [('redis', 6379)], "channel_capacity": { "http.request": 200, "websocket.send*": 1000, }, }, }, } This is what I have added now. How do I add another channel layer? I need something like the same: xxxxx = { 'default': { 'BACKEND': 'xxxxxxxx', 'CONFIG': { "hosts": [('redis-map', 6380)], "channel_capacity": { "http.request": 200, "websocket.send*": 1000, }, }, }, } How should I do it?
Aman
hello every one
Igor
🥰
Mirco
Share the solution, so another user can use it if needed
Anonymous
Hello Guys getting error NoReverseMatch at / /
Anonymous
please help me
Anonymous
where, doing what?
In django. After user login this error is occur
Anonymous
like /profile/ this
Shubham
In your URL do you have anything matching this?
Shubham
/profile/
Anonymous
NO
Mirco
if you share your urls.py si much better, we don't have any magic ball
Sari
hai ... I want to ask why it can fail when printing reports to pdf Caption failed: Need a valid file name! '<img src="/static/css/a.jpg"/>' [10/Apr/2020 21:05:48] "GET /admindaya/pdf_verifikasi/2 HTTP/1.1" 200 8170
Sari
views.py https://pastebin.com/SWyUp5kt
Sari
pdf.html https://pastebin.com/dhaWYPVf
Bradypodion
Hi, i just solved the problem)))))
if i can ask.. how did u solved? port forwarding?
Igor
if i can ask.. how did u solved? port forwarding?
hmm, i dont get it((( it was a problem with port...
Beka
Guys who have a random activation code I have a student term is over( (Pycharm)
Nikhil
Does anyone have NODEjs course of udemy
Nikhil
I know this is off-topic but I need it
ᐯᑌᏞᏦᗩᑎ📈
hi all
ᐯᑌᏞᏦᗩᑎ📈
I have done To Do app and blog with Django
ᐯᑌᏞᏦᗩᑎ📈
now what i should also build
Mirco
find a job and you will find lots of stuff to build
ᐯᑌᏞᏦᗩᑎ📈
thanks
Антон
Can you help please? https://stackoverflow.com/questions/61115353/how-to-add-a-linked-field-in-a-view-from-the-detailview-class
Tobi
Batman thanks, I'm gonna try it out
Anonymous
https://pastebin.com/QtsSLm6C
This works for new obj and also for exisiting obj with null value for your required field. But if the field has been updated before and then set to null, it'll again send mail.. So, check and decide acc to your requirements
Tobi
👍
Sanju
Where I can learn api related stuff.
Shubham
I have updateview which is working fine. But how do i get value of a field from updateview in template?
Luis
yes i can access
Then, static files settings is ok. I think that you need access to full path, via obj.path instead of obj.url, PDF library (or related one) can't access to /static/....
Антон
Done.
Tnx! I will try it.
Mirco
why not ? a junior dev to be formed
Anonymous
now what i should also build
Study aws, try their tutorials for python
Jigani
Hi everyone! I'm having issues with running django 3.0.1 on python 3.7. Everytime I try accessing admin page from development server it crashes without errors
Anonymous
hi guys. i am trying to covert html to pdf my text contain rtl language (persian) and English but my rtl texts are reversed i am using jspdf how i can fix this
Anonymous
i also try to render html to pdf with useing xhtml2pdf
Aman
Hii guys... I want to show stored database documents/pdf in template..any Idea how can i do.
Anonymous
sending my codes with GitHub is allowed?
Mirco
Yup
Mirco
!rules
Doragonsureiyā
Read the rules before any activity: @PythonRules
Anonymous
hi guys. i am trying to covert html to pdf my text contain rtl language (persian) and English but my rtl texts are reversed i am using jspdf how i can fix this this is my code https://gist.github.com/onlinenot/6a9419ae77adb2c7ee4d1ad516bd9f31
Jigani
Hi everyone! I'm having issues with running django 3.0.1 on python 3.7. Everytime I try accessing admin page from development server it crashes without errors
Luis
If there is a crash, there is an error. Maybe you don't get info/alert about it; DEBUG=False maybe? or something with logging in settings?