Shaikha
can you plzz give me some idea about algorithm
websocket has an open request, meaning that it waits for receive/send data, and redis is a background server that runs websocket, I’m not sure if I explained well but I gave you the keywords to look up on them on google or YouTube . It is most probably what you need
Anurag
okk i am getting what you want to convey
Shaikha
👍🏻
Anurag
but i am looking for how can i want to display green dot when user is active on website
Anurag
i am already using redis and websoket ..... how can i know that another user is connected to websokets
Shaikha
Shivam
Hey I badly need someone's help in deploying one of my Django project on heroku. Can anyone help?
Bekhruz
Shivam
My project is running perfectly on localhost , but when I deploy it to heroku ,it shows template does not exist.
Bekhruz
Shivam
I have also configured the template dirs section as os.path.join(BASE_DIR,'templates')
Shivam
Not really , I have deployed some flask apps, but for Django yes.
Bekhruz
can you share the code through any code sharing platform?
Bekhruz
the error code, i mean
Shivam
Yeah sure
Shivam
Should I share the git repo , aur just the photo of error?
Shivam
Or*
Bekhruz
lets see the screenshot first
Shivam
Okau
Shivam
Okay
Shivam
I send it you , check your dm.
Sushant
Anyone here give lessons for django from scratch
Sushant
or can anyone suggest from where can I learn django from scratch
Pieas
Django Docs bro
Rohan
Seems easy, note down everything you want and then make a db schema of how you will store it
Shivam
Rohan
Doragonsureiyā
Is there anyone else who can help?
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With a very high amount of people here the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Shivam
I made a portfolio website , it's working perfectly on localhost, but not working on heroku.
Shivam
The error is templates not found at/
Shivam
My templates folder is in the app folder.
వ్లాదమిర్ పుతిన్
వ్లాదమిర్ పుతిన్
to point your templates accordingly
Swapnil
i want retrieve images from database and problem is ..
Swapnil
when i display image webpage
Shivam
I did added django-heroku and the django-heroku.settings(locals()) and changes the dirs to os.path.join(BASE_DIR,'templates')
Swapnil
it will not displayed properly
Swapnil
i have used bootstrap class and divide page in 2 part (6-col)
Unknown
Hey friends,
I have just a port called 127.0.0.1:8000 but I want to let my friend see my website from their own phones...so wht should I do??
Jamil
you have to upload it to a domain and buy a host
Jamil
there are several deployment methods
Jamil
but this costs money
Muflone
Muflone
opening ports if your ISP allows it
Swapnil
Biswajeet
Biswajeet
expose a local development server to the Internet
Anonymous
Alabhya
Hi guys m learning django and I also want to contribute to django any tips on how to get started
Ghorz
Alabhya
👍
Jamil
Hello, should i always register my models to admin page
Mostafa
Pratik
Hii guys I am beginner in django. I just wanted to know django provides us default database of sqlite3.how can we change it to mysql or Oracle?
Anonymous
code :
var socket = new WebSocket(
'ws://' + window.location.host +
'/ws/chat/' + my_username + '/');
error :
Firefox can’t establish a connection to the server at ws://127.0.0.1:8000/ws/chat/mahdi/.
why i getting this error ?
ɱσσɳ
Anonymous
ɱσσɳ
Anonymous
Ghorz
beast
from where i can learn ds and algo?
Doragonsureiyā
from where i can learn ds and algo?
Step 1: Open a browser
Step 2: Write down https://google.com or https://duck.com and press Enter
Step 3: In the search box write down the same words you asked here
Step 4: Read the firsts results
kancharla
Any one know how to send SMS to phone numbers
With out registration in DLT portals
Jamil
Hello, for anyone that knows docker and uses it with django rest framework: why cant i do
docker-compose run app sh -c "python manage.py runserver"
as opposed to
docker-compose up
whats the difference?
Doragonsureiyā
Any one know how to send SMS to phone numbers
With out registration in DLT portals
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With a very high amount of people here the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
kancharla
Ok
Mirco
Jamil
i know the second command i mentioned works
Jamil
but the first doest
Jamil
doesnt
Jamil
what is the difference between run and exec, and dont you need the speech marks around the django command?
Jamil
sorry Im new to using docker
Mirco
Study better the docker tutorial to find all of these answers
Jamil