django-secrets icon indicating copy to clipboard operation
django-secrets copied to clipboard

Do not assume the current working directory is the directory containing manage.py

Open nitmir opened this issue 5 years ago • 5 comments

This allow calling manage.py from other location (for management commands) without any issues

nitmir avatar Jun 14 '19 08:06 nitmir

Oh my! I was fighting a lot with those unit tests to get it working with Python2 and 3 .. hope it does not scare you to fix this. Reloading code in both versions was a lil tricky :(

What Python version do you use? I might also consider dropping support for 2.x, but version 3 musst run fine.

kakulukia avatar Jun 14 '19 08:06 kakulukia

I use python 3.5 and indeed the ImportError -> writing the module -> Try to reimport the module do not work...

nitmir avatar Jun 14 '19 15:06 nitmir

Did you have time to look into that import problem?

kakulukia avatar Nov 19 '19 15:11 kakulukia

@nitmir i would cut loose the python2 implementation and if thats also cool for you, fixing that pr might be a lil easier. :)

kakulukia avatar Feb 14 '20 10:02 kakulukia

I will be removing this issue in the next days as there seems no real need anymore.

kakulukia avatar Jul 28 '22 11:07 kakulukia