[x] Create AppDescription: Create a "Comments" Django app to perform tasks specific to it.
Instructions: Use the CLI to create a new application and configure it for the task.
[x] Create ModelDescription: Define the database model(s) required for the tasks.
Instructions: Create a Django model with the required fields, relationships, and constraints.
[x] Register with Admin SiteDescription: Register the model at the Django admin site.
Instructions: The model created is now registered in its relevant admin.py file.
[x] Create SerializerDescription: Develop a serializer for serialization and deserialization of data.
Instructions: Create a serializer data validation and convert the modal instance to JSON.
[x] Create CommentList ViewDescription: Implement a view that returns a list of comment data.
Instructions: Create a CommentList view that renders a list of comment data on the browser in JSON format.
[x] Create CommentDetail ViewDescription: Implement a view that returns specific comment data based on ID. Only the comment owner can update/delete it.
Instructions: Create a CommentDetail view that renders a specific user's data in JSON format. Add custom permission so that only the comment owner can update/delete it once logged in.
[x] Create URLsDescription: Define the URL patterns for accessing the task-related views.
Instructions: Add the necessary URL patterns to the project's URL configuration file. Add the app URL inside the main project as well.
[x] Create App Description: Create a "Comments" Django app to perform tasks specific to it. Instructions: Use the CLI to create a new application and configure it for the task.
[x] Create Model Description: Define the database model(s) required for the tasks. Instructions: Create a Django model with the required fields, relationships, and constraints.
[x] Register with Admin Site Description: Register the model at the Django admin site. Instructions: The model created is now registered in its relevant admin.py file.
[x] Create Serializer Description: Develop a serializer for serialization and deserialization of data. Instructions: Create a serializer data validation and convert the modal instance to JSON.
[x] Create CommentList View Description: Implement a view that returns a list of comment data. Instructions: Create a CommentList view that renders a list of comment data on the browser in JSON format.
[x] Create CommentDetail View Description: Implement a view that returns specific comment data based on ID. Only the comment owner can update/delete it. Instructions: Create a CommentDetail view that renders a specific user's data in JSON format. Add custom permission so that only the comment owner can update/delete it once logged in.
[x] Create URLs Description: Define the URL patterns for accessing the task-related views. Instructions: Add the necessary URL patterns to the project's URL configuration file. Add the app URL inside the main project as well.