eregs / regulations-core

An engine that supplies the API that allows users to read regulations and their various layers.
Creative Commons Zero v1.0 Universal
16 stars 27 forks source link

Allow environment config for ALLOWED_HOSTS. #77

Closed cmc333333 closed 6 years ago

cmc333333 commented 6 years ago

Without this configuration, Django will only respond to localhost. That's a problem when ran inside Docker.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.004%) to 92.982% when pulling 05a8481f5ac58311a15d5b95b8fd4c5813916fd9 on allow-hosts into 22ac6ee34dd7e3f6d53195f86db6ea656305a19f on master.

cmc333333 commented 6 years ago

Thanks @tadhg-ohiggins !