Skip to content

Instantly share code, notes, and snippets.

@dapicester
Last active August 7, 2017 07:40
Show Gist options
  • Save dapicester/4a8dd8137c836c5679425fa0964a5448 to your computer and use it in GitHub Desktop.
Save dapicester/4a8dd8137c836c5679425fa0964a5448 to your computer and use it in GitHub Desktop.
Projections for Django projects
{
"*/apps.py": {
"type": "app"
},
"*/urls.py": {
"type": "urls"
},
"*/utils.py": {
"type": "utils",
"alternate": "{}/tests/test_utils.py"
},
"*/tests.py": {
"type": "tests"
},
"**/tests/test_*.py": {
"type": "test",
"alternate": "{}.py"
},
"*/views.py": {
"type": "views"
},
"*/models.py": {
"type": "models",
"alternate": "{}/tests/test_models.py"
},
"*/managers.py": {
"type": "managers",
"alternate": "{}/tests/test_managers.py"
},
"**/migrations/*.py": {
"type": "migration"
},
"**/management/commands/*.py": {
"type": "command"
},
"*/admin.py": {
"type": "admin"
},
"*/templates/**/*.html": {
"type": "template"
},
"**/templatetags/*.py": {
"type": "tags"
},
"**/settings/*.py": {
"type": "settings"
},
"*/serializers.py": {
"type": "serializers",
"alternate": "{}/tests/test_serializers.py"
},
"*/tests/factories.py": {
"type": "factories"
},
"webpack/*.config.babel.js": {
"type": "webpack"
},
"**/bundles/components/*.js": {
"type": "component"
},
"**/bundles/containers/*.js": {
"type": "container"
},
"requirements.txt": { "type": "lib" },
"bower.json": { "type": "bower" },
"package.js": { "type": "npm" },
"README.md": { "type": "doc" }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment