All Projects → zacharytamas → atom-django

zacharytamas / atom-django

Licence: other
Build Django apps faster with Atom.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to atom-django

atom-genesis-ui
Custom UI theme for Atom text editor (retired)
Stars: ✭ 34 (+17.24%)
Mutual labels:  atom
atom-tree-view-sort
Add a sorting feature for the Atom tree-view package.
Stars: ✭ 24 (-17.24%)
Mutual labels:  atom
intero.nvim
Haskell+Neovim lightning fast autocompletion and other IDE functionality
Stars: ✭ 80 (+175.86%)
Mutual labels:  ide-features
meta-extractor
Super simple and fast html page meta data extractor with low memory footprint
Stars: ✭ 38 (+31.03%)
Mutual labels:  atom
atom-linter-xo
Linter for XO
Stars: ✭ 90 (+210.34%)
Mutual labels:  atom
set-syntax
An Atom package that creates easy Command Palette commands for setting the syntax of the current file
Stars: ✭ 24 (-17.24%)
Mutual labels:  atom
Simple-Social-Network
Micro Social Network developed in PHP, MySQL, BOOTSTRAP 3 and VUE.JS 2
Stars: ✭ 18 (-37.93%)
Mutual labels:  atom
firewatch-syntax
A Firewatch inspired Atom red syntax theme
Stars: ✭ 48 (+65.52%)
Mutual labels:  atom
love-atom
Smart autocompletion for the LÖVE framework in Atom.
Stars: ✭ 34 (+17.24%)
Mutual labels:  atom
perfect-ubuntu
js dev setup, just for fun
Stars: ✭ 14 (-51.72%)
Mutual labels:  atom
Better-Less
Cross-compatible syntax highlighting for Less
Stars: ✭ 13 (-55.17%)
Mutual labels:  atom
keras-neural-graph-fingerprint
Keras implementation of Neural Graph Fingerprints as proposed by Duvenaud et al., 2015
Stars: ✭ 47 (+62.07%)
Mutual labels:  atom
atom-perl6-editor-tools
A collection of useful Perl 6 editor tools
Stars: ✭ 19 (-34.48%)
Mutual labels:  atom
atom-hg
Mercurial support for Atom text editor. Works on Linux, Mac OS X and Windows.
Stars: ✭ 27 (-6.9%)
Mutual labels:  atom
atom-ide-cpp
C/C++ language support for Atom-IDE
Stars: ✭ 34 (+17.24%)
Mutual labels:  atom
atom-open-this
Open file under cursor like `gf`(Vim), `C-x C-f`(Emacs)
Stars: ✭ 20 (-31.03%)
Mutual labels:  atom
xyz2graph
Convert an xyz file into a molecular graph and create a 3D visualisation of the graph.
Stars: ✭ 36 (+24.14%)
Mutual labels:  atom
atom-ts-transpiler
A transpiler for Atom packages that processes code with TypeScript
Stars: ✭ 14 (-51.72%)
Mutual labels:  atom
atom-zurb-foundation
Zurb Foundation 6 for sites snippets.
Stars: ✭ 31 (+6.9%)
Mutual labels:  atom
yolo-theme
Xcode Theme insipired from One Dark (Atom Theme) and Xcode Default Presentation(Dark) theme.
Stars: ✭ 24 (-17.24%)
Mutual labels:  atom

Django for Atom

Build Django apps faster with Atom.

Install

$ apm install atom-django

Or Settings ➔ Install ➔ Search for atom-django

Features

Snippets

This plugin features several snippets to help you write boilerplate code faster, mostly for writing out models' Fields. These snippets also have preset insertion points that let you tab between various parts of the snippet that you likely want to change. These are noted in the snippets below as $1, $2, and so on. Occasionally these have default values inside them such as ${1:default value}.

Basic model skeleton

model becomes:

class ${1:Modelname}(models.Model):
    """${2:($1 description)}"""
    $0
    def __unicode__(self):
        return u"$1"

AutoField

auto becomes:

${1:FIELDNAME} = models.AutoField()

BooleanField

boolean becomes:

${1:FIELDNAME} = models.BooleanField(${2:default=True})

CharField

char becomes:

${1:FIELDNAME} = models.CharField(${2:blank=True}, max_length=${3:100})

CommaSeparatedIntegerField

commaseparatedinteger becomes:

${1:FIELDNAME} = models.CommaSeparatedIntegerField(max_length=$2)

DateField

date becomes:

${1:FIELDNAME} = models.DateField(${2:default=datetime.datetime.today})

DateTimeField

datetime becomes:

${1:FIELDNAME} = models.DateTimeField(${2:blank=True}${3:, default=datetime.datetime.now})

DecimalField

decimal becomes:

${1:FIELDNAME} = models.DecimalField(max_digits=$2, decimal_places=$3)

EmailField

email becomes:

${1:FIELDNAME} = models.EmailField()

FileField

file becomes:

${1:FIELDNAME} = models.FileField(upload_to=${1:/path/for/upload})

FilePathField

filepath becomes:

${1:FIELDNAME} = models.FilePathField(path="${1:/location/of/choices}"${2:, match="${3:regex}"}${4:, recursive=True})

FloatField

float becomes:

${1:FIELDNAME} = models.FloatField()

ForeignKey

fk becomes:

${1:FIELDNAME} = models.ForeignKey(${2:RELATED_MODEL})

IPAddressField

ipaddress becomes:

${1:FIELDNAME} = models.IPAddressField(${2:blank=True})

ImageField

image becomes:

${1:FIELDNAME} = models.ImageField(upload_to="${2:/dir/path}"${3:, height_field=$4}${5:, width_field=$6})

IntegerField

integer becomes:

${1:FIELDNAME} = models.IntegerField(${2:blank=True, null=True})

ManyToManyField

manytomany becomes:

${1:FIELDNAME} = models.ManyToManyField(${2:RELATED_MODEL})

NullBooleanField

nullboolean becomes:

${1:FIELDNAME} = models.NullBooleanField(${2:default=True})

PhoneNumberField

phonenumber becomes:

${1:FIELDNAME} = models.PhoneNumberField(${2:blank=True})

PositiveIntegerField

positiveinteger becomes:

${1:FIELDNAME} = models.PositiveIntegerField(${2:blank=True, null=True})

PositiveSmallIntegerField

positivesmallinteger becomes:

${1:FIELDNAME} = models.PositiveSmallIntegerField(${2:blank=True, null=True})

SlugField

slug becomes:

${1:slug} = models.SlugField()

SmallIntegerField

smallinteger becomes:

${1:FIELDNAME} = models.SmallIntegerField(${2:blank=True, null=True})

TextField

text becomes:

${1:FIELDNAME} = models.TextField(${2:blank=True})

TimeField

time becomes:

${1:FIELDNAME} = models.TimeField(${2:blank=True})

URLField

url becomes:

${1:FIELDNAME} = models.URLField(${2:blank=True})

USStateField

usstate becomes:

${1:FIELDNAME} = models.USStateField(${2:blank=True})

XMLField

xml becomes:

${1:FIELDNAME} = models.XMLField(schema_path=${2:/path/to/RelaxNG}${3:, blank=True})

send_mail

sendmail becomes:

mail.send_mail("${1:Subject}", "${2:Message}", "${3:[email protected]}", ${4:["[email protected]"]}${5:, fail_silently=True})

Release Notes

0.3.1

0.1.0

  • Initial build of Django for Atom.
  • At the moment it is merely a clone of the superb Django TextMate bundle but new content may be added in the future.

License

MIT © Zachary Jones

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].