Swapnil
I want to inherit navbar.html page in child html page but the problem is when i give any <title>title</title> in base.html then it also inherit the title of base.html to every page
Swapnil
can anyone tell me ??
Swapnil
how to fix this problem ?
Mihir
use include
Darth✧
https://dpaste.org/cxoA
I m using django channels for creating chat room ....and in chat box i m not getting usrname with that user message...its returning undefined ....please have a look of my code
Swapnil
i want inherit navbar in in evry page but when adding it shows only navabr on that page
h
Hey guys, actually i have some doubt in DSA can you please suggest me a channel where i can ask that doubt.
Thanks
Anonymous
How many gunicorn instances we can start on one server?
✙Yaroslav
How to return to the page with parameters in ajax without reloading the page? I make a system of likes, and the likes are added, but not displayed on the page, I have to update page, how to make it not updated?
Now I have this script https://dpaste.org/wDz7
RAMANA
Please any One suggest Best python Django Courses for Beginners
RAMANA
Thanks so much
cj
yes but you have to use a front-end library for that
cj
there are many front-end libraries, you have to try them yourself and use the one that fits your needs
McLean
help on link paynow on my django shop web
Anonymous
We wanted to streamline this and exploring ways to have more control in optimized way..and couple of questions which gunicorn documentation does not address
Ghorz
Anonymous
Yes that i got from docs but thats specific to one instance right ? Above mentioned no of workers under one master gunicorn ?
Jay
Which tutorials should I buy to learn Django from basics
Anonymous
What if we have multiple gunicorn master running
Ghorz
Ghorz
You can test buy using it on each instance then check your performance
Ghorz
Besure to use Supervisor for deployment
Anonymous
All
Yes agree so we dont have any other way to conclude this and just we need to see performance and decide accordingly
Anonymous
Ghorz
Anonymous
Ok
U also have expertise on nginx ?
OnlyGod
What is the best analysis Api to use in analysing data from your django models
Ghorz
No knowledge is lost
Anonymous
Nginx + Supervisor
Thats the key
Yeah just a question we have multiple hosts where nginx is installed , what if one node A completely goes down how to reroute requests to nginx on other node B
Kristofmike
Ghorz
Anonymous
I am aware that how to load balance but thats specific to under one nginx
Anonymous
IP
Where need to configure this ?
Ghorz
Ghorz
Anonymous
Supervisor will handle it
Supervisor and nginx will be on node right and i am saying that entire server/node goes down where nginx and supervisor will be unreachable
Anonymous
But our contingency/backup server is up
OnlyGod
What tutorial is best for learning geodjango
Kristofmike
Hmm, I read from this step @c0x6A ,
Installing Django
Once you've created a virtual environment, and called workon to enter it, you can use pip3 to install Django. 
pip3 install django~=2.2 .
Ghorz
What tutorial is best for learning geodjango
I think the earlier people stop asking the Boring questions "what's the best video/Tutorial/approach" and start using what they have, the better for you all.
Ghorz
You all always want the best when you've learned nothing.
Anonymous
Anonymous
We already got nginx supervisor gunicorn functioning well just have to plan on outages
Ghorz
Ghorz
If so I'll advice you have write a monitor or task that watches Mysql, and other system software required by your app once any goes down the program should restart it.
Ghorz
There may be better ideas
OnlyGod
Anonymous
We also maintain everything on contingency including db's where we perform replications on regular interval..u can say every transaction we replicate on contingency
Anonymous
Anonymous
Thts the reason i am asking about routing all requests to contigency server where we have similar env like prod
Anonymous
Anything goes inside nginx.conf will not help if node is down due to outages
Ghorz
I believe you may have to check Kubernetes
Ghorz
Also readup
Ghorz
https://medium.com/platformer-blog/kubernetes-multi-node-cluster-with-multipass-on-ubuntu-18-04-desktop-f80b92b1c6a7
Anonymous
Ghorz
Ghorz
Great programmers still write cobol, Fortran C, python 2....
Ghorz
And 60% of your financial transactions run on a software written 50years ago
Anonymous
Any idea on how to run cron job in conda for running the django server
Anonymous
Link to any source is highly appreciated
Anonymous
Anonymous
My organization is not allowing it
Anonymous
So I need to use cron tab
Anonymous
In virtual environment
Anonymous
Ok
Anonymous
I am facing problem in installing the crom tab
Anonymous
Not sure what are all packages needs to be installed for it
Anonymous
We got dkron for running jobs (python processes), may be will check with my collegue he has done it since I run them will nohup only