How to add django modules to pydiction dictionary?

Posted by speck on Stack Overflow See other posts from Stack Overflow or by speck
Published on 2010-01-17T14:47:11Z Indexed on 2010/04/30 12:37 UTC
Read the original article Hit count: 295

Filed under:
|
|

I'm trying to use pydiction to autocomplete Python/Django statements in VIM Editor.

When I try to add django modules to complete-dic using this:

python pydiction.py /usr/lib/pymodules/python2.6/django

or:

python pydiction.py /usr/lib/pymodules/python2.6/django/__init__.py

I receive this error:

Couldn't import: (...). Import by filename is not supported.

Thanks!

Pydiction: http://www.vim.org/scripts/script.php?script_id=850

© Stack Overflow or respective owner

Related posts about python

Related posts about vim