sergio-itru

Results 6 comments of sergio-itru

solution is to add newline ='\n' when write to a file. like this `with open(path, 'w', encoding='utf-8',newline='\n') as f:`

> > solution is to add newline ='\n' when write to a file. like this `with open(path, 'w', encoding='utf-8',newline='\n') as f:` > > Can you explain again? I need to...

solution is to add newline ='\n' when write to a file. like this ` with open(path, 'w', encoding='utf-8',newline='\n') as f:`

need simple option for django

try to use zip version of folder

It is already working. As per message of author telegram implementation https://khashtamov.com/ru/telegram-auth-django/ , if you use django version > 4, you shoud add `SECURE_CROSS_ORIGIN_OPENER_POLICY = None` to settings.py https://python-social-auth.readthedocs.io/en/latest/configuration/django.html within...