Skip to content

Commit f31a7cb

Browse files
authored
Update django-postgresql-docker.md
1 parent 43de6ed commit f31a7cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

programming-notes/python/django/django-postgresql-docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ docker exec -ti django_app postgres_db psql -U username -d demo_db
243243
or to access the Django shell:
244244

245245
```bash
246-
docker exec -ti django_app manage.py shell
246+
docker exec -ti django_app python manage.py shell
247247
```
248248

249249

@@ -288,4 +288,4 @@ docker-compose up
288288

289289
- [How to Dockerize a Django App: Step-by-Step Guide for Beginners](https://www.docker.com/blog/how-to-dockerize-django-app/)
290290

291-
- [Dockerizing Django with Postgres, Gunicorn, and Nginx](https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/)
291+
- [Dockerizing Django with Postgres, Gunicorn, and Nginx](https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/)

0 commit comments

Comments
 (0)