doc/dev: Fix Django related errors with auto-documentation
Closes: #2405.
-
When Django module is mocked, there are some cases where modules using django can't be imported due to errors.
-
To fix that, don't mock the django module and require django and related Debian packages to be installed on the system generate developer documentation.
-
Initialize django in Sphinx configuration to allow django modules to be imported without errors.
Signed-off-by: Sunil Mohan Adapa sunil@medhas.org