I have written a function to check if a username exists in AD and then create a new user if not. It works in isolation (in the django shell), but as soon as I try to import it into views.py, i begin to get a coinitialize error and the server wont run
(-2147221008, 'CoInitialize has not been called.', None, None)
The error comes about from the import lines, not from anything specific to my functions
Hello!
I have written a function to check if a username exists in AD and then create a new user if not. It works in isolation (in the django shell), but as soon as I try to import it into views.py, i begin to get a coinitialize error and the server wont run
(-2147221008, 'CoInitialize has not been called.', None, None)
The error comes about from the import lines, not from anything specific to my functions