drf_course
drf_course copied to clipboard
Django Rest Framework Course
Has steps on: How to create a Django Rest Framework Authentication Api. How to create and launch a django project on docker. How to create tests for the api.
I deleted the first attempt at the drf_course tutorial. downloaded Docker Desktop and started the drf_course tutorial again. Starting at module_1. issued docker-compose up -d --build. Completed fine. In the...
Hey I don't know if this is a linux issue or may happen in windows too but the docker-compose -d up --build is throwing a: "Error response from daemon: failed...
# My setup: Macbook Pro M2. ## Issue: Docker Build - Exit Code 100 due to Package 'netcat' has no installation candidate & Running Docker Issues ### Error Code: ```#0...
Token is not automatically created after creating user or even superuser I only noticed this after all the module 8 tests return error due to rest_framework.authtoken.models.Token.DoesNotExist: Token matching query does...
Well, this time I really did find the source of the problem.... The problem was I was using CRLF line endings in the endpoint.sh script. On the linux side, those...
I am following your drf_course. In module_3 you use Docker to access the api:8000/contact/... endpoint. Some of us did not want to install Docker. Can you please tell us how...
pulling module 3
Resolved a syntax issue in the Dockerfile_app that was causing the build to fail with Exit Code 1. The error was due to a missing semicolon (;) after pip install...