{"id":23310243,"url":"https://github.com/zacharytamas/atom-django","last_synced_at":"2025-08-22T11:32:19.828Z","repository":{"id":14781270,"uuid":"17503092","full_name":"zacharytamas/atom-django","owner":"zacharytamas","description":"Build Django apps faster with Atom.","archived":false,"fork":false,"pushed_at":"2021-09-04T08:49:54.000Z","size":21,"stargazers_count":29,"open_issues_count":11,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-11T21:33:51.354Z","etag":null,"topics":["atom","coffeescript","django","ide-features","tools"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zacharytamas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-07T04:47:06.000Z","updated_at":"2021-04-26T20:13:29.000Z","dependencies_parsed_at":"2022-09-07T04:00:56.853Z","dependency_job_id":null,"html_url":"https://github.com/zacharytamas/atom-django","commit_stats":null,"previous_names":[],"tags_count":7,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacharytamas%2Fatom-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacharytamas%2Fatom-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacharytamas%2Fatom-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacharytamas%2Fatom-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zacharytamas","download_url":"https://codeload.github.com/zacharytamas/atom-django/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230589686,"owners_count":18249778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atom","coffeescript","django","ide-features","tools"],"created_at":"2024-12-20T13:17:00.554Z","updated_at":"2024-12-20T13:17:01.240Z","avatar_url":"https://github.com/zacharytamas.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django for Atom\n\n\u003e Build Django apps faster with Atom.\n\n## Install\n\n```bash\n$ apm install atom-django\n```\n\nOr Settings ➔ Install ➔ Search for `atom-django`\n\n## Features\n\n### Snippets\n\nThis 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}`.\n\n#### Basic model skeleton\n\n`model` becomes:\n\n    class ${1:Modelname}(models.Model):\n        \"\"\"${2:($1 description)}\"\"\"\n        $0\n        def __unicode__(self):\n            return u\"$1\"\n\n#### `AutoField`\n\n`auto` becomes:\n\n  `${1:FIELDNAME} = models.AutoField()`\n\n#### `BooleanField`\n\n`boolean` becomes:\n\n  `${1:FIELDNAME} = models.BooleanField(${2:default=True})`\n\n#### `CharField`\n\n`char` becomes:\n\n  `${1:FIELDNAME} = models.CharField(${2:blank=True}, max_length=${3:100})`\n\n#### `CommaSeparatedIntegerField`\n\n`commaseparatedinteger` becomes:\n\n  `${1:FIELDNAME} = models.CommaSeparatedIntegerField(max_length=$2)`\n\n#### `DateField`\n\n`date` becomes:\n\n  `${1:FIELDNAME} = models.DateField(${2:default=datetime.datetime.today})`\n\n#### `DateTimeField`\n\n`datetime` becomes:\n\n  `${1:FIELDNAME} = models.DateTimeField(${2:blank=True}${3:, default=datetime.datetime.now})`\n\n#### `DecimalField`\n\n`decimal` becomes:\n\n  `${1:FIELDNAME} = models.DecimalField(max_digits=$2, decimal_places=$3)`\n\n#### `EmailField`\n\n`email` becomes:\n\n  `${1:FIELDNAME} = models.EmailField()`\n\n#### `FileField`\n\n`file` becomes:\n\n  `${1:FIELDNAME} = models.FileField(upload_to=${1:/path/for/upload})`\n\n#### `FilePathField`\n\n`filepath` becomes:\n\n  `${1:FIELDNAME} = models.FilePathField(path=\"${1:/location/of/choices}\"${2:, match=\"${3:regex}\"}${4:, recursive=True})`\n\n#### `FloatField`\n\n`float` becomes:\n\n  `${1:FIELDNAME} = models.FloatField()`\n\n#### `ForeignKey`\n\n`fk` becomes:\n\n  `${1:FIELDNAME} = models.ForeignKey(${2:RELATED_MODEL})`\n\n#### `IPAddressField`\n\n`ipaddress` becomes:\n\n  `${1:FIELDNAME} = models.IPAddressField(${2:blank=True})`\n\n#### `ImageField`\n\n`image` becomes:\n\n  `${1:FIELDNAME} = models.ImageField(upload_to=\"${2:/dir/path}\"${3:, height_field=$4}${5:, width_field=$6})`\n\n#### `IntegerField`\n\n`integer` becomes:\n\n  `${1:FIELDNAME} = models.IntegerField(${2:blank=True, null=True})`\n\n#### `ManyToManyField`\n\n`manytomany` becomes:\n\n  `${1:FIELDNAME} = models.ManyToManyField(${2:RELATED_MODEL})`\n\n#### `NullBooleanField`\n\n`nullboolean` becomes:\n\n  `${1:FIELDNAME} = models.NullBooleanField(${2:default=True})`\n\n#### `PhoneNumberField`\n\n`phonenumber` becomes:\n\n  `${1:FIELDNAME} = models.PhoneNumberField(${2:blank=True})`\n\n#### `PositiveIntegerField`\n\n`positiveinteger` becomes:\n\n  `${1:FIELDNAME} = models.PositiveIntegerField(${2:blank=True, null=True})`\n\n#### `PositiveSmallIntegerField`\n\n`positivesmallinteger` becomes:\n\n  `${1:FIELDNAME} = models.PositiveSmallIntegerField(${2:blank=True, null=True})`\n\n#### `SlugField`\n\n`slug` becomes:\n\n  `${1:slug} = models.SlugField()`\n\n#### `SmallIntegerField`\n\n`smallinteger` becomes:\n\n  `${1:FIELDNAME} = models.SmallIntegerField(${2:blank=True, null=True})`\n\n#### `TextField`\n\n`text` becomes:\n\n  `${1:FIELDNAME} = models.TextField(${2:blank=True})`\n\n#### `TimeField`\n\n`time` becomes:\n\n  `${1:FIELDNAME} = models.TimeField(${2:blank=True})`\n\n#### `URLField`\n\n`url` becomes:\n\n  `${1:FIELDNAME} = models.URLField(${2:blank=True})`\n\n#### `USStateField`\n\n`usstate` becomes:\n\n  `${1:FIELDNAME} = models.USStateField(${2:blank=True})`\n\n#### `XMLField`\n\n`xml` becomes:\n\n  `${1:FIELDNAME} = models.XMLField(schema_path=${2:/path/to/RelaxNG}${3:, blank=True})`\n\n#### `send_mail`\n\n`sendmail` becomes:\n\n    mail.send_mail(\"${1:Subject}\", \"${2:Message}\", \"${3:from@example.com}\", ${4:[\"to@example.com\"]}${5:, fail_silently=True})\n\n## Release Notes\n\n### 0.3.1\n\n* Fix a [syntax highlighting bug](https://github.com/zacharytamas/atom-django/issues/9).\n\n### 0.1.0\n\n* Initial build of Django for Atom.\n* At the moment it is merely a clone of the superb [Django TextMate bundle](https://github.com/textmate/python-django.tmbundle) but new content may be added in the future.\n\n## License\n\nMIT © [Zachary Jones](http://github.com/zacharytamas)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacharytamas%2Fatom-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzacharytamas%2Fatom-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacharytamas%2Fatom-django/lists"}