我刚刚安装了MacO Mojave ......当我打开Visual Studio Code时......惊喜!文字有点暗淡,对比度较低,特别是在外部显示器上.结果是代码难以阅读.它似乎与模式有关,但不是!它在光明和黑暗模式下都会发生.
有没有人找到解决这个问题的方法?
我一直在关注民意调查教程,直到我应该有一个管理员后端的登录页面.http://docs.djangoproject.com/en/dev/intro/tutorial02/
相反,我得到这样的欢迎页面:
我在INSTALLED_APPS中启用了管理员应用程序,同步数据库并调整了urls.py所以我不确定问题是什么.
用mod_wsgi运行apache2.
urls.py:来自django.conf.urls.defaults import*
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Example:
# (r'^testproject/', include('testproject.foo.urls')),
# Uncomment the admin/doc line below to enable admin documentation:
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
)
Run Code Online (Sandbox Code Playgroud)
Settings.py:
...
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
# Uncomment the next line to enable the admin:
'django.contrib.admin',
# Uncomment the next line to …
Run Code Online (Sandbox Code Playgroud) 我已经安装了bling / vim-airline,希望我的状态栏中可以有一个很酷的分支名称。
我按照航空公司回购中的说明进行操作,并安装了tpope / vim-fugitive。但是在下载,安装,修改并重新启动vim之后,我只是无法在状态栏上找到该分支。相反,我有这个:
我怀疑.vimrc
文件有问题吗?
这是与航空公司有关的部分:
set ttimeoutlen=50
let g:airline_theme = 'powerlineish'
let g:airline#extensions#hunks#enabled=0
let g:airline#extensions#branch#enabled=1
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
let g:airline_symbols.space = "\ua0"
Run Code Online (Sandbox Code Playgroud)
PS我是vim的新手,任何建议将不胜感激,谢谢!
我们可以像这样加载一个本地模块
{
path: 'somePpath',
loadChildren: 'app/path/some.module#SomeModule'
},
Run Code Online (Sandbox Code Playgroud)
我们如何延迟加载来自外部库的模块,该模块驻留在node_modules中?
angular ×1
atom-editor ×1
django ×1
electron ×1
macos-mojave ×1
mod-wsgi ×1
python ×1
vim ×1
vim-airline ×1
vim-fugitive ×1
vim-plugin ×1