Hi all. Can anybody explain, how Django DB connection works? Docs say that Django uses one persistent connection. So if Django runs in dev mode (with no separate web-server) and clients make requests, then the second client will have to wait until the request of the first one will be done. Do I understand it correctly?
And if I'm using Apache workers, then I'll have the same picture except there will be as many db-connections as many workers Apache is running. Right?
hi there! i have a problem with django+angular spa i dont understand how it works, bcs if i do some stuff from tutorial, my django projet raise me error 404
i have django project where i have 1 model
i have angular app where i have routing like wher ulr /first > template url /views/first.html but when i run django, and go to 127.0.0.1:8000/first, i have 404, bcs django dont have ulr '/first'/ in django logic this is okay, but how to fix this? actually i try to render html via django and add url for this render, and then in angular in templateUrl i add django url, is this right way to build django-angular spa? thanks
Hi, everyone! does anybody know how to add records to DB via model, but with using of postgres functions? I mean I need smth like that: INSERT INTO ... VALUES ('1', pgp_sym_encrypt('text', 'key', 'cipher-algo=aes256'), 'hello');