Merge branch 'master' of github.com:pydanny/cookiecutter-django

This commit is contained in:
Arnav Choudhury 2020-09-11 14:57:23 +05:30
commit c1422fa4fc
20 changed files with 73 additions and 125 deletions

2
.github/FUNDING.yml vendored
View File

@ -1,6 +1,6 @@
# These are supported funding model platforms # These are supported funding model platforms
github: pydanny github: [pydanny, browniebroke]
patreon: roygreenfeld patreon: roygreenfeld
open_collective: # Replace with a single Open Collective username open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username ko_fi: # Replace with a single Ko-fi username

View File

@ -1 +0,0 @@
## [Make sure to follow one of the issue templates we've got](https://github.com/pydanny/cookiecutter-django/issues/new/choose), otherwise the issue might be closed immeditely

View File

@ -1,21 +1,33 @@
--- ---
name: Bug Report name: Bug Report
about: Report a bug about: Report a bug
title: '[bug]'
labels: bug
--- ---
## What happened? ## What happened?
## What should've happened instead? ## What should've happened instead?
## Additional details
<!-- To assist you best, please include commands that you've run, options you've selected and any relevant logs -->
* Host system configuration:
## Steps to reproduce * Version of cookiecutter CLI (get it with `cookiecutter --version`):
* OS:
[//]: # (Any or all of the following:) * Python version:
[//]: # (* Host system configuration: OS, Docker & friends' versions etc.) * Docker versions (if using Docker):
[//]: # (* Replay file https://cookiecutter.readthedocs.io/en/latest/advanced/replay.html) * ...
[//]: # (* Logs) * Options selected and/or [replay file](https://cookiecutter.readthedocs.io/en/latest/advanced/replay.html):
```
```
<summary>
Logs:
<details>
<pre>
$ cookiecutter https://github.com/pydanny/cookiecutter-django
project_name [Project Name]: ...
</pre>
</details>
</summary>

View File

@ -1,24 +1,14 @@
--- ---
name: New Feature Proposal name: New Feature Proposal
about: Propose a new feature about: Propose a new feature
title: '[feature request]'
labels: enhancement
--- ---
## Description ## Description
[//]: # (What's it you're proposing? How should it be implemented?) What are you proposing? How should it be implemented?
## Rationale ## Rationale
[//]: # (Why should this feature be implemented?) Why should this feature be implemented?
## Use case(s) / visualization(s)
[//]: # ("Better to see something once than to hear about it a thousand times.")

View File

@ -1,24 +0,0 @@
---
name: Improvement Suggestion
about: Let us know how we could improve
---
## Description
[//]: # (What's it you're proposing? How should it be implemented?)
## Rationale
[//]: # (Why should this feature be implemented?)
## Use case(s) / visualization(s)
[//]: # ("Better to see something once than to hear about it a thousand times.")

View File

@ -1,10 +1,16 @@
--- ---
name: Paid Support Request name: Paid Support Request
about: Ask Core Team members to help you out about: Ask Core Team members to help you out
title: ''
labels: ''
assignees: ''
--- ---
Provided your question goes beyound [regular support](https://github.com/pydanny/cookiecutter-django/issues/new?template=question.md), and/or the task at hand is of timely/high priority nature use the below information to reach out for contributors directly. Provided your question goes beyond [regular support](https://github.com/pydanny/cookiecutter-django/issues/new?template=question.md), and/or the task at hand is of timely/high priority nature use the below information to reach out for contributors directly.
* Daniel Roy Greenfeld, Project Lead ([GitHub](https://github.com/pydanny), [Patreon](https://www.patreon.com/danielroygreenfeld)): expertise in Django and AWS ELB. * Daniel Roy Greenfeld, Project Lead ([GitHub](https://github.com/pydanny), [Patreon](https://www.patreon.com/danielroygreenfeld)): expertise in Django and AWS ELB.
* Nikita Shupeyko, Core Developer ([GitHub](https://github.com/webyneter)): expertise in Python/Django, hands-on DevOps and frontend experience. * Nikita Shupeyko, Core Developer ([GitHub](https://github.com/webyneter)): expertise in Python/Django, hands-on DevOps and frontend experience.
* Bruno Alla, Core Developer ([GitHub](https://github.com/sponsors/browniebroke)).

View File

@ -1,6 +1,12 @@
--- ---
name: Question name: Question
about: Please, ask your question on StackOverflow or Gitter about: Please consider asking your question on StackOverflow or Slack
title: '[question]'
labels: question
--- ---
First, make sure to examine [the docs](https://cookiecutter-django.readthedocs.io/en/latest/). If that doesn't help post a question on [StackOverflow](https://stackoverflow.com/questions/tagged/cookiecutter-django) tagged with `cookiecutter-django`. Finally, feel free to join [Gitter](https://gitter.im/pydanny/cookiecutter-django) and ask around. First, make sure to examine [the docs](https://cookiecutter-django.readthedocs.io/en/latest/).
If that doesn't help, post a question on [StackOverflow](https://stackoverflow.com/questions/tagged/cookiecutter-django) tagged with `cookiecutter-django`, you might get more visibility there than on our issue tracker.
Finally, feel free to join [Slack](https://join.slack.com/t/cookie-cutter/shared_invite/enQtNzI0Mzg5NjE5Nzk5LTRlYWI2YTZhYmQ4YmU1Y2Q2NmE1ZjkwOGM0NDQyNTIwY2M4ZTgyNDVkNjMxMDdhZGI5ZGE5YmJjM2M3ODJlY2U) and ask around.

View File

@ -1,28 +0,0 @@
---
name: Regression Report
about: Let us know if something that'd been working has broke
---
## What happened before?
## What happens now?
## Last stable commit / Since when?
## Steps to reproduce
[//]: # (Any or all of the following:)
[//]: # (* Host system configuration: OS, Docker & friends' versions etc.)
[//]: # (* Project generation options)
[//]: # (* Logs)

View File

@ -1,23 +1,18 @@
[//]: # (Thank you for helping us out: your efforts mean great deal to the project and the community as a whole!) <!-- Thank you for helping us out: your efforts mean a great deal to the project and the community as a whole! -->
[//]: # (Before you proceed:)
[//]: # (- Don't forget to update the `docs/` presuming others would benefit from a concise description of whatever that you're proposing)
[//]: # (- If you're adding a new option, please make sure that tests/test_cookiecutter_generation.py is updated accordingly)
## Description ## Description
[//]: # (What's it you're proposing?) <!-- What's it you're proposing? -->
Checklist:
- [ ] I've made sure that `tests/test_cookiecutter_generation.py` is updated accordingly (especially if adding or updating a template option)
- [ ] I've updated the documentation or confirm that my change doesn't require any updates
## Rationale ## Rationale
[//]: # (Why does the project need that?) <!--
Why does this project need the change you're proposing?
If this pull request fixes an open issue, don't forget to link it with `Fix #NNNN`
## Use case(s) / visualization(s) -->
[//]: # ("Better to see something once than to hear about it a thousand times.")

10
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,10 @@
# Config for Dependabot updates. See Documentation here:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
# Update Github actions in workflows
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v2.1.1 - uses: actions/setup-python@v2.1.2
with: with:
python-version: 3.8 python-version: 3.8

View File

@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2.1.2
with: with:
python-version: "3.8" python-version: "3.8"
- name: Install dependencies - name: Install dependencies

View File

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2.1.2
with: with:
python-version: "3.8" python-version: "3.8"
- name: Install dependencies - name: Install dependencies

10
.gitignore vendored
View File

@ -208,16 +208,6 @@ Session.vim
tags tags
### VirtualEnv template
# Virtualenv
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
[Ii]nclude
[Ll]ib
[Ll]ib64
pyvenv.cfg
pip-selfcheck.json
# Even though the project might be opened and edited # Even though the project might be opened and edited
# in any of the JetBrains IDEs, it makes no sence whatsoever # in any of the JetBrains IDEs, it makes no sence whatsoever
# to 'run' anything within it since any particular cookiecutter # to 'run' anything within it since any particular cookiecutter

View File

@ -3,6 +3,11 @@ All enhancements and patches to Cookiecutter Django will be documented in this f
<!-- GENERATOR_PLACEHOLDER --> <!-- GENERATOR_PLACEHOLDER -->
## [2020-09-09]
### Changed
- Update actions/setup-python requirement to v2.1.2 ([#2804](https://api.github.com/repos/pydanny/cookiecutter-django/pulls/2804))
- Clean up nested venv files from `.gitignore` ([#2800](https://api.github.com/repos/pydanny/cookiecutter-django/pulls/2800))
## [2020-09-08] ## [2020-09-08]
### Changed ### Changed
- Traeffik and Django dockerfile changes ([#2801](https://api.github.com/repos/pydanny/cookiecutter-django/pulls/2801)) - Traeffik and Django dockerfile changes ([#2801](https://api.github.com/repos/pydanny/cookiecutter-django/pulls/2801))

View File

@ -59,6 +59,5 @@
"Gitlab" "Gitlab"
], ],
"keep_local_envs_in_vcs": "y", "keep_local_envs_in_vcs": "y",
"debug": "n" "debug": "n"
} }

View File

@ -5,7 +5,7 @@ binaryornot==0.4.4
# Code quality # Code quality
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
black==20.8b1 black==20.8b1
isort==5.5.1 isort==5.5.2
flake8==3.8.3 flake8==3.8.3
flake8-isort==4.0.0 flake8-isort==4.0.0

View File

@ -321,18 +321,6 @@ Session.vim
# Auto-generated tag files # Auto-generated tag files
tags tags
{% if cookiecutter.use_docker == 'n' %}
### VirtualEnv template
# Virtualenv
[Ii]nclude
[Ll]ib
[Ll]ib64
[Ss]cripts
pyvenv.cfg
pip-selfcheck.json
.env
{% endif %}
### Project template ### Project template
{% if cookiecutter.use_mailhog == 'y' and cookiecutter.use_docker == 'n' %} {% if cookiecutter.use_mailhog == 'y' and cookiecutter.use_docker == 'n' %}

View File

@ -16,7 +16,7 @@ repos:
- id: black - id: black
- repo: https://github.com/timothycrosley/isort - repo: https://github.com/timothycrosley/isort
rev: 5.5.1 rev: 5.5.2
hooks: hooks:
- id: isort - id: isort

View File

@ -8,7 +8,7 @@ psycopg2==2.8.6 # https://github.com/psycopg/psycopg2
Collectfast==2.2.0 # https://github.com/antonagestam/collectfast Collectfast==2.2.0 # https://github.com/antonagestam/collectfast
{%- endif %} {%- endif %}
{%- if cookiecutter.use_sentry == "y" %} {%- if cookiecutter.use_sentry == "y" %}
sentry-sdk==0.17.3 # https://github.com/getsentry/sentry-python sentry-sdk==0.17.4 # https://github.com/getsentry/sentry-python
{%- endif %} {%- endif %}
{%- if cookiecutter.use_docker == "n" and cookiecutter.windows == "y" %} {%- if cookiecutter.use_docker == "n" and cookiecutter.windows == "y" %}
hiredis==1.1.0 # https://github.com/redis/hiredis-py hiredis==1.1.0 # https://github.com/redis/hiredis-py