Skip to content
This repository has been archived by the owner on May 2, 2020. It is now read-only.

un-hardcode color list #6

Closed
thraxil opened this issue Apr 25, 2015 · 0 comments
Closed

un-hardcode color list #6

thraxil opened this issue Apr 25, 2015 · 0 comments
Milestone

Comments

@thraxil
Copy link
Owner

thraxil commented Apr 25, 2015

here: https://github.com/thraxil/countryx/blob/master/countryx/sim/models.py#L70 there's a hard-coded list of colors for the states to be assigned to for display. That's bad. Worse is that the state assignment is based on the id of each state as automatically generated by the database.

@thraxil thraxil added this to the STR1 milestone Apr 25, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant