Closed aliev closed 9 years ago
Hi Ali,
What is your output from the following on your vim command box?
:python import django_extensions
It's likely that the directory where django_extenstions exists in is not part of vim-pythons sys.path.
I have the following code in my .vimrc to check to see if the command line vim is launched from a virtualenv.
https://github.com/mjbrownie/dotfiles/blob/master/_vimrc#L319
but this would not work for gvim so I've left it up to the user to set up manually. Perhaps this is not a good idea. I'll have a look at alternatives.
On Thu, Dec 11, 2014 at 10:53 PM, Ali Aliyev notifications@github.com wrote:
I get the following error [image: error] https://camo.githubusercontent.com/26a89e4f85ce40443a7daa3b710ee4015154d1c9/68747470733a2f2f646c2e64726f70626f7875736572636f6e74656e742e636f6d2f752f353833373332342f6572722e706e67
i've set up env variable like this: export DJANGO_SETTINGS_MODULE='settings.base'
output for :python from django.conf import settings; print settings.INSTALLED_APPS command
Thanks!
— Reply to this email directly or view it on GitHub https://github.com/mjbrownie/vim-htmldjango_omnicomplete/issues/1.
wow, wonderful! thank you, works for me!
@mjbrownie i've made simple pull request: https://github.com/mjbrownie/vim-htmldjango_omnicomplete/pull/2
I get the following error
i've set up env variable like this: export DJANGO_SETTINGS_MODULE='settings.base'
output for :python from django.conf import settings; print settings.INSTALLED_APPS command
Thanks!