Transport Accessibility documentation master file, created by
sphinx-quickstart on Mon Jun  3 13:49:21 2024.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

Bridge between Django with its models and database and gtfs.GTFS as intermediate object for File IO.

gtfs_schema : dir{str,list[str]}
Maps GTFS file names (without filename extension) to fields described by the GTFS Reference

reversed_file_mapping : dict(str,str)
Map CamelCased filenames to '_'-separated

to_camel_case(s):
Converts '_'-separated str to CamelCase with capital first letter

Converts ‘_’-separated str to CamelCase with capital first letter

standardize_time(time_str):
Converts str in unicode time format to %H:%M:%S format with normalized 24 hour time

is_NaN(v):
Checks if given variable is either a str expressing NaN or NaN as object

gtfs_to_db(g):
Write an existing gtfs.GTFS object to the database using the GTFS compliant models

db_to_gtfs(q, folder_path):
Convert list of query sets to gtfs.GTFS object and write to specified folder if validation for GTFS compliance passes.

db_to_gtfs(q: list[~django.db.models.query.QuerySet], folder_path: str = '')

q: list[~django.db.models.query.QuerySet], folder_path: str = ''

q (list[django.db.models.query.QuerySet]) -- List of QuerySets containing the retrieved data to be Converted

folder_path (str) -- path to be set as the results folder_path instance variable

Given a gtfs.GTFS object, write GTFS-compliantly to db by creating the correct models

True -- If v is either a str representing NaN or NaN as an object

False -- Otherwise

*True* -- If v is either a str representing NaN or NaN as an object

Convert Time and Date str to a format our db can easily work with.

Converted str -- If m.f is a DateField or a TimeField

Unchanged str -- Otherwise

Convert '_'-separated str to CamelCase with the first letter capitalized.

Convert ‘_’-separated str to CamelCase with the first letter capitalized.

GTFS(folder_path: str = '', dfs: dict[str, ~pandas.core.frame.DataFrame] = None)

folder_path: str = '', dfs: dict[str, ~pandas.core.frame.DataFrame] = None

DataFrame based representation of the GTFS standard, able to read folder of GTFS files, validate a GTFS object for accordance with the standard and write its data to a GTFS folder.

Path to folder where the data is read from and/or to be written to

agency, stops, routes, trips, stop_times, calendar, calendar_dates, fare_attributes, fare_rules, timeframes, fare_media, fare_products, fare_leg_rules, fare_transfer_rules, areas, stop_areas, networks, route_networks, shapes, frequencies, transfers, pathways, levels, location_groups, location_group_stops, locations_geojson, booking_rules, translations, feed_info, attributions

Objects representing the data in the corresponding .txt/.geojson files in the GTFS Reference.

Human readable messages explaining why a validation failed if it did.

Save all GTFS data represented by the current instance as a folder of files corresponding to the GTFS Reference.

For all GTFSFile member objects, validate if they individually conmply with GTFS.

Check if a DataFrame contains all required fields according to the GTFS reference for the file it represents.

Check if a DataFrame does not contain any unexpected fields, not compliant with the GTFS reference for the file it represents.

Check if a Stop is correctly mapped using geographical coordinates.

All given fields and their corresponding values are stored as a DataFrame.

Extension-less name of the corresponding .txt file from the GTFS Reference

All csv data from the corresponding .txt file represented as a Pandas DataFrame

Load data from list of DataFrames if given else read it from the corresponding .txt file in csv format.

Fill the data attribute with GTFS data either with a given DataFrame or from the corresponding csv

dfs (dict[str, pd.DataFrame]) -- Dict of dataframes mapped to the corresponding file names. If given, the corresponding DataFrame is returned if the key exists else an empty DataFrame

Dict of dataframes mapped to the corresponding file names. If given, the corresponding DataFrame is returned if the key exists else an empty DataFrame

path (str) -- parent directory where to save the files, defaults to the objects folder_path property

parent directory where to save the files, defaults to the objects folder_path property

dirname (str) -- If specified, subdirectory to create or use inside path. Default behaviour is to save directly to path.

If specified, subdirectory to create or use inside path. Default behaviour is to save directly to path.

Given the name of a file specified in the GTFS specification, return all fields present in the data.

name (str) -- name of a file as specified by GTFS (ommiting the .txt/.geojson extension)

name of a file as specified by GTFS (ommiting the .txt/.geojson extension)

a list of all the fields present in the datastream of the specified file

Check this object's data for compliance with the GTFS reference. Resets self.errors and stores human readable error messages to it.

Check this object’s data for compliance with the GTFS reference. Resets self.errors and stores human readable error messages to it.

List of human readable error messages, also saved to self.errors, if any, else None.

Check Attributions object for compliance with the GTFS reference.

Check BookingRules object for compliance with the GTFS reference.

Check CalendarDates object for compliance with the GTFS reference.

Check FareAttributes object for compliance with the GTFS reference.

Check FareLegRules object for compliance with the GTFS reference.

Check FareProducts object for compliance with the GTFS reference.

Check FareTransferRules object for compliance with the GTFS reference.

Check Frequencies object for compliance with the GTFS reference.

Check if a DataFrame contains either no coordinates of a given prefix or both latitude and longitude.

file_name (str) -- Name to be printed in error message if validation fails

prefix (str) -- Prefix to be used for coordinate fileds. Expands to {prefix}_lat and {prefix}_lon

Prefix to be used for coordinate fileds. Expands to {prefix}_lat and {prefix}_lon

Check LocationGroupStops object for compliance with the GTFS reference.

Check Agency LocationGroups for compliance with the GTFS reference.

Check LocationsGeojson object for compliance with the GTFS reference.

Check if DataFrame contains fields not specified in the GTFS Reference.

optional_fields (list[str]) -- list of field names allowed in df

required_fields (list[str]) -- list of field names to check for inclusion in df

Check RouteNetworks object for compliance with the GTFS reference.

Check Translations object for compliance with the GTFS reference.

Django database models representing the files of the GTFS Reference with all their fields

Agency, Stop, Route, Trip, StopTime, Calendar, CalendarDate, FareAttribute, FareRule, Shape, Frequency, Transfer, Pathway, Level, FeedInfo, LocationsGeojson, BookingRule, Translation, Attribution, LocationGroup, LocationGroupStop, RouteNetwork, Network, StopArea, Area, FareMedium, FareProduct, FareLegRule, FareTransferRule, Timeframe

A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

Accessor to the related objects manager on the reverse side of a
many-to-one relation.

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

``Parent.children`` is a ``ReverseManyToOneDescriptor`` instance.

Most of the implementation is delegated to a dynamically defined manager
class built by ``create_forward_many_to_many_manager()`` defined below.

class built by 

Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

docstring of pt_map.models.BookingRule.booking_rule_instructions

Calendar.get_next_by_end_date(*, field=<django.db.models.fields.DateField: end_date>, is_next=True, **kwargs)

(*, field=<django.db.models.fields.DateField: end_date>, is_next=True, **kwargs)

Calendar.get_next_by_start_date(*, field=<django.db.models.fields.DateField: start_date>, is_next=True, **kwargs)

(*, field=<django.db.models.fields.DateField: start_date>, is_next=True, **kwargs)

Calendar.get_previous_by_end_date(*, field=<django.db.models.fields.DateField: end_date>, is_next=False, **kwargs)

(*, field=<django.db.models.fields.DateField: end_date>, is_next=False, **kwargs)

Calendar.get_previous_by_start_date(*, field=<django.db.models.fields.DateField: start_date>, is_next=False, **kwargs)

(*, field=<django.db.models.fields.DateField: start_date>, is_next=False, **kwargs)

CalendarDate.get_next_by_date(*, field=<django.db.models.fields.DateField: date>, is_next=True, **kwargs)

(*, field=<django.db.models.fields.DateField: date>, is_next=True, **kwargs)

CalendarDate.get_previous_by_date(*, field=<django.db.models.fields.DateField: date>, is_next=False, **kwargs)

(*, field=<django.db.models.fields.DateField: date>, is_next=False, **kwargs)

docstring of pt_map.models.FareLegRule.fare_leg_rule_description

fare_transfer_rule_description (pt_map.models.FareTransferRule attribute)

docstring of pt_map.models.FareTransferRule.fare_transfer_rule_description

fare_transfer_rule_id (pt_map.models.FareTransferRule attribute)

docstring of pt_map.models.FareTransferRule.fare_transfer_rule_id

fare_transfer_rule_name (pt_map.models.FareTransferRule attribute)

docstring of pt_map.models.FareTransferRule.fare_transfer_rule_name

Timeframe.get_next_by_end_date(*, field=<django.db.models.fields.DateField: end_date>, is_next=True, **kwargs)

Timeframe.get_next_by_start_date(*, field=<django.db.models.fields.DateField: start_date>, is_next=True, **kwargs)

Timeframe.get_previous_by_end_date(*, field=<django.db.models.fields.DateField: end_date>, is_next=False, **kwargs)

Timeframe.get_previous_by_start_date(*, field=<django.db.models.fields.DateField: start_date>, is_next=False, **kwargs)

Redirecting HTTP requests destined for the app pt_map to the correct views

Views reacting to Http Requests by interfacing between backend and frontend.

dependencies (pt_map.migrations.0001_initial.Migration attribute)

[<CreateModel  name='Agency', fields=[('agency_id', <django.db.models.fields.IntegerField>), ('agency_name', <django.db.models.fields.CharField>), ('agency_url', <django.db.models.fields.URLField>), ('agency_phone', <django.db.models.fields.CharField>), ('agency_email', <django.db.models.fields.EmailField>), ('agency_fare_url', <django.db.models.fields.URLField>)]>, <CreateModel  name='Calendar', fields=[('service_id', <django.db.models.fields.CharField>), ('monday', <django.db.models.fields.BooleanField>), ('tuesday', <django.db.models.fields.BooleanField>), ('wednesday', <django.db.models.fields.BooleanField>), ('thursday', <django.db.models.fields.BooleanField>), ('friday', <django.db.models.fields.BooleanField>), ('saturday', <django.db.models.fields.BooleanField>), ('sunday', <django.db.models.fields.BooleanField>), ('start_date', <django.db.models.fields.DateField>), ('end_date', <django.db.models.fields.DateField>)]>, <CreateModel  name='FeedInfo', fields=[('feed_publisher_name', <django.db.models.fields.CharField>), ('feed_publisher_url', <django.db.models.fields.URLField>), ('feed_lang', <django.db.models.fields.CharField>), ('feed_start_date', <django.db.models.fields.DateField>), ('feed_end_date', <django.db.models.fields.DateField>), ('feed_version', <django.db.models.fields.CharField>), ('feed_id', <django.db.models.fields.CharField>)]>, <CreateModel  name='Shape', fields=[('id', <django.db.models.fields.BigAutoField>), ('shape_id', <django.db.models.fields.CharField>), ('shape_pt_lat', <django.db.models.fields.FloatField>), ('shape_pt_lon', <django.db.models.fields.FloatField>), ('shape_pt_sequence', <django.db.models.fields.IntegerField>), ('shape_dist_traveled', <django.db.models.fields.FloatField>)]>, <CreateModel  name='CalendarDate', fields=[('id', <django.db.models.fields.BigAutoField>), ('date', <django.db.models.fields.DateField>), ('exception_type', <django.db.models.fields.IntegerField>), ('service_id', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel  name='FareAttribute', fields=[('fare_id', <django.db.models.fields.CharField>), ('price', <django.db.models.fields.FloatField>), ('currency_type', <django.db.models.fields.CharField>), ('payment_method', <django.db.models.fields.IntegerField>), ('transfers', <django.db.models.fields.IntegerField>), ('transfer_duration', <django.db.models.fields.IntegerField>), ('agency', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel  name='Route', fields=[('route_id', <django.db.models.fields.CharField>), ('route_short_name', <django.db.models.fields.CharField>), ('route_long_name', <django.db.models.fields.CharField>), ('route_desc', <django.db.models.fields.TextField>), ('route_type', <django.db.models.fields.IntegerField>), ('route_url', <django.db.models.fields.URLField>), ('route_color', <django.db.models.fields.CharField>), ('route_text_color', <django.db.models.fields.CharField>), ('agency', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel  name='FareRule', fields=[('id', <django.db.models.fields.BigAutoField>), ('origin_id', <django.db.models.fields.CharField>), ('destination_id', <django.db.models.fields.CharField>), ('contains_id', <django.db.models.fields.CharField>), ('fare', <django.db.models.fields.related.ForeignKey>), ('route', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel  name='Stop', fields=[('stop_id', <django.db.models.fields.IntegerField>), ('stop_code', <django.db.models.fields.CharField>), ('stop_name', <django.db.models.fields.CharField>), ('tts_stop_name', <django.db.models.fields.CharField>), ('stop_desc', <django.db.models.fields.CharField>), ('stop_lat', <django.db.models.fields.IntegerField>), ('stop_lon', <django.db.models.fields.IntegerField>), ('zone_id', <django.db.models.fields.IntegerField>), ('stop_url', <django.db.models.fields.URLField>), ('location_type', <django.db.models.fields.IntegerField>), ('stop_timezone', <django.db.models.fields.CharField>), ('wheelchair_boarding', <django.db.models.fields.IntegerField>), ('level_id', <django.db.models.fields.CharField>), ('platform_code', <django.db.models.fields.CharField>), ('parent_station', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel  name='Transfer', fields=[('id', <django.db.models.fields.BigAutoField>), ('transfer_type', <django.db.models.fields.IntegerField>), ('min_transfer_time', <django.db.models.fields.IntegerField>), ('from_stop', <django.db.models.fields.related.ForeignKey>), ('to_stop', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel  name='Trip', fields=[('trip_id', <django.db.models.fields.CharField>), ('service_id', <django.db.models.fields.CharField>), ('trip_headsign', <django.db.models.fields.CharField>), ('trip_short_name', <django.db.models.fields.CharField>), ('direction_id', <django.db.models.fields.IntegerField>), ('block_id', <django.db.models.fields.CharField>), ('shape_id', <django.db.models.fields.CharField>), ('wheelchair_accessible', <django.db.models.fields.IntegerField>), ('bikes_allowed', <django.db.models.fields.IntegerField>), ('route', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel  name='StopTime', fields=[('id', <django.db.models.fields.BigAutoField>), ('arrival_time', <django.db.models.fields.TimeField>), ('departure_time', <django.db.models.fields.TimeField>), ('stop_sequence', <django.db.models.fields.IntegerField>), ('stop_headsign', <django.db.models.fields.CharField>), ('pickup_type', <django.db.models.fields.IntegerField>), ('drop_off_type', <django.db.models.fields.IntegerField>), ('shape_dist_traveled', <django.db.models.fields.FloatField>), ('timepoint', <django.db.models.fields.IntegerField>), ('stop', <django.db.models.fields.related.ForeignKey>), ('trip', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel  name='Frequency', fields=[('id', <django.db.models.fields.BigAutoField>), ('start_time', <django.db.models.fields.TimeField>), ('end_time', <django.db.models.fields.TimeField>), ('headway_secs', <django.db.models.fields.IntegerField>), ('exact_times', <django.db.models.fields.IntegerField>), ('trip', <django.db.models.fields.related.ForeignKey>)]>]

Migration (class in pt_map.migrations.0002_alter_calendardate_unique_together_and_more)

[<AlterUniqueTogether  name='calendardate', unique_together={('service_id', 'date')}>, <AlterUniqueTogether  name='shape', unique_together={('shape_id', 'shape_pt_sequence')}>, <AlterUniqueTogether  name='stoptime', unique_together={('trip', 'stop_sequence')}>, <AlterUniqueTogether  name='transfer', unique_together={('from_stop', 'to_stop')}>]

Migration (class in pt_map.migrations.0003_alter_calendar_service_id_and_more)

[<AlterField  model_name='calendar', name='service_id', field=<django.db.models.fields.IntegerField>>, <AlterField  model_name='fareattribute', name='fare_id', field=<django.db.models.fields.IntegerField>>, <AlterField  model_name='feedinfo', name='feed_id', field=<django.db.models.fields.IntegerField>>, <AlterField  model_name='route', name='route_id', field=<django.db.models.fields.IntegerField>>, <AlterField  model_name='trip', name='trip_id', field=<django.db.models.fields.IntegerField>>]

Migration (class in pt_map.migrations.0004_alter_agency_agency_id_alter_calendar_service_id_and_more)

[<AlterField  model_name='agency', name='agency_id', field=<django.db.models.fields.BigAutoField>>, <AlterField  model_name='calendar', name='service_id', field=<django.db.models.fields.BigAutoField>>, <AlterField  model_name='fareattribute', name='fare_id', field=<django.db.models.fields.BigAutoField>>, <AlterField  model_name='feedinfo', name='feed_id', field=<django.db.models.fields.BigAutoField>>, <AlterField  model_name='route', name='route_id', field=<django.db.models.fields.BigAutoField>>, <AlterField  model_name='stop', name='stop_id', field=<django.db.models.fields.BigAutoField>>, <AlterField  model_name='trip', name='trip_id', field=<django.db.models.fields.BigAutoField>>]

Migration (class in pt_map.migrations.0005_level_remove_stop_tts_stop_name_agency_agency_lang_and_more)

[<CreateModel  name='Level', fields=[('level_id', <django.db.models.fields.CharField>), ('level_index', <django.db.models.fields.FloatField>), ('level_name', <django.db.models.fields.CharField>)]>, <RemoveField  model_name='stop', name='tts_stop_name'>, <AddField  model_name='agency', name='agency_lang', field=<django.db.models.fields.CharField>>, <AddField  model_name='agency', name='agency_timezone', field=<django.db.models.fields.CharField>, preserve_default=False>, <AddField  model_name='feedinfo', name='default_lang', field=<django.db.models.fields.CharField>>, <AddField  model_name='feedinfo', name='feed_contact_email', field=<django.db.models.fields.EmailField>>, <AddField  model_name='feedinfo', name='feed_contact_url', field=<django.db.models.fields.URLField>>, <AddField  model_name='route', name='continuous_drop_off', field=<django.db.models.fields.IntegerField>>, <AddField  model_name='route', name='continuous_pickup', field=<django.db.models.fields.IntegerField>>, <AddField  model_name='route', name='route_sort_order', field=<django.db.models.fields.IntegerField>>, <AlterField  model_name='agency', name='agency_email', field=<django.db.models.fields.EmailField>>, <AlterField  model_name='agency', name='agency_fare_url', field=<django.db.models.fields.URLField>>, <AlterField  model_name='agency', name='agency_id', field=<django.db.models.fields.CharField>>, <AlterField  model_name='agency', name='agency_name', field=<django.db.models.fields.CharField>>, <AlterField  model_name='agency', name='agency_phone', field=<django.db.models.fields.CharField>>, <AlterField  model_name='calendar', name='service_id', field=<django.db.models.fields.CharField>>, <AlterField  model_name='calendardate', name='service_id', field=<django.db.models.fields.CharField>>, <AlterField  model_name='fareattribute', name='currency_type', field=<django.db.models.fields.CharField>>, <AlterField  model_name='fareattribute', name='fare_id', field=<django.db.models.fields.CharField>>, <AlterField  model_name='route', name='agency', field=<django.db.models.fields.related.ForeignKey>>, <AlterField  model_name='route', name='route_id', field=<django.db.models.fields.CharField>>, <AlterField  model_name='route', name='route_long_name', field=<django.db.models.fields.CharField>>, <AlterField  model_name='route', name='route_short_name', field=<django.db.models.fields.CharField>>, <AlterField  model_name='stop', name='platform_code', field=<django.db.models.fields.CharField>>, <AlterField  model_name='stop', name='stop_code', field=<django.db.models.fields.CharField>>, <AlterField  model_name='stop', name='stop_desc', field=<django.db.models.fields.TextField>>, <AlterField  model_name='stop', name='stop_id', field=<django.db.models.fields.CharField>>, <AlterField  model_name='stop', name='stop_lat', field=<django.db.models.fields.FloatField>>, <AlterField  model_name='stop', name='stop_lon', field=<django.db.models.fields.FloatField>>, <AlterField  model_name='stop', name='stop_name', field=<django.db.models.fields.CharField>>, <AlterField  model_name='stop', name='zone_id', field=<django.db.models.fields.CharField>>, <AlterField  model_name='stoptime', name='arrival_time', field=<django.db.models.fields.TimeField>>, <AlterField  model_name='stoptime', name='departure_time', field=<django.db.models.fields.TimeField>>, <AlterField  model_name='trip', name='trip_id', field=<django.db.models.fields.CharField>>, <CreateModel  name='Pathway', fields=[('pathway_id', <django.db.models.fields.CharField>), ('pathway_mode', <django.db.models.fields.IntegerField>), ('is_bidirectional', <django.db.models.fields.IntegerField>), ('length', <django.db.models.fields.FloatField>), ('traversal_time', <django.db.models.fields.IntegerField>), ('stair_count', <django.db.models.fields.IntegerField>), ('max_slope', <django.db.models.fields.FloatField>), ('min_width', <django.db.models.fields.FloatField>), ('signposted_as', <django.db.models.fields.CharField>), ('reversed_signposted_as', <django.db.models.fields.CharField>), ('from_stop', <django.db.models.fields.related.ForeignKey>), ('to_stop', <django.db.models.fields.related.ForeignKey>)]>]

Migration (class in pt_map.migrations.0006_alter_route_route_type)

dependencies (pt_map.migrations.0006_alter_route_route_type.Migration attribute)

operations (pt_map.migrations.0006_alter_route_route_type.Migration attribute)

[<AlterField  model_name='route', name='route_type', field=<django.db.models.fields.IntegerField>>]

Migration (class in pt_map.migrations.0007_location_translation_attribution_bookingrule)

[<CreateModel  name='Location', fields=[('location_id', <django.db.models.fields.CharField>), ('location_name', <django.db.models.fields.CharField>), ('location_lat', <django.db.models.fields.FloatField>), ('location_lon', <django.db.models.fields.FloatField>), ('location_type', <django.db.models.fields.CharField>), ('parent_location_id', <django.db.models.fields.CharField>), ('wheelchair_boarding', <django.db.models.fields.BooleanField>)]>, <CreateModel  name='Translation', fields=[('id', <django.db.models.fields.BigAutoField>), ('table_name', <django.db.models.fields.CharField>), ('field_name', <django.db.models.fields.CharField>), ('language', <django.db.models.fields.CharField>), ('translation', <django.db.models.fields.TextField>)]>, <CreateModel  name='Attribution', fields=[('attribution_id', <django.db.models.fields.CharField>), ('attribution_name', <django.db.models.fields.CharField>), ('attribution_url', <django.db.models.fields.URLField>), ('attribution_email', <django.db.models.fields.EmailField>), ('attribution_phone', <django.db.models.fields.CharField>), ('agency', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel  name='BookingRule', fields=[('booking_rule_id', <django.db.models.fields.CharField>), ('start_time', <django.db.models.fields.TimeField>), ('end_time', <django.db.models.fields.TimeField>), ('booking_type', <django.db.models.fields.CharField>), ('rule_criteria', <django.db.models.fields.TextField>), ('booking_rule_instructions', <django.db.models.fields.TextField>), ('trip', <django.db.models.fields.related.ForeignKey>)]>]

Migration (class in pt_map.migrations.0008_area_farelegrule_faremedia_fareproduct_and_more)

[<CreateModel  name='Area', fields=[('area_id', <django.db.models.fields.CharField>), ('area_name', <django.db.models.fields.CharField>), ('area_description', <django.db.models.fields.TextField>)]>, <CreateModel  name='FareLegRule', fields=[('fare_leg_rule_id', <django.db.models.fields.CharField>), ('fare_leg_rule_name', <django.db.models.fields.CharField>), ('fare_leg_rule_description', <django.db.models.fields.TextField>)]>, <CreateModel  name='FareMedia', fields=[('fare_media_id', <django.db.models.fields.CharField>), ('fare_media_name', <django.db.models.fields.CharField>), ('fare_media_description', <django.db.models.fields.TextField>)]>, <CreateModel  name='FareProduct', fields=[('fare_product_id', <django.db.models.fields.CharField>), ('fare_product_name', <django.db.models.fields.CharField>), ('fare_product_description', <django.db.models.fields.TextField>)]>, <CreateModel  name='FareTransferRule', fields=[('fare_transfer_rule_id', <django.db.models.fields.CharField>), ('fare_transfer_rule_name', <django.db.models.fields.CharField>), ('fare_transfer_rule_description', <django.db.models.fields.TextField>)]>, <CreateModel  name='LocationGroup', fields=[('location_group_id', <django.db.models.fields.CharField>), ('location_group_name', <django.db.models.fields.CharField>), ('location_group_type', <django.db.models.fields.CharField>)]>, <CreateModel  name='Network', fields=[('network_id', <django.db.models.fields.CharField>), ('network_name', <django.db.models.fields.CharField>)]>, <CreateModel  name='RouteNetwork', fields=[('route_network_id', <django.db.models.fields.CharField>), ('route_network_name', <django.db.models.fields.CharField>)]>, <CreateModel  name='StopArea', fields=[('stop_area_id', <django.db.models.fields.CharField>), ('stop_area_name', <django.db.models.fields.CharField>), ('stop_area_description', <django.db.models.fields.TextField>)]>, <CreateModel  name='TimeFrame', fields=[('time_frame_id', <django.db.models.fields.CharField>), ('start_date', <django.db.models.fields.DateField>), ('end_date', <django.db.models.fields.DateField>), ('start_time', <django.db.models.fields.TimeField>), ('end_time', <django.db.models.fields.TimeField>)]>, <CreateModel  name='LocationGroupStop', fields=[('id', <django.db.models.fields.BigAutoField>), ('location_group', <django.db.models.fields.related.ForeignKey>), ('stop', <django.db.models.fields.related.ForeignKey>)]>]

Migration (class in pt_map.migrations.0009_rename_faremedia_faremedium)

Migration (class in pt_map.migrations.0010_rename_location_locationgeojson)

[<RenameModel  old_name='Location', new_name='LocationGeojson'>]

Migration (class in pt_map.migrations.0011_rename_locationgeojson_locationsgeojson)

[<RenameModel  old_name='LocationGeojson', new_name='LocationsGeojson'>]

It exposes the ASGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/

https://docs.djangoproject.com/en/5.0/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/5.0/ref/settings/

It exposes the WSGI callable as a module-level variable named ``application``.

https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/