简体   繁体   中英

Atom Editor Django model autocomplete db model field types

I like using Atom for Django projects and most of the autocomplete is working as well as linting but ....

I would thing the the type of the model fields could be autocompleted for example:

name = models.***CharField***(max_length=256)
    age = models.***PositiveIntegerField***()
    school = models.***ForeignKey***(School, related_name='students')

is there a plugin that autocompletes these db filed types?

如果您正在使用虚拟环境,请在atom中导航至“程序包”>“ Virtualenv”,然后选择您正在使用的virtualenv项目的名称。

open terminal in your base directory activate your virtualenv then type atom .

enjoy !

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM