Doragonsureiyā
Hi ali can i get any reference link.. Shall i send msg personal?
Can i send you a private message? No. We do not provide one-on-one tutoring, hire someone if you need it. Questions are better answered in public so that everyone can learn.
Ali
Yes, bro np. I' ll sen you a tutorial also here
Ali
https://www.wikihow.com/Open-Ports
Ali
Do not forget port forwarding in your router panel. Also if you will use linux. Add new rule. Like -> ufw allow 8000
Mukhil
Ok thanks bro
Smok
who can advise me on a roadmap?
shameer
Hello, am stuck in one error. Can anyone help?
Doragonsureiyā
Hello, am stuck in one error. Can anyone help?
No one can help you until you explain your difficulties.
Charly
who can advise me on a roadmap?
You don't need a roadmap for Django. Kusta start with the official tutorial then projects.
shameer
While running manage.py, am getting one message: Unable to create process using...
Doragonsureiyā
While running manage.py, am getting one message: Unable to create process using...
To share code or error tracebacks, use a pasting service, like: - https://dpaste.org - https://hastebin.com - https://nekobin.com - https://bin.kv2.dev
shameer
Unable to create process using '/usr/bin/. env python manage.py runserver'
shameer
This is the message its showing
shameer
py manage.py runserver
Charly
py manage.py runserver
try with: py -3 manage.py runserver
shameer
Tried it
Charly
Tried it
Is it windows?
shameer
Cmd error no py-3 found
shameer
Yes
Charly
Cmd error no py-3 found
there is an space
shameer
Nope
shameer
py-3
Charly
Nope
You need to put an space
shameer
I have tried py-3 manage.py..
Charly
I have tried py-3 manage.py..
And I'm telling you you need to put an space after py!
shameer
Will try that
Maxim
I have tried py-3 manage.py..
try py -3 manage.py runserver ^ space
shameer
Awesome
shameer
Thanks a lot guys
Doragonsureiyā
try with: py -3 manage.py runserver
• Use a backtick (`) on both ends of your single line: `print("hello world")` • For more lines, use three backticks (```) before the first line, and after the last (and add the language you're using, Telegram now supports it): ```python def hello(name): print(f"hello {name}") ``` • You can also select text when typing, and select markdown formatting.
Smok
i am learning django rn and what projects you can advise me
Mamendja
i am learning django rn and what projects you can advise me
Go to the official site of Django and start with the tutorial there. You will build a web app and learn at the same time the Django architecture
clouded
Yes, but it does neither seem to be a good idea nor does it seem to be a suitable topic for this group.
clouded
If you can replace Django with any web framework or Python with any language, it is not related to Django, respectively Python. That is the case here.
Anton
Guys, i need some help. If i use AsyncWebsocketConsumer. Do I need to do sync_to_async on synchronous functions that just return a dict with constant data?
Ali
Hi If I have multi ws url route, ex: ws/route1 ws/route2 What should I put for the base url in websocket object? #django_channels
ali
hi
ali
I have written a Telegram bot and connected it to my Django project, but when the bot is not used for a while, its connection to the database gets disconnected. Do you know what I should do to prevent the connection to the database from getting disconnected?
Mukhil
I hope you tried telegram database (Means telegram uploaded files)?
ali
I use mysql
Mukhil
Its will work
Mukhil
Last year i did like that project
ali
I hope you tried telegram database (Means telegram uploaded files)?
No, I have a robot that the admin can save users in the database
ali
Last year i did like that project
Yes, but if the robot is not used for a while, the connection between the robot and the database will be disconnected and it will send an error
ali
Have you ever used CONN_MAX_AGE parameter for database settings?
Mukhil
No
ali
Ok, thanks bro🌺
Mukhil
Have you ever used CONN_MAX_AGE parameter for database settings?
No idea but i did django with telegegram bot data curd
Mahdi
Hello guys can somebody help me with django with server?!
Mahdi
I want to deploy django on server but i got an error can somebody help me please?!🙏🥲
Doragonsureiyā
Mahdi
what do you mean?
Doragonsureiyā
what do you mean?
Read this please: http://catb.org/~esr/faqs/smart-questions.html#intro
Lords
what do you mean?
Please share error code
Lords
What you are facing
Сережа
guysss help! Ive crushed my site
Сережа
django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. that problem in models.py
Сережа
how are you running your code?
python manage.py runserver
Сережа
also i have model in models.py, but python manage.py makemigrations doesnt work
Сережа
i dont know what shall i do in this situation
Charly
I mean, you can reverse the latest changes
Charly
but it seems you modified the manage.py file or executing the models.py file directly or something else
Charly
i cant
Why not?
Сережа
ctrl z?
Charly
ctrl z?
I dont know what software are you using.
Сережа
vsc
Charly
vsc
So try it ¯\_(ツ)_/¯
Сережа
and why createmigrations doenst detect model
Charly
how can i fix that
if you ignore the advice we can't help