Skip to content

テーブル作成#9

Open
naoya84 wants to merge 2 commits intomasterfrom
create_models
Open

テーブル作成#9
naoya84 wants to merge 2 commits intomasterfrom
create_models

Conversation

@naoya84
Copy link
Collaborator

@naoya84 naoya84 commented Aug 30, 2020

変更点

  • ex)indexページが表示できるようになった

解決したissue

  • ex)Closes #<紐付けたいIssueの番号>

スクリーンショット

  • 変更後のスクショが必要そうであれば掲載

date_to = models.DateField()
duration = models.DurationField()
tags = models.ManyToManyField('Hashtag',blank=True)

Copy link
Owner

Choose a reason for hiding this comment

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

追加でTripとPrefectureの中間テーブルを用意した方がいいかも
djangoの場合はManyToManyフィールド?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hushtagと結びついてる中間テーブルとは別なのかな

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.

2 participants