MEGHRAJ GOUD
!r5
Doragonsureiyā
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://dpaste.org, https://hastebin.com, https://bin.kv2.dev or your favorite one!
Charly
Noted
Now edit your message
@ranger
Now edit your message
Guide me how to do that
@ranger
Which lines do you recommend to edit ?
Charly
Which lines do you recommend to edit ?
No, read this: https://t.me/django/280923
MEGHRAJ GOUD
Then edit your message and replace the wall of text you kept with the link of any paste bin Along with a formulated query
@ranger
Use one these services to share your text
I tried pasting my message on the dpaste or hastebin . What is next step?
Anurag K
Hi guys ,I am building a blog site that features article recommendations for users using some machine learning algorithms. When deploying my project on AWS, are there any specific concerns or considerations I should be aware of?
Doragonsureiyā
Hi guys ,I am building a blog site that features article recommendations for users using some machine learning algorithms. When deploying my project on AWS, are there any specific concerns or considerations I should be aware of?
This is not a Django specific question, please delete your offtopic message. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Sa
Hi I'm using django framework for my web service. I get this error: ConnectionError Error while reading from 10.20.1.148:6379 : (104, 'Connection reset by peer')
Sa
How to fix this issue? the django version: 4.2.14
@ranger
" No module named django-admin" I get this message when I create a project
@ranger
What could be the issue? I can install django on the virtual environment
@ranger
Fail to create project using startproject command
️امیر
Fail to create project using startproject command
Try this python -m django startproject
Hadi
" No module named django-admin" I get this message when I create a project
What's your OS? What version of Python and Django are you using?
@ranger
Windows
️امیر
I tried that command
What's the error? Did you installed django?
@ranger
Maybe be the virtual env is not activated
I activated virtual envy and then installed Django
Maxim
I activated virtual envy and then installed Django
activation is also needed to run Django
Sky
Make python3 django-admin startproject
@ranger
activation is also needed to run Django
Tried without virtual env as well
@ranger
Mirco
You will never done Django 😁
Mr Praise
This command is for mac
You can py django-admin startproject
Mr Praise
Maxim
Why you said that
because it's the truth there's probably not a single person on earth who can actually say "I've mastered Django (or some other comparably complex thing)"
Charly
I think this rule will work for you not others because a human will be live in what he think
Is not a rule, it is pure logic that no one can know every single detail of complex things like djago that is a big framework
Charly
I know it is big but with Hard work it is possible
iS not, because you are not a machine that can remember very single detail and it is continously changing
Charly
not even the creators know it that way
Charly
If you can, then it means you have a very privileged mind and you should be doing more relevant things for humanity
Aldiiar
Why doesn’t nginx send static data on its port 80, although the project itself returns static data if you run it on port 8000? I think maybe I’m setting up the configuration for static data incorrectly location /static/ { alias /app/static/; } location /media/ { alias /app/media/; }
Bekzod Juraev
Is it possible add second database to Django then extend existing model in second database??
Adithya
I want to learn frontend without javascript, for my django projects, can anyone say , which is best frontend for django?
Charly
I want to learn frontend without javascript, for my django projects, can anyone say , which is best frontend for django?
You can't learn frontend without javascript, and for django is irrelevant use whetever you want
Charly
What about tailwind CSS?
Thats just styles
Charly
Is it possible add second database to Django then extend existing model in second database??
You can add multiple dbs, what do you mean by extendinf ecisting model ?
Bekzod Juraev
You can add multiple dbs, what do you mean by extendinf ecisting model ?
Look i have second database with tables for example (profile table) with fields (email,name ) and i want to add via Django to second database in profile table balance field
P
How to learn Django
Doragonsureiyā
How to learn Django
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
P
How to become a Django developer self
P
Tell me any one
P
How
Charly
How
you got an answer before with three links to tutorials to start
P
Link
Charly
Link
Check the replies you already got, don't be lazy
P
Which one
P
Its possible to become a Django developer her self
Priyanshu Pratap
Its possible to become a Django developer her self
I am a django developer and many people here also, i and many of them had learnt django by themselves only
Cc
Hi, I have a question, I've been working with Django for a short time and I've noticed that the more queries are made to the database, the more RAM memory fills up to the point that the instance freezes (aws EC2). What is the reason? I've seen that they recommend using a cache manager, but does that really help?
Hello, I've had this problem for a few days now. I had an EC2 t2.micro instance and I decided to change it to t2.small. It worked fine for a while without filling up the memory, but because we work with large files and process them to later pass them to PostgreSQL, the same thing happened again when larger files arrived. I thought it was a Django caching problem. I've been investigating and it turns out that because I run the project in production with Gunicorn, the worker was filling up and for some reason it was saving the information in memory. What I did was configure the number of workers and that every certain request the worker is cleaned. I also did the same with DjangoQ, which manages my asynchronous tasks. So far I've done tests and everything works fine. I left it here in case it helps someone.
Le_chy
Hello Have tried uploading pics on a Django website am working on as a project,but the pic are not uploading yet there in the static folder have used the admin side to add the products
Karthik
I have a strapi server running at localhost:1337, I am making few api calls from my django backend to this strapi server but I'm getting this error HTTPConnectionPool(host='localhost', port=1337): Max retries exceeded with url: /api/cricket?populate=%2A (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffff92b9d6f0>: Failed to establish a new connection: [Errno 111] Connection refused')) Any idea how can I solve this? `def st_call(endpoint: str, params: dict) -> list: strapi_api = f"{settings.STRAPI_URL}/api/{endpoint}" headers = { "Authorization": f"Bearer {settings.STRAPI_TOKEN}", } response = requests.get(strapi_api, params=params, headers=headers) return response.json()["data"]`
Charly
anyone? It's urgent
Here there are no urgent requests, this not a paid service
Charly
nah, no docker, normal through npm run develop
Well connection refuses means you have nothing on that port
Charly
Try with curl for example to verify
Karthik
Try with curl for example to verify
it is working with curl and postman .... Also If I use ngrok for portforwarding the ngrok link is working on django but not localhost:1337 or 127.0.0.1:1337 etc