kamilkijak / django-smoke-tests

Auto-generated smoke tests for a Django project :fire:
MIT License
18 stars 6 forks source link

fix for Django settings without LANGUAGE_CODE #11

Open zvolsky opened 5 years ago

zvolsky commented 5 years ago

We have a system where

LANGUAGE_CODE = 'cs'

is commented out, LANGUAGES are ('cs', 'en').

It run with LANGUAGE_CODE = 'en-us'. This is problem of Django ('en-us' is not proper code for LANGUAGES) and not of django-smoke-tests. However if do you agree we could fix this in that way (to prevent en-us/.. urls and use better /.. urls).