Commit graph

435 commits

Author SHA1 Message Date
Brian Helba
6c2ea44352
Merge pull request #303 from jazzband/template-debug 2021-10-25 12:33:25 -04:00
Brian Helba
2d9e145a0f
Merge pull request #258 from arsensokolov/master 2021-10-25 12:33:08 -04:00
Brian Helba
b75c8d7a7a Remove references to TEMPLATE_DEBUG
This setting is deprecated since Django 1.8.
2021-10-25 12:18:19 -04:00
Brian Helba
c9c44c59b7
Merge pull request #290 from brianhelba/2.2-deprecated 2021-10-25 11:36:23 -04:00
Brian Helba
38059e1417
Merge pull request #302 from jazzband/rm-command 2021-10-25 11:36:05 -04:00
Brian Helba
df967f4d76 Remove an obsolete command used for testing
The test using this was removed in a045609934.
2021-10-25 11:21:06 -04:00
Brian Helba
6da8420635 Prevent warnings for settings deprecated in Django 2.2
Fixes #233.
2021-10-25 11:15:14 -04:00
Brian Helba
a155ac54ad
Merge pull request #287 from brianhelba/auto-field 2021-10-25 11:13:46 -04:00
Brian Helba
40bdab3f4a Preserve Django warnings when DEFAULT_AUTO_FIELD is not set
Fixes #286.
2021-10-25 10:40:24 -04:00
Brian Helba
b1f62da419
Merge pull request #281 from brianhelba/warning 2021-10-25 10:38:07 -04:00
Brian Helba
f4e2241f44
Merge pull request #300 from jazzband/wsgi-import 2021-10-25 10:35:03 -04:00
Brian Helba
c9c4a02169
Merge pull request #301 from jazzband/space-typo 2021-10-25 10:33:41 -04:00
Brian Helba
ec12828877 Simplify import of django.core.wsgi.get_wsgi_application
This has been available since Django 1.4. The import guard is no longer necessary.
2021-10-25 09:52:21 -04:00
Brian Helba
91ef9fd8ad Fix a double space typo in a string 2021-10-25 09:50:51 -04:00
Brian Helba
df51535afc
Merge pull request #291 from jazzband/feature/asgi 2021-10-25 09:49:54 -04:00
Brian Helba
7c9ac5e53f
Suppress import ordering style error 2021-10-25 09:34:42 -04:00
Brian Helba
36265ab3f1
Merge pull request #288 from brianhelba/require-django 2021-10-25 09:32:59 -04:00
Brian Helba
a5542b2bfc
Merge pull request #299 from jazzband/sort-manifest 2021-10-25 09:26:10 -04:00
Brian Helba
3d1554b4f8
Merge pull request #298 from jazzband/ci-push 2021-10-25 09:21:37 -04:00
Brian Helba
3ac97e539f Require Django as an install_requires
Since "import django" occurs in the code, it is an explicit requirement.
2021-10-25 09:21:17 -04:00
Brian Helba
a56889dbc1
Merge pull request #282 from hroncok/patch-1 2021-10-25 09:17:19 -04:00
Brian Helba
09dfa471e0 Sort MANIFEST.in 2021-10-25 09:12:15 -04:00
Brian Helba
71924a195f
Merge pull request #296 from jazzband/jazzband/sync/default 2021-10-25 09:11:29 -04:00
Brian Helba
55a92d86ad
Merge pull request #252 from timgates42/bugfix_typo_whether 2021-10-25 09:08:12 -04:00
Brian Helba
fad40b8003
Merge pull request #256 from bmispelon/malformed-rst-links 2021-10-25 09:05:23 -04:00
Brian Helba
8ec465de77
Merge pull request #289 from brianhelba/middleware 2021-10-25 09:03:21 -04:00
Brian Helba
7e4b425ea3 Don't run duplicate CI tasks on every PR
The "pull_request" action already runs on pushes to any branch with an open PR,
so only run the "push" action on the "master" branch.
2021-10-25 09:02:06 -04:00
Brian Helba
12e033ed1e Add CODE_OF_CONDUCT.md to the sdist 2021-10-25 08:57:16 -04:00
Brian Helba
38534a7caf Merge remote-tracking branch 'origin/master' into jazzband/sync/default 2021-10-25 08:56:56 -04:00
Brian Helba
96ef5cc182
Merge pull request #297 from jazzband/fix-ci 2021-10-25 08:56:24 -04:00
Brian Helba
fa026af595 Add a pre-commit configuration 2021-10-25 08:38:39 -04:00
jazzband-bot
68cbb437cf Jazzband: Created local 'CODE_OF_CONDUCT.md' from remote 'CODE_OF_CONDUCT.md' 2021-10-25 11:14:26 +00:00
Finn-Thorben Sell
6a4a620891
add additional documentation references to asgi.py 2021-09-09 15:11:49 +02:00
Finn-Thorben Sell
2cae9838b5
add documentation to README about get_asgi_application 2021-09-09 15:08:42 +02:00
Finn-Thorben Sell
c1cb3874f2
remove fallback onto ASGIHandler
ASGIHandler is considered a django internal api with get_asgi_application being the public counterpart.
get_asgi_application is also present since the introduction of django's asgi support so the ImportError should never occur anyways.
2021-09-09 15:01:11 +02:00
Richard de Wit
1ada7d14f7
Add ASGI support
Then in your project's `asgi.py` file use this:

```python
from configurations.asgi import get_asgi_application

application = get_asgi_application()
```
2021-09-09 14:35:09 +02:00
Brian Helba
271f6fb5bb Replace references to MIDDLEWARE_CLASSES with MIDDLEWARE
MIDDLEWARE_CLASSES was removed in Django 2.0.
2021-08-31 22:01:34 -04:00
Brian Helba
d715a719a4 Use a more general structure for removing deprecated settings 2021-08-31 21:38:51 -04:00
Miro Hrončok
58a4f689ff
Require setuptools, configurations/version.py imports pkg_resources 2021-04-12 21:53:16 +02:00
Brian Helba
f85ec1fb89
Prevent an ImproperlyConfigured warning from DEFAULT_HASHING_ALGORITHM 2021-04-09 00:20:36 -04:00
Jannis Leidel
d89fe5a2cb
Rename Django's dev branch to main. (#279)
* Rename Django's dev branch to main.

More information: https://groups.google.com/g/django-developers/c/tctDuKUGosc/
Refs: https://github.com/django/django/pull/14048

* Fix test matrix.

* Remove CODEOWNERS again.

* Fix name of tox env.

* Fix test matrix.
2021-03-09 19:20:31 +01:00
Jannis Leidel
856b55bea8
Merge pull request #275 from jazzband/co
Codeowners update.
2021-01-19 16:41:05 +01:00
Jannis Leidel
3da6af02fb
Codeowners update. 2021-01-19 16:40:19 +01:00
Jannis Leidel
c8153bc081
Merge pull request #274 from jazzband/branch-protection-1
Update release.yml
2021-01-19 16:34:23 +01:00
Jannis Leidel
6fa45aba1b
Update release.yml 2021-01-19 14:55:46 +01:00
Jannis Leidel
58575bfb84
Minor update. 2021-01-19 14:54:47 +01:00
Jannis Leidel
184df10a66
Add code owner for workflows. 2021-01-19 14:48:20 +01:00
Michael Käufl
9b9ff4c0a2 Deprecate utils.import_by_path in favor of django.utils.module_loading.import_string 2021-01-19 13:11:16 +06:00
Michael Käufl
c3d5b4b715 Add support for Python 3.9 2021-01-19 13:11:16 +06:00
Michael Käufl
add9b3ce80 Add support for Django 3.1 and 3.2 2021-01-19 13:11:16 +06:00