Recreate station screen with ReactJS
This commit is contained in:
@ -69,7 +69,7 @@ class CalendarDateAdmin(admin.ModelAdmin):
|
||||
class TransferAdmin(admin.ModelAdmin):
|
||||
list_display = ('from_stop', 'to_stop', 'transfer_type', 'min_transfer_time',)
|
||||
list_filter = ('transfer_type',)
|
||||
search_fields = ('from_stop__stop_name', 'to_stop__stop_name',)
|
||||
search_fields = ('from_stop__name', 'to_stop__name',)
|
||||
autocomplete_fields = ('from_stop', 'to_stop',)
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ class Command(BaseCommand):
|
||||
if not FeedInfo.objects.exists():
|
||||
last_update_date = "1970-01-01"
|
||||
else:
|
||||
last_update_date = FeedInfo.objects.get().feed_version
|
||||
last_update_date = FeedInfo.objects.get().version
|
||||
|
||||
for url in self.GTFS_FEEDS.values():
|
||||
last_modified = requests.head(url).headers["Last-Modified"]
|
||||
|
Reference in New Issue
Block a user