Skip to content

Created model for academic experience - #34

Open
amikable-tech wants to merge 2 commits into
mainfrom
feature/academic-experience
Open

Created model for academic experience#34
amikable-tech wants to merge 2 commits into
mainfrom
feature/academic-experience

Conversation

@amikable-tech

@amikable-tech amikable-tech commented Oct 5, 2023

Copy link
Copy Markdown
Collaborator

In this PR I created the model for academic experience. However I am looking forward to your opinions and corrections.
Please let me know if i am to add or delete anything.
Thanks
Fixes: #5

Comment thread cv_generator/main/models.py Outdated
degree = models.CharField(max_length=255, blank=False)
summary = models.TextField(blank=False)
location = models.CharField(max_length=255, blank=False)
date_achieved = models.DateField(blank=False)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amikable-tech looks great 😃. Just a few minor things that came to mind:

  1. Some degrees come with a score and we should add the ability to show the score.

Could look like this:

score = models.FloatField(blank=True)
  1. The date_achieved field only gives us an indication when it was achieved but not the duration. I would suggest to rather user start and end DateFields. And make the end field blank=True to indicate that its in progress.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!!
will implement your suggestions now.

@amikable-tech looks great 😃. Just a few minor things that came to mind:

1. Some degrees come with a score and we should add the ability to show the score.

Could look like this:

score = models.FloatField(blank=True)
2. The `date_achieved` field only gives us an indication when it was achieved but not the duration. I would suggest to rather user start and end DateFields. And make the end field `blank=True` to indicate that its in progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Model 'Academic Experience' required

2 participants