Commit Graph

2149 Commits

Author SHA1 Message Date
Bruno Alla
c3ee08fbb2 Tweak formatting of workflow file 2021-03-02 20:03:27 +00:00
Bruno Alla
c1ec7e3cd1 Add necessary services for GH actions without Docker 2021-03-02 20:03:14 +00:00
Bruno Alla
9793511266 Support both master and main branches 2021-03-02 19:48:26 +00:00
Bruno Alla
003a8c8c5e
Merge pull request #3075 from pydanny/pyup-update-pillow-8.1.0-to-8.1.1
Update pillow to 8.1.1
2021-03-02 09:12:24 +00:00
pyup-bot
51b92b935f Update pillow from 8.1.0 to 8.1.1 2021-03-01 21:07:12 -08:00
pyup-bot
691229b979 Update coverage from 5.4 to 5.5 2021-03-01 12:00:56 -08:00
Arnav Choudhury
fa0b278225 Updated test_urls and views to re-use User.get_absolute_url method instead of using reverse on the user:detail view 2021-02-26 12:04:48 +05:30
Arnav Choudhury
2345c2c92d
Update {{cookiecutter.project_slug}}/compose/production/django/Dockerfile
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2021-02-24 16:26:58 +05:30
Arnav Choudhury
15453df824 Updated the local and production dockerfiles with more repeatability and easier to update in mind. 2021-02-24 10:58:28 +05:30
Bruno Alla
483b636fcb Only indent with spaces in django Dockerfile 2021-02-23 20:36:52 +00:00
Bruno Alla
ff98d8f517 Remove --use-feature=2020-resolver in pip commands
They are now the default and cause a warning:

WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0.
2021-02-23 20:34:41 +00:00
Bruno Alla
25000e1015 Merge branch 'master' into django-multi 2021-02-23 20:09:58 +00:00
Bruno Alla
4e96b64261 Merge branch 'master' into fix_django_31
# Conflicts:
#	{{cookiecutter.project_slug}}/requirements/base.txt
2021-02-23 19:10:52 +00:00
Bruno Alla
e4ce5c5f2a
Merge pull request #3066 from arnav13081994/update_cicd 2021-02-23 19:07:47 +00:00
Arnav Choudhury
c988a6fbdc Removed the step for installing dependencies 2021-02-23 19:20:17 +05:30
Bruno Alla
ddc102d0f1
Merge pull request #2992 from Andrew-Chen-Wang/patch-3
Use exception var in status code pages if available
2021-02-23 08:43:33 +00:00
Arnav Choudhury
db636c8e36 Updated tests with the updated github stage names. 2021-02-23 11:11:03 +05:30
Arnav Choudhury
a4f1acf17e Updated the github action to run all pre-commit hooks on all files in the linter stage so that there is only 1 place that is used to maange all code quality tools. 2021-02-23 10:59:30 +05:30
Andrew Chen Wang
1aa4c31b87
Change confusing CSRF 403 message
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2021-02-22 15:45:05 -05:00
Bruno Alla
4acba3dddd
Merge pull request #2865 from lcd1232/patch-1 2021-02-22 20:26:05 +00:00
Bruno Alla
d4bc89bcbe
Merge pull request #3055 from Andrew-Chen-Wang/patch-6 2021-02-22 20:18:54 +00:00
Bruno Alla
34ad90bdd8
Merge pull request #3064 from danihodovic/remove-default-cache
refactor: remove default cache settings in test.py
2021-02-22 20:04:04 +00:00
Bruno Alla
43544c5fb2
Merge pull request #3060 from pydanny/pyup-update-django-3.0.12-to-3.0.13
Update django to 3.0.13
2021-02-22 19:45:16 +00:00
Bruno Alla
139c9f1681
Merge pull request #3063 from pydanny/pyup-update-django-crispy-forms-1.11.0-to-1.11.1
Update django-crispy-forms to 1.11.1
2021-02-22 19:43:06 +00:00
Bruno Alla
9b05759044
Merge pull request #3062 from pydanny/pyup-update-uvicorn-0.13.3-to-0.13.4
Update uvicorn to 0.13.4
2021-02-22 19:42:42 +00:00
Bruno Alla
28887cdf2b
Merge pull request #3061 from pydanny/pyup-update-mypy-0.800-to-0.812
Update mypy to 0.812
2021-02-22 19:42:14 +00:00
Bruno Alla
57574a2bb4
Merge pull request #3059 from pydanny/pyup-update-sentry-sdk-0.20.2-to-0.20.3
Update sentry-sdk to 0.20.3
2021-02-22 19:41:44 +00:00
Dani Hodovic
977e033352
refactor: remove default cache settings in test.py
It's LocMemCache by default, there is no need to specify this in test.py
```python
django.core.cache.backends.locmem.LocMemCache
```

https://docs.djangoproject.com/en/dev/ref/settings/#caches
2021-02-21 19:25:32 +02:00
Areski Belaid
26540f4cc9
Merge branch 'master' into fix_django_31 2021-02-21 17:56:24 +01:00
areski
86f79e08b2 Update Django to 3.1.7 2021-02-21 17:55:05 +01:00
pyup-bot
f97513d0ca Update django-crispy-forms from 1.11.0 to 1.11.1 2021-02-21 06:12:17 -08:00
pyup-bot
bf4d502941 Update uvicorn from 0.13.3 to 0.13.4 2021-02-21 06:12:15 -08:00
pyup-bot
5d138cc0f5 Update mypy from 0.800 to 0.812 2021-02-20 08:00:22 -08:00
pyup-bot
d67dbf9d36 Update django from 3.0.12 to 3.0.13 2021-02-20 00:58:50 -08:00
pyup-bot
81812fd8c2 Update sentry-sdk from 0.20.2 to 0.20.3 2021-02-19 06:29:09 -08:00
pyup-bot
119a4d0660 Update sphinx from 3.5.0 to 3.5.1 2021-02-16 18:21:04 -08:00
Andrew Chen Wang
8aeee881bb
Remove email from User API Test 2021-02-16 18:35:47 -05:00
Andrew Chen Wang
17499a12c9
Remove email from User API 2021-02-16 18:33:27 -05:00
Bruno Alla
0d5e9132f7
Merge pull request #3054 from pydanny/pyup-update-sentry-sdk-0.20.1-to-0.20.2
Update sentry-sdk to 0.20.2
2021-02-16 15:33:55 +00:00
pyup-bot
3795bc04d0 Update sentry-sdk from 0.20.1 to 0.20.2 2021-02-16 06:27:45 -08:00
pyup-bot
583f8c6688 Update sphinx from 3.4.3 to 3.5.0 2021-02-14 15:08:48 -08:00
pyup-bot
179ba90299 Update sentry-sdk from 0.20.0 to 0.20.1 2021-02-13 00:19:41 -08:00
Bruno Alla
8559dad889
Merge pull request #3045 from pydanny/pyup-update-pre-commit-2.10.0-to-2.10.1
Update pre-commit to 2.10.1
2021-02-12 13:42:46 +00:00
pyup-bot
ae151f04a2 Update sentry-sdk from 0.19.5 to 0.20.0 2021-02-11 23:54:12 -08:00
pyup-bot
073625445b Update django-extensions from 3.1.0 to 3.1.1 2021-02-08 07:23:24 -08:00
pyup-bot
416e052de2 Update pre-commit from 2.10.0 to 2.10.1 2021-02-06 20:36:09 -08:00
Bruno Alla
e5bc9af44c
Merge pull request #3041 from arnav13081994/update_test_case 2021-02-06 17:07:00 +00:00
Bruno Alla
131b3ca75b
Merge pull request #3029 from arnav13081994/update_forms 2021-02-06 17:00:46 +00:00
Arnav Choudhury
352232f617 Fixed Formatting Issues. 2021-02-05 09:55:30 +05:30
Arnav Choudhury
47768d495f Refactored test_views to test only the required characteristics of the UserCreationForm. 2021-02-05 09:47:06 +05:30
Arnav Choudhury
4a48b1725e Merge branch 'master' of github.com:pydanny/cookiecutter-django into update_forms 2021-02-05 09:33:07 +05:30
areski
39033fa8ab Fix pyup for Django 3.1 2021-02-04 19:09:09 +01:00
areski
002b3eaf41 Update Django 3.0.11 to 3.1.6 2021-02-04 16:52:45 +01:00
Arnav Choudhury
3cf7e74a77 Removed unused Http404 import. 2021-02-04 15:54:26 +05:30
Arnav Choudhury
fc8e2ea8a2 Removed unnecessary test for username case sensitivity since django usernames are case sensitive by default. Also made the redirecting to the login url more dynamic by fetching the defined login_url from settings 2021-02-04 15:28:08 +05:30
Arnav Choudhury
08334ba979 Fixed the Middleware deprecation warnings by creating a dummy response function. 2021-02-02 13:19:27 +05:30
pyup-bot
c575092016 Update django from 3.0.11 to 3.0.12 2021-02-01 18:38:12 -08:00
pyup-bot
d442074ce3 Update pytz from 2020.5 to 2021.1 2021-02-01 01:49:28 -08:00
pyup-bot
ba97025971 Update django-crispy-forms from 1.10.0 to 1.11.0 2021-01-31 05:43:22 -08:00
Arnav Choudhury
e8996ef281 Updated the test_clean_username test to also test for the custom validation message raised in case username already exists in the db 2021-01-30 11:41:16 +05:30
Arnav Choudhury
0a241a8f75 Updated test_forms.py to not check whether UserCreationForm has a clean_username() method 2021-01-29 22:16:11 +05:30
Arnav Choudhury
e0cf956fe2 Refactored users.forms to make the code more readeable 2021-01-29 17:55:10 +05:30
Bruno Alla
a463c185f0
Merge pull request #3028 from pydanny/pyup-update-pre-commit-2.9.3-to-2.10.0
Update pre-commit to 2.10.0
2021-01-28 17:44:33 +00:00
pyup-bot
e546500bd0 Update pre-commit from 2.9.3 to 2.10.0 2021-01-28 09:24:44 -08:00
pyup-bot
f12fdbafaf Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:41 -08:00
pyup-bot
b2613405b0 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:40 -08:00
pyup-bot
0059a87a85 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:39 -08:00
pyup-bot
f4a5b106a7 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:38 -08:00
pyup-bot
dceee9bb5c Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:37 -08:00
pyup-bot
70adb22529 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:36 -08:00
pyup-bot
346c91c761 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:35 -08:00
pyup-bot
f9b0b5a422 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:35 -08:00
pyup-bot
7bfac19625 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:34 -08:00
Bruno Alla
9969f8fa0d
Handle error if node hasn't started yet 2021-01-28 09:19:14 +00:00
pyup-bot
d5d42b1797 Update coverage from 5.3.1 to 5.4 2021-01-26 10:51:06 -08:00
Bruno Alla
d62ad403a4
Merge pull request #3018 from Andrew-Chen-Wang/patch-6 2021-01-26 18:51:00 +00:00
areski
a1d551d067 Update from Python3.8 to Python3.9 2021-01-26 16:13:27 +01:00
Bruno Alla
75fb13dde4
Merge pull request #3020 from pydanny/pyup-update-pytest-6.2.1-to-6.2.2
Update pytest to 6.2.2
2021-01-26 12:18:29 +00:00
Bruno Alla
8b15f29fa0
Merge pull request #3019 from pydanny/pyup-update-django-cors-headers-3.6.0-to-3.7.0
Update django-cors-headers to 3.7.0
2021-01-26 12:18:13 +00:00
Arnav Choudhury
125f1a8afe Fixing Formatting issues 2021-01-26 10:34:18 +05:30
Arnav Choudhury
d358fc948d Using SuccessMessageMixin to pass the message to django template instead of overriding form_valid 2021-01-26 09:56:24 +05:30
pyup-bot
880cdeb2df Update pytest from 6.2.1 to 6.2.2 2021-01-25 17:42:43 -08:00
pyup-bot
1b7b003f15 Update django-cors-headers from 3.6.0 to 3.7.0 2021-01-25 17:42:39 -08:00
Bruno Alla
d12d01d325 Fix mypy error 2021-01-25 22:13:19 +00:00
Bruno Alla
37e0d6ae04 Add test for the UserAdmin 2021-01-25 21:55:14 +00:00
Bruno Alla
d1409e2fb3 Missing import 2021-01-25 21:08:33 +00:00
Andrew Chen Wang
cbb3cdb2b1
Update admin to ignore *_name User attributes
Fixes #3016
2021-01-25 11:20:34 -05:00
Bruno Alla
c2060bf34a
Add logo to badge 2021-01-24 23:16:45 +00:00
Bruno Alla
26a424e09c Merge branch 'master' into patch-1 2021-01-24 21:49:00 +00:00
Bruno Alla
8d103f3aec Merge branch 'master' into test 2021-01-24 17:06:43 +00:00
Bruno Alla
d25e5f7de6
Merge pull request #2989 from vascop/patch-1
Sentry Redis integration enabled by default in production.
2021-01-24 16:50:09 +00:00
Bruno Alla
6a4a9ba6ee Merge branch 'master' into defer-js 2021-01-24 15:42:12 +00:00
Bruno Alla
eb6fad5f32 Remove pinning of django-timezone-field
fixes #2950
2021-01-24 15:23:56 +00:00
Bruno Alla
24ebd22c02 Merge branch 'master' into pyup-update-django-celery-beat-2.1.0-to-2.2.0 2021-01-24 15:22:36 +00:00
Bruno Alla
42f33527c5 Refactor test 2021-01-24 15:17:01 +00:00
Bruno Alla
e293d8c00e
Merge pull request #2949 from thorrak/add_test 2021-01-24 15:08:22 +00:00
Bruno Alla
bf2d5370be
Merge pull request #3013 from pydanny/pyup-update-mypy-0.790-to-0.800
Update mypy to 0.800
2021-01-24 14:29:14 +00:00
Bruno Alla
aee2559d4f
Merge pull request #2998 from Andrew-Chen-Wang/patch-6 2021-01-24 14:26:23 +00:00
Bruno Alla
23c7616bd4
Merge pull request #2986 from pydanny/pyup-update-factory-boy-3.1.0-to-3.2.0 2021-01-24 14:25:16 +00:00
Bruno Alla
b7c95f6eed Update factory-boy's .generate to evaluate
Co-Authored-By: Timo Halbesma <timo@halbesma.com>
2021-01-24 14:20:39 +00:00