-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project model #10
Project model #10
Conversation
scprojects/models.py
Outdated
# Create your models here. | ||
|
||
|
||
class Tag(models.Model): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We said we'd use an external tag library, so I would not create this model here. (#6 Add tag library)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I remember that. This is intended to be a placeholder for the future Tag library. I am assuming it will be a Django Model as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw your other comment. Deleted the model.
scprojects/models.py
Outdated
looking_for = models.TextField() | ||
created = models.DateTimeField(auto_now_add=True) | ||
updated = models.DateTimeField(auto_now=True) | ||
tech_stack = models.ManyToManyField(Tag) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'd add this later, once we have integrated a tag library. So I'd remove it for now, together with the tag model.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Merge BLOCKED - needs #9 to be merged first.