SEI-2121 / blltn-brd

A new revolution in porfolio websites
0 stars 1 forks source link

UI Functionality - CRUD - Update Project. #127

Open tmarcelojr opened 3 years ago

tmarcelojr commented 3 years ago

TASKS

1) Make sure UI form fields/state match Project model fields. 2) Create fetch call logic for UPDATE project.

REFERENCE GUIDE:

class Project(models.Model):
  project_name = models.CharField(max_length=120)
  user = models.ForeignKey(User, on_delete=models.CASCADE, related_name='user_project')
  description = models.CharField(max_length=255, null=True)
  projects_website = models.URLField(null=True)
  source_code = models.URLField(null=True)
  technologies_used = models.CharField(max_length=120, null=True)

Component Path: pages > EditProjects > index.js

stacy125 commented 3 years ago

created crud functionality and form with react bootstrap