-
Type object 'Meta' has no attribute' model'
(venv3_ETC) [root@iZwz9hbv3lrr68d8bo5dvpZ goods]-sharp python views.py Traceback (most recent call last): File "views.py ", line 5, in < module >
from .serializer import GoodsSerializer
ModuleNotFoundError: No module named _ main__.serializer ; ...
-
Unknown column 'snippets_snippet.owner_id' in' field list'
excuse me, I have a User serialization class. The model used in the class is set owner = models.ForeignKey ( auth.User , related_name= snippets ) in the User,Snippet model. Performing database migration does not report an error, but there is no such...
-
VIM edits files on a remote server
there are files on my remote remote_ip root test.txt I use the command
vim scp: root@remote_ip root test.txt Why can t I open this file? I have configured password-free login
...
-
How does vim paste code copied elsewhere?
I copied a piece of code on the web page and wanted to paste it into vim. when pasting for the first time, the first few characters of the copied content are always lost, and then the second paste is normal. What is the reason? below is < title > Hel...
-
Sudden failure and confusion of vim color matching
problem description: used to use vim has always been good, recently to a new place (new server) suddenly found that the color of some files are often broken, as above (from line 653 into the color of the comments). I can t find the solution, I can ...
-
How to write this vim statement
delete the contents of line 7 and paste the deleted content to the beginning of lines 1 to 3. ...
-
This htmlhint is too retarded.
htmlhint is installed
Files to be checked
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>< title>
<link rel="stylesheet" herf="" >
&...
-
Automatic completion of vim+emmet
when vim+emmet writes css files, bgc can be extended to background-color.
enter bgc in sublime text 3
my vim is configured with emmet+ultisnip,. If only I could pop up this completion window after entering bgc,.
excuse me, have you done anythin...
-
How to get the css color table quickly?
cat usr share vim vim80 syntax css.vim
the content of the file is huge, how to quickly get the color table definition? Color table: what each color represents
...
-
Can you display the abbreviated form?
when editing css files, bgc can be expanded to background-image:url (); if you can see the extension effect of bgc before entering ctrl+y+,. can I have background-image:url (); follow the bgc display? ...
-
MacOS system, about the function prompt function of vim using python's completion plug-in jedi
macOS system, vim uses python s completion plug-in jedi, but the function parameter prompt function of jedi is not available, but Ubuntu has code hints. What is the reason for the same .vimrc configuration?
this is the vim,jedi under Ubuntu with prom...
-
How to make the completion menu pop up automatically?
win7+gvim. has been installed
AutoComplPop neocomplcache.vim ultisnips vim-snippets
setting of _ gvimrc
filetype plugin indent on let mapleader= , let g:user_emmet_leader_key = , set spell chdir d:workspace
let gveUltiSnipsExpandTri...
-
It is found that a bug,vim in xshell is missing some of the contents of the file. Can anyone explain it?
Log in to centos7 with xshell when configuring the Nginx server recently. When configuring the etc nginx nginx.conf file. look at the picture first
vimvi()
is also complete and no upper part is lost. If you know anything, please let me know. T...
-
What's wrong with vim line dislocation?
Environment:
windows 10
terminal: cmd
nvim (v0.2.2)
spacevim (master)
as shown in the figure, file tree and edits, repeated lines appear when you move the content up and down with the cursor.
...
-
Vim 8.1.152 cannot copy text to the pasteboard using `V "* y`
< H2 > such as centos < H2 >
vim 8.1.152 cannot copy text to the pasteboard using V "* y
...
-
Principle and usage of vim help tag
problem description
vim in an environment where ctags is not installed, why you can still use jump in the help file to jump to the appropriate tag.
how do we use the tag function of vim without ctags
...
-
Does youcompeleteme report an error when it encounters a template prompt?
: member reference base type boost::property_tree:pree (aka int ) is not a structure or union )
boost::property_tree::ptree parser;
boost::property_tree::json_parser::read_json(" home jiangsheng git2 jsnanotrader setting.json", p...
-
Vim search
how do I use the lookup function of vim?
I found this kind of information
when using lookup, you can use n to move on to the next one.
but where to enter "n ".
isn t that a search for PKn?
Why don t you make it clear that pressing n ap...
-
Why is the serial number of the spacevim status bar used in neovim only half?
as shown in figure
by the way. How does neovim.qt copy content to the system clipboard? Or paste the contents of the system clipboard
...
-
Whether the mount folder on the domain name vmware by nginx can be realized.
attempted to mount the project under the www directory in windosw to mnt hgfs WWW in vm, and then added a virtual host through nginx, pointing the domain name to a project in mnt hgfs WWW, with various 403404503 errors .
some said that php-fpm did ...