Commit Graph

8 Commits

Author SHA256 Message Date
Johannes Randerath
f5b329bc17 API: Retrieve data
Now able to retrieve model data for any number of models, identified by
their primary keys, represented as JSON, using GET /data?<primary_key>=<value>.
2024-06-19 22:12:20 +02:00
Johannes Randerath
26b08b72dd Added view to get models by pk 2024-06-17 14:26:23 +02:00
Johannes Randerath
9f7c360096 Refactored 2024-06-11 22:16:45 +02:00
Johannes Randerath
a310152c4f Passing stops and routes to index 2024-06-11 17:20:25 +02:00
Johannes Randerath
4028f63624 Added actual foreign key support and made primary keys (kind of) unique 2024-06-10 16:33:57 +02:00
Johannes Randerath
c22049f499 Added documentation
- Using sphinx to documente the project
- Autodocumenting Python using numpy-style docstr and sphinx autodoc with napoleon
2024-06-03 20:29:28 +02:00
Johannes Randerath
71f8e765c3 Added export function to create GTFS files from a list of QuerySets 2024-06-03 00:54:48 +02:00
Johannes Randerath
af5a2c862d Backend changes and sql convenience
- Added sql files to create and drop db and to feed example data.
- Added bridge to import (and later export) data from a gtfs.GTFS object
  to the database.
- Updated models and migrations to implement the whole GTFS reference.
2024-06-02 20:58:39 +02:00