Skip to content

Commit 04c1a31

Browse files
committed
Merge branch 'alaw005-feedinfo-model'
2 parents 8c442bf + a3628e5 commit 04c1a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multigtfs/models/feed_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class FeedInfo(Base):
2626
2727
Implements feed_info.txt in the GTFS feed.
2828
"""
29-
feed = models.ForeignKey('Feed', on_delete=models.CASCADE)
29+
feed = models.OneToOneField('Feed', on_delete=models.CASCADE)
3030
publisher_name = models.CharField(
3131
max_length=255,
3232
help_text="Full name of organization that publishes the feed.")

0 commit comments

Comments
 (0)