Skip to content
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

Add tags to posts #7

Open
farhadmpr opened this issue Oct 3, 2020 · 2 comments
Open

Add tags to posts #7

farhadmpr opened this issue Oct 3, 2020 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@farhadmpr
Copy link
Owner

Each post can have multiple tags and each tag can also exist in several posts.
Clicking on a tag will take your readers to all posts tagged with that term.
When creating a post, the user can enter its tags.

@farhadmpr farhadmpr added enhancement New feature or request good first issue Good for newcomers labels Oct 3, 2020
@Ali-Xoerex
Copy link
Contributor

Ali-Xoerex commented Oct 6, 2020

Do you wish to add a new tag(s) column to the existing "Post" model as a SQL Array or define a whole new model for Tags and then relate posts to those tags? @farhadmpr

@farhadmpr
Copy link
Owner Author

Do you wish to add a new tag(s) column to the existing "Post" model as a SQL Array or define a whole new model for Tags and then relate posts to those tags? @farhadmpr

I want to have new model for tags.
Post and tag models have many to many relationship.

@farhadmpr farhadmpr assigned Ali-Xoerex and unassigned Ali-Xoerex Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants