Community Questions

Join the discussion, find answers, and help others.

Ask Question
1 votes
3
answers
250 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 2 months, 2 weeks ago
45 votes
1
answers
2073 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 3 months, 1 week ago
31 votes
1
answers
2022 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 3 months, 1 week ago
34 votes
1
answers
189 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 3 months, 1 week ago
47 votes
1
answers
969 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 3 months, 1 week ago
6 votes
1
answers
1036 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 3 months, 1 week ago
2 votes
1
answers
1653 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 3 months, 1 week ago
45 votes
1
answers
1596 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 3 months, 1 week ago
31 votes
1
answers
1746 views

How to use Django signals

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

W
web_developer asked 3 months, 1 week ago
43 votes
1
answers
208 views

How to create Django forms

What is the difference between Form and ModelForm in Django?

N
noor_code asked 3 months, 1 week ago
27 votes
1
answers
1706 views

How to create Django model relationships

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

P
python_dev asked 3 months, 1 week ago
35 votes
1
answers
519 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 3 months, 1 week ago
41 votes
1
answers
1652 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 3 months, 1 week ago
23 votes
1
answers
1391 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 3 months, 1 week ago
36 votes
1
answers
967 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 3 months, 1 week ago
12 votes
1
answers
938 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 3 months, 1 week ago
39 votes
1
answers
1827 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 3 months, 1 week ago
22 votes
1
answers
193 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 3 months, 1 week ago
43 votes
1
answers
1639 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 3 months, 1 week ago
1 votes
1
answers
866 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 3 months, 1 week ago
Page 1 of 2 Next