🏳️‍🌈Robby [ Private Message = Spam]
amen 😂😂😂
WAH WAH WAH you didn't give me a direct answer and told you to do basic research so I'm gonna call it useless
🏳️‍🌈Robby [ Private Message = Spam]
FYI basic research skills are valuable as hell
Muflone
I can confirm you as well
Jimmies San
can we stop?
🏳️‍🌈Robby [ Private Message = Spam]
Jimmies San
thanks 😊
Muflone
weasyprint seems to have a big list of dependencies
Muflone
many of them couldn't be available for other architectures
🏳️‍🌈Robby [ Private Message = Spam]
@il_muflone this is a praise, not a criticism: This is what i was looking for you to do :)
🏳️‍🌈Robby [ Private Message = Spam]
Good work :)
Muflone
@robbyoconnor once again. thank you but I'm really very able to use google
Jimmies San
@il_muflone i repeat: it depends from use case. if you need to create a little pdf from a view it's something. if you need to create complex pdf is another case.
Muflone
the most flexible way would be export report in html and let it convert to pdf using wkhtml but the external tool could be unavailable on the installed server. weasyprint has a lot of dependencies. reportlab seems to me the only usable and portable tool
Muflone
but it needs report "hardcoding"
Jimmies San
check this
Muflone
I'll test it, thanks
Muflone
https://github.com/nigma/django-easy-pdf
Muflone
a django package that uses xhtml2pdf under the hood
🏳️‍🌈Robby [ Private Message = Spam]
https://github.com/nigma/django-easy-pdf
neat — and by the way I apologize
Anonymous
hey can somebody help me? im stocked with a docker
Сергей
what used in django befor 2.0 by default in on_delete?
Сергей
iirc CASCADE
is it exact?
Oleg
is it exact?
https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete
Oleg
Docs to the rescue
inchidi
is it exact?
https://github.com/django/django/blob/stable/1.11.x/django/db/models/fields/related.py#L822
Shubham
Hello in case of token based authentication , I have a created the token after the regidtrtion, whts next, how can I save it in database?
Shubham
https://github.com/shubham1507/school
Shubham
Shubham
I used rest_auth
Mirco
No..actually I m asking , how can I save the token
get the token and user who owns it so update db using orm
Shubham
I have a query , while creating the supersuser its giving me "Error: That email address is already taken." although I want to use
Shubham
how can I do that
Shubham
do I need to drop the database entirely
Mirco
do I need to drop the database entirely
Delete migrations and create again superuser and rerun migrations should be enough if I don't go wrong
Shubham
Delete migrations and create again superuser and rerun migrations should be enough if I don't go wrong
okay but if I go in psql, is there any way around to delete only the email Id , instead dropping the entire db?
Shubham
sorry
Shubham
let me check
Shubham
and tried creating
Shubham
same
Shubham
but still giving an errot
Shubham
email Id already exist
Mirco
Did u try running makemigrations and migrate then ?
Sankhe
Hi.please anyone send me email sending and verifying email code
Sankhe
Django code for sending emails
Mirco
Django code for sending emails
Make a search online before asking, it's plenty of examples about that
Shubham
actually whenever I start my project
Shubham
it gives an error
Shubham
rom django.test.client import Client, RequestFactory ImportError: cannot import name 'Client'
Shubham
so I need to migrate everytime
Shubham
what might be the issue
Shubham
?
Jimmies San
😁😁😁
Mirco
Not the right place man Try into Python group
Manish
Not the right place man Try into Python group
Tried they are joking on their group
Mirco
Tried they are joking on their group
Sorry for that but if it's not related to Django , you are offtopic here
Manish
Okay
Manish
Sorry
Mirco
No worries 😁
Shreehari
Sorry
Try re installing vim
Shubham
Hello I am getting an error
Shubham
https://github.com/shubham1507/school/tree/production/LoginAndReg
Shubham
unsupported operand type(s) for +: 'NoneType' and 'str'
Shubham
I have a deleted the default name param in the model and created username ,and made changes in the respective places
Shubham
too
Anonymous
Hello, how are you colleagues, a question ... How can I access my microphone through my app that I have written in django? I explain in certain seen I need to capture recording of the microphone of my pc, how can I call a function that I have previously written for this?
Anonymous
🤔🤔🤔 okkk, I try this
Anonymous
If I have doubts, I write to you
Anonymous
thanks a lot