geosolutions-it / smb-portal

SaveMyByke portal
https://waffle.io/geosolutions-it/smb-portal
1 stars 3 forks source link

Segments test data #128

Closed ricardogsilva closed 6 years ago

ricardogsilva commented 6 years ago

This PR adds a management command to create some test data for segments.

The main purpose of this new command is to provide some data for testing/implementing the aggregation queries requested for #123.

Get this new data into the DB by running:

python manage.py populatesegments

This command works OK with the test data already present in tests/data/tracks.gpx and that is imported with python manage.py populatetracks.

connected with #123