Re: Using directory locale with __init__.py

2020-09-02 Thread Adam Johnson
> > Do you think it's a good idea to use a directory locale with __init__.py? > No, because as you've found it masks the locale stdlib module. I prefer placing my entire django project within one package, this would allow you to have the locale directory as a submodule: myproject/ core/ mo

Using directory locale with __init__.py

2020-09-02 Thread אורי
Django developers, I had an exception because of using a directory locale with __init__.py, but I followed Django, which also uses a directory locale with __init__.py. It seems that there is a module *locale *in Python that can't be used with a local directory locale. https://stackoverflow.com/a/