Commit Graph

157 Commits

Author SHA1 Message Date
Yuchen Xie
400fcc4030 Prevent collectfast from guessing a wrong strategy
If `COLLECTFAST_STRATEGY` is not provided in `settings`, `collectfast` has to guess a "strategy". For the case with AWS, it guesses `BotoStrategy` in stead of `S3Boto3Storage`, which is a wrong decision as we `pip install django-storages[boto3]` (`boto3` in favor of `boto`).

Setting `COLLECTFAST_STRATEGY` is also encouraged as `collectfast` is not going to guess the strategy in the future.

Ref:
* f37dd1faa2/collectfast/management/commands/collectstatic.py (L33)
* f37dd1faa2/collectfast/strategies/base.py (L170)
2019-10-22 10:42:32 +08:00
Bruno Alla
703e8509aa Fix broken link in list of contributors 2019-10-06 11:09:13 +01:00
Bruno Alla
6a9feea2fe
Support python 3.7 (#2240)
Support python 3.7
2019-10-06 11:06:03 +01:00
Bruno Alla
99ccd314d0
Add missing link 2019-10-04 14:48:02 +01:00
Caio Ariede
f3b46ec425 Add to CONTRIBUTORS 2019-10-02 10:12:31 -03:00
Nicolas Stefani
51bf90cdca add name to contributors 2019-09-29 22:17:06 -03:00
Bruno Alla
eac8ae626a
Fix broken link 2019-07-17 15:52:46 +01:00
step21
525739dcb5
Update CONTRIBUTORS.rst 2019-07-17 16:19:11 +02:00
Bruno Alla
28ddd76b25 Fix missing link in contributors list 2019-07-12 12:06:19 +01:00
Bruno Alla
2c3ce19f4b Add 2O4 to list of contributors 2019-07-12 11:52:32 +01:00
Dani Hodovic
87a8acbae2
Remove redundant template debug setting
> 'debug': a boolean that turns on/off template debug mode. If it is
> True, the fancy error page will display a detailed report for any
> exception raised during template rendering. This report contains the
> relevant snippet of the template with the appropriate line highlighted.

> It defaults to the value of the DEBUG setting.

https://docs.djangoproject.com/en/2.2/topics/templates/#module-django.template.backends.django

I could be wrong about this, but it seems like setting the template
DEBUG setting is redundant, since it should follow whatever the DEBUG
variable is set to.
2019-06-20 23:41:31 +08:00
Tim Claessens
fe49871dc8 Fix link 2019-06-19 14:24:46 +02:00
Tim Claessens
07f9256a8b Sorting the links 2019-06-19 14:24:31 +02:00
Tim Claessens
b1135ccb25 Sorting the names (firstname, lastname) 2019-06-19 14:23:51 +02:00
Tim Claessens
13868c42c8 Add name to contributors 2019-06-19 09:46:24 +02:00
Bruno Alla
f3b85708c3
Sort contributors list 2019-06-15 11:31:13 +01:00
Bruno Alla
69fa490364
Add minho42 to contributors 2019-06-14 23:18:20 +01:00
Xaver Y.R. Chen
ef59ffad94 Update Travis config, using new xenial distribution to support the newer version of SQLite to satisfy the requirement of Django 2.2 2019-06-05 20:21:37 +08:00
Keyvan Mosharraf
915848e279 Add name to CONTRIBUTORS.rst 2019-05-30 03:34:57 -07:00
Curtis St Pierre
4bf795a908 1989 - reworked postgres version options 2019-05-20 08:53:07 -07:00
Matt Knapper
98012829f3 storageFile is deprecated, use storage instead 2019-05-18 10:10:45 -04:00
Tano Abeleyra
dc55a3cdd4 Add missing link in CONTRIBUTORS (#2058) 2019-05-17 08:18:41 +08:00
Tano Abeleyra
6d0d33865c Add myself as contributor and sort the list 2019-05-15 20:11:04 -03:00
Craig Margieson
1646daa277 Added link in contributors. 2019-05-06 15:30:02 +09:30
Craig Margieson
964662742a Add to contributors. 2019-05-06 15:10:18 +09:30
Vlad
c041453bef Updated project-generation-options.rst to provide helpful links in case a user needs to decide between AWS s3 and GCS and added myself to contributors.rst 2019-04-14 12:07:37 -05:00
Jelmert
d8271fae21 Added myself to CONTRIBUTORS.rst 2019-04-02 15:47:18 +02:00
hanasuhail
b261ce27c4 update restructured text link; add condition for celery linter 2019-03-25 15:52:49 -04:00
Hana Quadara
015319ca3f add username to contributors 2019-03-23 00:26:13 -04:00
Bruno Alla
f1def67b6d Fix broken links in list of contributors 2019-03-20 12:12:32 +00:00
Bruno Alla
b0cb86f282
Merge pull request #1958 from rolep/kombu-update
Redis and Kombu update
2019-03-20 12:08:41 +00:00
Demetris
b312d516a4 Replace Caddy with Traefik (#1714)
## Description

Replace Caddy with Traefik

## Rationale

There is some trouble with the Caddy license (https://github.com/pydanny/cookiecutter-django/pull/1282#issuecomment-329617536) 

@drdaeman suggested using Traefik (https://github.com/pydanny/cookiecutter-django/pull/1282#issuecomment-353655273) which supports ACME and also plays very nice with Docker.

## Comments

I am currently using the proposed setup on a live site and it working great so far. If this PR is of interest to the maintainers, then I could commit more changes and take care of the documentation. Of course, any suggestions by the more experienced people around here, are welcome!
2019-03-19 09:32:45 +00:00
Oleg Russkin
8ab63940ec Contributors: Add Oleg Russkin 2019-03-12 16:49:24 +02:00
btknu
6e72169ffe Add missing script key to Travis CI config (#1950)
* Add failing test for travis.yml

I see three options to test travis.yml :

1. Testing that the YAML contains relevant value. Least useful and least
reliable, but simplest to implement.

2. Testing that the YAML is valid TravisCI YAML. Unfortunately this is
difficult / impossible. Doing 'travis lint' would succeed, this command
does not check for 'script' key presence and wouldn't be useful for us.

We could use 'travis-build' to verify that the YAML can be converted to
a worker config, but as of now 'travis-build' doesn't work out of the
box.

There is a new tool for validating travis YAML files 'travis-yml', but
as of now it's a ruby-only library and it's still a work in progress.

3. Running Travis CI task based on the generated YAML. This seems the
best approach, however since cookiecutter-django itself uses Travis CI,
that would require running Travis CI from within Travis CI.

Scheduling Travis CI job without a github push still requires a public
github repo, which is something that we can't generate on demand.

Given that I'm opting to use approach 1.

* Adds missing config to generated .travis.yml

The keys added are as follows:

1. 'script'

Required by Travis, cookiecutter-django used to provide it until it has
been removed together with hitch.

I'm assuming hitch has been replaced with pytest, I'm setting pytest as
the new value for the 'script' key.

2. 'install'

Not required by Travis, but necessary in our case; installs test
libraries, mostly pytest.

As of now this points to 'local.txt' requirements file. There used to be
a separate 'test.txt' requirements file but it has been decided to merge
it with 'local.txt', see discussion in
https://github.com/pydanny/cookiecutter-django/pull/1557 .

* Update CONTRIBUTORS.rst
2019-03-05 22:10:45 -03:00
keithjeb
aea5c807f6 Change eager celery setting in local Docker (#1945)
[//]: # (Thank you for helping us out: your efforts mean great deal to the project and the community as a whole!)

[//]: # (Before you proceed:)

[//]: # (1. Make sure to add yourself to `CONTRIBUTORS.rst` through this PR provided you're contributing here for the first time)
[//]: # (2. Don't forget to update the `docs/` presuming others would benefit from a concise description of whatever that you're proposing)


## Description

[//]: # (What's it you're proposing?)

Added a note around CELERY_TASK_ALWAYS_EAGER = True in docker config for local development. This causes tasks to be executed on the 'main' thread rather than by the workers. I understand why that might be desirable, but thought it worth calling out incase (like me) it makes people think something is broken.


## Rationale

[//]: # (Why does the project need that?)

Ease of use/troubleshooting


## Use case(s) / visualization(s)

[//]: # ("Better to see something once than to hear about it a thousand times.")
2019-03-02 13:51:30 +00:00
Anna Sidwell
17a9632031 Add my name to contributors 2019-02-23 18:57:42 +11:00
Anuj
e2a1189de1 Added to contributors.rst 2018-12-18 17:11:44 +05:30
Tubo Shi
d884f4540d added to contributor.rst 2018-11-30 18:23:07 +13:00
Bruno Alla
6e85ee4aa9
Merge pull request #1869 from Egregors/master
Pinning redis version to >=2.10.6, <3
2018-11-20 16:17:38 +00:00
Bruno Alla
5b60dd67d8
Merge pull request #1830 from cmackenzie1/patch-1
Remove requirements.txt file from delete list.
2018-11-19 18:59:16 +00:00
Vadim Iskuchekov
d1ee17afb9
Update CONTRIBUTORS.rst 2018-11-18 17:09:31 +01:00
canonnervio
197ab7f36e Modified command for Windows users (#1850)
* Modified command for Windows users

Added comment to use double quotes for heroku pg:backups setup under Windows.

* Added name to list
2018-11-17 09:59:38 +00:00
Peter Coles
4e39a9f8f0 strip dots in default project_slug (#1865)
This removes periods from the auto-generated project_slug (and also runs trim for good measure). Otherwise if you have a "." in your project name (e.g., you used a website domain name as your project name), you will encounter an error about it failing for a `project_slug.isidentifier()` check.

Update: changed "." to be replace with "_" instead of "", per request from @webyneter
2018-11-14 19:23:30 +00:00
Carl Johnson
65a506a945 Contributors: Add Carl Johnson 2018-11-12 15:09:04 -05:00
Leo Zhou
8217ea439b Config celery app immediately after the app being created, otherwise it is too late. 2018-11-12 17:59:26 +08:00
Davit Tovmasyan
6cb59c6ca4 Keep ipython history (#1836) 2018-10-24 13:37:15 +03:00
Jerome Leclanche
9d4566e52c Add Postgres 10.5 version support 2018-10-24 12:39:27 +03:00
Cole Mackenzie
00177b838f
Update CONTRIBUTORS.rst 2018-10-10 21:42:23 -06:00
Umair Ashraf
18ada469de added myself to contributors 2018-09-12 13:57:11 -04:00
Irfan
5427538dc7 Fix contributer github link 2018-09-01 11:55:31 +05:00