We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c442bf + a3628e5 commit 04c1a31Copy full SHA for 04c1a31
multigtfs/models/feed_info.py
@@ -26,7 +26,7 @@ class FeedInfo(Base):
26
27
Implements feed_info.txt in the GTFS feed.
28
"""
29
- feed = models.ForeignKey('Feed', on_delete=models.CASCADE)
+ feed = models.OneToOneField('Feed', on_delete=models.CASCADE)
30
publisher_name = models.CharField(
31
max_length=255,
32
help_text="Full name of organization that publishes the feed.")
0 commit comments