IMPORTANT - When testing with Postman, you will need to use the auth endpoint to get an access token. Then save that token to the Rules Collection in Postman before making requests to rules endpoints.
updating rules so we can create a rule
allowing the ability to list all rules for a user with pagination support
adding docstrings
adding custom pagination class to align with our Response format
setting access token token to 30 minutes instead of 1 minute
removing unneeded values under simple_jwt
adding the rules to the admin portal of django
starting to add search functionality
removing init from the serializer since it seems to not be needed
included user into the fields for the serializer
reformatted the urls for the rules
complete rewrite of the rules views to make creating, listing and viewing rules possible
had to fix the user model's str to do a json dump to properly return data
IMPORTANT - When testing with Postman, you will need to use the auth endpoint to get an access token. Then save that token to the Rules Collection in Postman before making requests to rules endpoints.
updating rules so we can create a rule allowing the ability to list all rules for a user with pagination support adding docstrings adding custom pagination class to align with our Response format setting access token token to 30 minutes instead of 1 minute removing unneeded values under simple_jwt adding the rules to the admin portal of django starting to add search functionality removing init from the serializer since it seems to not be needed included user into the fields for the serializer reformatted the urls for the rules complete rewrite of the rules views to make creating, listing and viewing rules possible
had to fix the user model's str to do a json dump to properly return data