Hello all i'm work now with third party django library for python. There are happens one strange moment concern pythoncomplete from the vim73 box which i try to understand. when i want to use pythoncomplete for django modules, inside vim, i must add some project variables:
i do following : python import sys,os python sys.path.append('D:/workspace/django/create_web_app_with_py') python os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' then, i open file with some django code and press after models <C-X><C- O> #-------- ... from django.db import models models.<C-X><C-O> #worked fine! ... ... #------- In this case, omnifunction work perfect. But, after restart of vim, if i would like to do the same, but little bit in differ manner, it's not work. 1) open file with django code 2) after 'models.' block push <C-X><C-O> # variables not set, autocomplete not work, it's ok! 3) set python variables 4) do step 2), # autocomplete not work! :( could somebody explain what's happens? -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php