Community Questions

Join the discussion, find answers, and help others.

Ask Question
1 votes
3
answers
101 views

i have issue with twilio + django

hello , i have issue with twilio and django as i have set up everything  and its paid account , but the problem is  when 24 hours passed th…

A
abdullah asked 1 month ago
45 votes
1
answers
1953 views

How to add HTTPS to Django with Nginx

I need to enable HTTPS for my Django site. How do I configure SSL?

D
devops_guru asked 1 month, 3 weeks ago
31 votes
1
answers
1899 views

How to implement Django file uploads

I need users to upload files. How do I handle file uploads in Django?

W
web_developer asked 1 month, 3 weeks ago
34 votes
1
answers
133 views

How to add search functionality to Django

I want to add a search feature to find articles by title or content.

A
ahmed_tech asked 1 month, 3 weeks ago
47 votes
1
answers
901 views

How to implement Django user registration

I need to add user registration to my Django site. What is the best approach?

F
fatima_dev asked 1 month, 3 weeks ago
6 votes
1
answers
973 views

How to serve Django static files in production

My static files work in development but not in production. How do I fix this?

A
ahmed_tech asked 1 month, 3 weeks ago
2 votes
1
answers
1590 views

How to create PostgreSQL database and user

I need to set up a new PostgreSQL database for my Django project.

A
ahmed_tech asked 1 month, 3 weeks ago
45 votes
1
answers
1536 views

How to configure Celery with Django

I need to run background tasks in Django. How do I set up Celery?

L
linux_expert asked 1 month, 3 weeks ago
31 votes
1
answers
1685 views

How to use Django signals

How can I run code automatically when a model is saved or deleted?

W
web_developer asked 1 month, 3 weeks ago
43 votes
1
answers
143 views

How to create Django forms

What is the difference between Form and ModelForm in Django?

N
noor_code asked 1 month, 3 weeks ago
27 votes
1
answers
1640 views

How to create Django model relationships

How do I create ForeignKey, OneToOne, and ManyToMany relationships?

P
python_dev asked 1 month, 3 weeks ago
35 votes
1
answers
453 views

How to create REST API with Django REST Framework

I want to build a REST API for my Django models. How do I use Django REST Framework?

L
linux_expert asked 1 month, 3 weeks ago
41 votes
1
answers
1587 views

How to implement user authentication in Django

I need to add login, logout, and registration functionality to my Django app. What is the best approach?

F
fatima_dev asked 1 month, 3 weeks ago
23 votes
1
answers
1326 views

How to send emails in Django

I need to send email notifications from my Django app. How do I configure and send emails?

D
db_admin asked 1 month, 3 weeks ago
36 votes
1
answers
906 views

How to add pagination to Django views

I have a list view with hundreds of items. How do I add pagination to show only 10 items per page?

F
fatima_dev asked 1 month, 3 weeks ago
12 votes
1
answers
878 views

How to create custom Django management commands

I need to create a custom command that I can run with manage.py. How do I create one?

P
python_dev asked 1 month, 3 weeks ago
39 votes
1
answers
1777 views

CORS errors in Django REST API - complete fix

I'm getting CORS errors when my frontend tries to access my Django REST API. "Access-Control-Allow-Origin" header is missing.

P
python_dev asked 1 month, 3 weeks ago
22 votes
1
answers
127 views

How to optimize Django ORM queries for better performance

My Django application is slow. Database queries are taking forever. How can I optimize my ORM queries?

O
omar_linux asked 1 month, 3 weeks ago
43 votes
1
answers
1574 views

PostgreSQL connection refused in Django - solutions

My Django app cannot connect to PostgreSQL. I get "connection refused" error. PostgreSQL is installed and running.

F
fatima_dev asked 1 month, 3 weeks ago
1 votes
1
answers
816 views

502 Bad Gateway with Nginx and Gunicorn - how to fix

I'm getting 502 Bad Gateway error when accessing my Django site through Nginx. Gunicorn seems to be running. How do I fix this?

W
web_developer asked 1 month, 3 weeks ago
Page 1 of 2 Next