clouded
Lords
Data is rendering or not
clouded
While I keep thinking about it, this is not necessarily Django specific and as there does not seem to be quick solution in sight, perhaps try out raising this issue in @pythonofftopic.
Lords
mubin
hello guys, is there any good code resources for django, on github , or anywhere else.
i want to understand how different types of django projects look like.
Charly
Charly
Charly
mubin
i want to master it faster.
Charly
mubin
mubin
mubin
i mean in a good level
mubin
mubin
do you have github or something so i see your projects
mubin
if you don't mind
Charly
Charly
mubin
mubin
mubin
is that tutorial enough?
Charly
Charly
To learn the basics yes
mubin
mubin
thanks anyway.
You
Hello guys, I really need your help. I send a data with get, then I want to get the data from the user with post or put, then I put the country name instead of the previous data with Django rest
You
You
Ayass
there is no software like xammp for django in windows?
Ayass
so hard to get mysqlclient work for windows :(
Muflone
🪟🪟💀
cj
Charly
cj
on windows 🤮
doesn't it work there?
IDK actually... just... better than that XAMPP, right?
Charly
Charly
Lords
Hey,everyone I have Residence model it has 4 foreign key attributes ,when I trying to delete residence record.I am getting integrity error Key id has refence to another table help me to resolve these issue
Doragonsureiyā
Rajesh
### Configurations
cd /etc/supervisor/ → supervisor config file
In this file we have conf.d and supervisord.conf
supervisord.conf → this file recognizes our created custom config files
conf.d → we should create our config file in this folder
Example File
[program:my_asgi_app] # we will run our project with this project name
command=daphne your_project.asgi:application
directory=/path/to/your/project
user=your_username
autostart=true
autorestart=true
redirect_stderr=true
my_asgi_app.conf
here iam stuck
Charly
Ali
Rajesh
(myprojectenv) ubuntu@ip-abc....xyz:~/channels$ cd /etc/supervisor/
(myprojectenv) ubuntu@ip-abc....xyz:/etc/supervisor$ ls
conf.d supervisord.conf
(myprojectenv) ubuntu@ip-abc....xyz:/etc/supervisor$ sudo nano conf.d/my_asgi_app.conf
(myprojectenv) ubuntu@ip-abc....xyz:/etc/supervisor$ sudo supervisorctl start my_asgi_app
my_asgi_app: ERROR (already started)
(myprojectenv) ubuntu@ip-abc....xyz:/etc/supervisor$ sudo supervisorctl status
my_asgi_app STARTING
(myprojectenv) ubuntu@ip-abc....xyz:/etc/supervisor$ sudo supervisortctl restart my_asgi_app
sudo: supervisortctl: command not found
(myprojectenv) ubuntu@ip-abc....xyz:/etc/supervisor$ ^C
(myprojectenv) ubuntu@ip-abc....xyz:/etc/supervisor$ ^C
(myprojectenv) ubuntu@ip-abc....xyz:/etc/supervisor$ sudo supervisorctl restart my_asgi_app
my_asgi_app: stopped
my_asgi_app: ERROR (spawn error)
Rajesh
iam getting my_asgi_app: ERROR (spawn error)
Forever
|-- templates/
| |-- firstapp/
| | |-- index.html
| | |-- sport.html
| | |-- ...
| |
| |-- secondapp/
| |-- scorecard.html
| |-- prediction.html
| |-- ...
|
|-- base.html (navbar?)
Forever
is this okay to have template like this?
Believe
Yes its okay
HAJI MASTAN
how to access django custom tags inside ajax loop
Ярослав
Hello! I use DRF in my project and implement OAuth2 login, everything works, but not the way I need. How can OAuth2 and simplejwt be linked? On successful login it returns sessionid and csrftoke in cookies, but I need to pass the JWT token to the frontend (React). Do you have any ideas or solutions for this problem?
Sagar
How to create a parent child relation in models without using foreign key, also parent can access all children data and childrens can access data of parent,other children
Mishel
Lords
Ali
Gautham
How can I covert my MVT archetecture django project into REST API project
Ali
First create youe serializer classes then create your api views
Ali
Hello, I want to use channels to display database information changes in the ui realtime.
we write the codes to get data from database in the view and pass it to the template.
But now that the channels have been added, where should I write the codes to get data from db and where should I pass theme?
Alex
Those page too don't exist as per Django url.
Mirco
Why not using the Django way and show the 404 page ?
Худайберген
Can you recommend a YouTube video Django registration?
Doragonsureiyā
Ali
Ali
I used channels with my api
Ali
Sorry what. Yes I already use rest framework bro
JayJo
Image models