Answer the question
In order to leave comments, you need to log in
How to understand unauthenticated user?
hello, there are requirements for the task Unauthenticated users can post messages via API in chat so others can read them.
Django, Django REST Framework, PostgreSQL
- The message must contain author(unauthenticated user) email and text, create date and update date.
- Email validation (regex to check if that is real email)
...
please tell me how to understand unauthenticated user here, how the request should be filled in and how to build a model? because as I understand it
author = models.ForeignKey(User, on_delete=models.CASCADE)
Answer the question
In order to leave comments, you need to log in
What's the problem? If there is a problem with English, you can use a translator.
Unauthenticated - unauthenticated. In fact, anyone who wants to.
The message must contain author(unauthenticated user) email and text, create date and update date.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question