Anonymous
Thanks you bro
Doragonsureiyā
I'm not your bro, bro; we weren't hatched from the same egg 🐍🥚
Pavel
Hello! Please tell me the library for generating HTML in PDF?
Muflone
Beware of the slowness. A 200 pages document full with tables requires more them 5 minutes to process
Mirco
Doragonsureiyā
Thanks!
You're welcome! 😊
Shubham
Hello guys I have a doubt, on registering a user using rest_auth.registration, user is creating successfully with token , but why it Status Code: 400 Bad Request after registartion
Shubham
*registration
Anonymous
Hello guys. I have a problem with registration in my project. I rewrote the code 2 times, but I can not solve the problem. Link to the error: http://dpaste.com/1V70QSR
Anonymous
Anyone know.. Session handling in JWT
Anonymous
??
cj
Anyone know.. Session handling in JWT
what's wrong with Google in your side? (just curious)
Happy
Do you overrial save() method in your Model?
Ильдар
Hello everybody, I have a problem. I can't add checked value from CheckboxSelectMultiple to ManyToMany field
Ильдар
` var = request.POST.getlist('bcflist') obj =answer.save(commit=True) obj.bcflist.add(var)`
Arulmurugan
` var = request.POST.getlist('bcflist') obj =answer.save(commit=True) obj.bcflist.add(var)`
.add should be supplied with a single object to add. If you want to add a list of objects you should do obj.bcflist.add(*var)
Ильдар
I solved this
Arulmurugan
I solved this
What was the issue?
Ильдар
I saw app.bsc.none and i'm was thinking what this is don't working. But in admin i saw many object and entered to they i saw checked element
Ильдар
I create new model with charfield. In view: for i in var: newmodel.object.create(newfield=i)
Ильдар
Then i looking: n= bcflist.object.all() for m in n: print(m.newfield). And saw id checked object
Ильдар
For example: in checkbox : 321,333,345,365,387,666. I check 321,345,666. In result of print 1,3,6
Maksym
Instead of error 404, server sends error 500 in production. What the problem?
cj
Instead of error 404, server sends error 500 in production. What the problem?
you have to find it out yourself, we can't read server's mind —yet—, go read the logs and come back here when you have more information to share and you'll get some help
André
Instead of error 404, server sends error 500 in production. What the problem?
Error 500 is a very general one, without reading the logs you won't find out what happened
Claudio
Hi everyone, i created my CustomUser model where i have added two fields: a SmallIntegerField named 'age' and a DateField named birth_date Now i want to override the save method to be able to calculate age automatically, without permitting the user to insert a value This however seems to have conflicts when i create a superuser, because the two fields are never inserted, the command just ask me for username, email and password
Claudio
I could remove age, and calculate it automatically insert it's value in a property, but still i should have an error because the comment does not ask me the birth_date
Claudio
https://pastebin.com/sTwAEBNv
Akash
Anyone know some telegram groups about bootstrap and front end development discussion.
Abdulaziz
With django 2.4 it's not necessary to add apps to settings.py Is this true ?!
Maz
Anyone with an idea of how I can use Python to download movie screenplays from a site like imdb and then parse them based on criteria like race, gender, violence, etc
Андрей
Imdb has api
Андрей
Use requests
Андрей
And you will get the json, then parse it with json package
Anonymous
What is the difference between adding an app like this: installed_apps = ["app_name.apps.AppConfig"] And like this: installed_apps = ["app_name"]
Anonymous
Except from it being pretty much obvious there isn't any.
Anonymous
Hi How to install django in python3?
Anonymous
pip3 install django
Anonymous
How to install modules Thread in python3??
Anonymous
❤️
😂😂😂😂😂😂😂😂😂😂😂😂shit shit shit are you suyber commender 😂😂
Андрей
How to install modules Thread in python3??
This module included in python3, from threading import Thread
Ghorz
Beautiful is python, awesome is django. But wait. How do I django without Javascript experience
Ghorz
Am screwed
myii
Write your JavaScript in Python.
Ghorz
Ghorz
Write your JavaScript in Python.
Want to you it to serve api endpoint
Ghorz
I developed a full functional user interactive Web app but I want Javascript, so as to stop page reload on some click action
myii
I'm pretty sure you can get it to do that.
Ghorz
I'm pretty sure you can get it to do that.
Have you combined transcript and Django?
myii
Have you combined transcript and Django?
Yes, Django Admin to be precise.
myii
Saved a lot of extra processing.
Ghorz
Would love a link to a resource
Ghorz
Searched but found non relating to django
Ghorz
Honestly I'll learn it
myii
Did you find the main website?
myii
https://www.transcrypt.org/
myii
I came at it via. jQuery: https://www.transcrypt.org/examples#jquery_demo.
Ghorz
I believe after writing and compiling, I'll manually transfer the files to django template
myii
Technically, this is transpiling.
myii
But that's not important.
Ghorz
What I want to do is use in in my frontend to post items from form to database without reloading page. I've integrated text and wiring the serialiser
Ghorz
Rest framework *
myii
I haven't tried posting but if it's possible via. jQuery/JavaScript, then you can do it.
myii
Meaning, to work with the REST framework.
Ghorz
I just have to figure out a way to integrate it to django
Ghorz
Probably write, compile, copy and paste code into my django template