View Code? Open in Web Editor
NEW
Code Institute Portfolio Project 5 - Django Rest Framework Backend for Cutback
Python 99.87%
Procfile 0.13%
drf_api_cutback's Introduction
Hello there, I'm Milosz ๐
I'm a Full-Stack Software Developer, Sailor and Student
๐ I'm a Software Developer and CS student of West Pomeranian University of Technology in Szczecin, Poland
๐ ๏ธ Iโm currently working as a Frontend Developer
๐ป I have passion for building projects with use of React, TypeScript and JavaScript
๐ฒ If I'm not coding, you will find me on a road riding my bicycle or playing ๐พ
drf_api_cutback's People
Watchers
drf_api_cutback's Issues
Description
Create a function to handle the automatic currency selection based on the Product's location.
Description
The update method in ProfileSerializer did not save changes to the database with User model inherited fields
Solution
Used validated_data pop method to assign owner data to a new variable, then loop through elements and assign them to User instance. ".save()" must be used for both User and Profile instances.
Description
Cannot display category name representation in GET endpoint for ProductSerializer.
Solution
Add an extra field in ProductSerilizer using ReadOnlyField and specify in the source 'get_category_display'.
Description
Create a fully functional Product model for use in the database. Follow ERD for fields to be included.
Tasks:
Description
Create a User model which inherits from the AbstractUser model
Tasks