restapiswithdjango
restapiswithdjango copied to clipboard
Source code for Django for APIs
Bumps [django](https://github.com/django/django) from 4.0.1 to 4.0.7. Commits e9e9729 [4.0.x] Bumped version for 4.0.7 release. b7d9529 [4.0.x] Fixed CVE-2022-36359 -- Escaped filename in Content-Disposition header. 2eb7ded [4.0.x] Adjusted version 4.0.7 release...
Bumps [django](https://github.com/django/django) from 4.0.1 to 4.0.7. Commits e9e9729 [4.0.x] Bumped version for 4.0.7 release. b7d9529 [4.0.x] Fixed CVE-2022-36359 -- Escaped filename in Content-Disposition header. 2eb7ded [4.0.x] Adjusted version 4.0.7 release...
Bumps [django](https://github.com/django/django) from 4.0.2 to 4.0.7. Commits e9e9729 [4.0.x] Bumped version for 4.0.7 release. b7d9529 [4.0.x] Fixed CVE-2022-36359 -- Escaped filename in Content-Disposition header. 2eb7ded [4.0.x] Adjusted version 4.0.7 release...
In ch6-blog-api forms.py file, the Meta class was inheriting from the UserCreationForm class which should not be so. so I simply removed the inheritance.
Hello, as mentioned in this link: https://stackoverflow.com/questions/76093862/dj-rest-auth-registration-return-http-204-no-content I got the same problem in Chapter 8: User Authentication when doing the registration of a user. REST_AUTH = { 'SESSION_LOGIN': False }...
https://github.com/wsvincent/restapiswithdjango/blob/4a12e5289beeb00308f2d8ceefa343666fa11c05/ch8-blog-user-auth/django_project/settings.py#L79 Hi, In [`ch8-blog-user-auth/django_project/settings.py`](https://github.com/wsvincent/restapiswithdjango/blob/4a12e5289beeb00308f2d8ceefa343666fa11c05/ch8-blog-user-auth/django_project/settings.py) file, `"django.template.context_processors.request",` is duplicate. Thanks.
Hi, In chapter 6, We created a new `CustomUser` for our app. In page 93 you mentioned: > We’ll also add a `__str__` method to return the user’s email address...
Hi, In chapter 5 we wrote tests for `todos` app. Although in the paragraph at the bottom of the page 80 we introduced `APITestCase` and imported it in the `tests.py`...
Bumps [django](https://github.com/django/django) from 4.0.1 to 4.0.10. Commits 4d51383 [4.0.x] Bumped version for 4.0.10 release. 83f1ea8 [4.0.x] Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files. e5aecde [4.0.x] Added stub...
Bumps [django](https://github.com/django/django) from 4.0.1 to 4.0.10. Commits 4d51383 [4.0.x] Bumped version for 4.0.10 release. 83f1ea8 [4.0.x] Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files. e5aecde [4.0.x] Added stub...