1 Star 0 Fork 3

宿叶露/Django-Projects

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2392

Author: Gregor Müllegger <[email protected]>
Version: 0.1.0

Description:
  Use the script to run simple django specific tasks. You can run management
  commands from in vim.

Usage:
  When you have specified all your django projects you can now tell the script
  that you want now to work with one of them. Let's expect you want to work
  with your 'fancyblog' project.
  
  At first you have to initalize this project:
    :DjangoInit fancyblog

  Now you can use all the cool commands to work with your project. Use
  `:DjangoManage <command>` to execute a command with your manage.py file.

    :DjangoManage syncdb

  Use the `:DjangoTerminalManage <command>` command to execute a manage.py
  command in an external terminal to free the vim command line for new
  commands. This can be used to run django's development server from within
  vim.

Configuration:
  There are a few global variables you can change to fit the script your
  preferences:

  g:django_terminal_program
    Set this variable to a terminal programm which shall execute the commands
    in :DjangoTerminalManage. Default is 'xterm -e'.

Shortcuts:
  There are already shortcuts for every builtin command to prevent you from
  performing too many keystrokes:

    :DjangoAdminindex
    :DjangoCleanup
    :DjangoCompileMessages
    :DjangoCreateCachetable
    :DjangoCreateSuperuser
    :DjangoDBShell
    :DjangoDiffsettings
    :DjangoDumpdata
    :DjangoFlush
    :DjangoHelp command
    :DjangoInspectDB
    :DjangoLoaddata
    :DjangoMakeMessages
    :DjangoReset appname
    :DjangoRunfcgi
    :DjangoRunserver
    :DjangoShell
    :DjangoSql
    :DjangoSqlall
    :DjangoSqlclear
    :DjangoSqlcustom
    :DjangoSqlflush
    :DjangoSqlindexes
    :DjangoSqlinitialdata
    :DjangoSqlreset
    :DjangoSqlsequencereset
    :DjangoStartapp newappname
    :DjangoSyncdb
    :DjangoTest [appnames]
    :DjangoTestserver
    :DjangoValidate

  You can also use the commands from the django-commands-extension app if you
  have installed it.

    :DjangoCreateapp
    :DjangoCreatecommand
    :DjangoCreatejobs
    :DjangoDescribeform
    :DjangoDumpscript
    :DjangoExportemails
    :DjangoGenerateSecretKey
    :DjangoGraphmodels
    :DjangoPasswd
    :DjangoPrintUserForSession
    :DjangoResetDB
    :DjangoRunjob
    :DjangoRunjobs
    :DjangoRunprofile
    :DjangoRunscript
    :DjangoRunserverPlus
    :DjangoSetfakepasswords
    :DjangoShellPlus
    :DjangoShowurls
    :DjangoSqldiff

空文件

简介

暂无描述 展开 收起
Vim Script
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/suyelu/Django-Projects.git
[email protected]:suyelu/Django-Projects.git
suyelu
Django-Projects
Django-Projects
master

搜索帮助