Аброр Нуранов
cj
Yes, a little bit
https://docs.djangoproject.com/en/2.2/intro/tutorial01/
Аброр Нуранов
Yes, a little bit
I started learning python recently, 2 weeks ago
Yash
why
Its possible or not ?
cj
Its possible or not ?
yes... but why do you want to do that?
Yash
If one of them crash !!
cj
Backup !!
then do it in a lower level, not at application level 🤷🏻‍♂️
cj
If one of them crash !!
then you're mixing things here... if your MySQL DB crashes, you can't use a MongoDB one as a backup 🤷🏻‍♂️
cj
Can you please explain more
you have to learn about how DBs work 🤷🏻‍♂️
cj
it's out of the scope of this group
Yash
apple
If one of them crash !!
They crash due to bad design
Anonymous
If I use free HTML templates from sites like free-css, colorlib and change the layout of it like font colors then also I get copyright claim on my website?
Orack
@c0x6A
Orack
i did upload a file using djangorestapi
Orack
but cant we connect it to mysql ?
Orack
yes you can
any blog link ? : I
cj
any blog link ? : I
it's just like plain django, use models to interact with the DB
Maxim Cheremisov
Hello everyone :)
Maxim Cheremisov
How can i escape from the Python shell? (venv) C:\Python37\Course\cms>python manage.py shell
Maxim Cheremisov
thank you! exit works
Anonymous
https://pastebin.com/PgifgstT
Anonymous
how can slove it
Ajmal
https://pastebin.com/PgifgstT
Which DB you are using..?
Ajmal
how can slove it
Make sure that the DB server is running , and verify the DB credentials mentioned in settings.py is correct.
Sebuhi
Hello there! using paho library I wrote python scripts that subscribes MQTT broker's topics. I need to transfer message payloads to webscokets(django-channels). messages should be in real-time, has anyone exprienced on these two protocols?
Orack
https://del.dog/aposukidix.sql
Orack
what does this error mean ?
Ajmal
https://stackoverflow.com/questions/55844680/deadlock-detected-when-trying-to-start-server did you check the question?
Ajmal
what does this error mean ?
solutions state that old .pyc files cause the error
Orack
doesnt work
Orack
restarting virtualenviornment solved
Sirius
Is it possible to install Django in WebStorm?
Yash
Is it possible to install Django in WebStorm?
But if you real want to work on python and django pycharm is best optionn
Orack
i see
Orack
no need to add mysql with djangorestapi
Orack
as it already creates a sqlite3 by default
cj
as it already creates a sqlite3 by default
that's what base django does
cj
DRF is just another app you use on top of Django
cj
But if you real want to work on python and django pycharm is best optionn
professional edition, yes... some people use the community edition and later they complain about it 🤷‍♂️
cj
DRF is just another app you use on top of Django
it will use the database you use in your base Django
Anonymous
can any one plz tell me how to sync active directory user's in python using ldap
Kaz 사자
Anonymous
Hello everyone. I have some business with you. Who can help me?
cj
Hello everyone. I have some business with you. Who can help me?
I don't have business with you... if you want help, show your code, show the traceback and give full context
Anonymous
hi anybody here use from v.s code on linux for django development ? my v.s code have no auto complet for django also my Atom and refuse me
Anonymous
use pycharm
no i want use v.s.code or atom
Orack
no i want use v.s.code or atom
iguess they dont have auto complete
Orack
only syntax highlighting
Anonymous
realy when i want select python interpreter from control panel v.s code didn't show my virtual Envs
Anonymous
The Don Jayame's plugin I think
Anonymous
The Don Jayame's plugin I think
i install plugin for v.s code
Anonymous
Oo
i think python venv path for v.s.code not defind
Orack
does vscode also support run button by some plugin
Anonymous
does vscode also support run button by some plugin
dear fake obama i need v.s code use my Venv not a plugin i have django plugin on it
Anonymous
it is important for me and i know maybe is complex
Orack
python main.py
Orack
from vscode terminal ?
Orack
or u have a run (triangle green button)
Orack
python main.py
if it is this
Orack
u can start virtualenviornment
Orack
from vscode terminal
Anonymous
from vscode terminal
yes i cant but untile i didn't choose my venv v.s code didn't use django auto complet and did't know django package like django.contrib or django.urls
Orack
when do we use viewsets.ModelViewSet