Commit Graph

3335 Commits

Author SHA1 Message Date
Bruno Alla
0fef828375 Create a logging config in base settings & add a root logger to existing ones 2019-05-15 17:20:14 +01:00
Bruno Alla
a245651f66 Increase test parallelism
- Split out tests and add markers to control where they are run in Travis
- Run each marker on a separate Travis task
- Install pytest-xdist to increase parallelism inside each worker
- Set xdist parallelism to 3
2019-05-15 12:37:17 +01:00
Bruno Alla
4b2a62e889
Update werkzeug to 0.15.4 (#2054)
Update werkzeug to 0.15.4
2019-05-15 12:31:59 +01:00
browniebroke
74aaa3022c Update werkzeug from 0.15.2 to 0.15.4 2019-05-15 12:00:38 +01:00
Bruno Alla
0b80e3afef
Merge pull request #2053 from pydanny/pyup-update-tox-3.9.0-to-3.10.0
Update tox to 3.10.0
2019-05-14 12:42:06 +01:00
pyup-bot
dac16d6c40 Update tox from 3.9.0 to 3.10.0 2019-05-13 16:15:56 -07:00
Bruno Alla
3b96afc559 Deduplicate troubleshooting sections about Mailgun 2019-05-12 21:57:16 +01:00
Bruno Alla
64727f5096 Update changelog with main changes from the past 15 months 2019-05-12 20:26:46 +01:00
Bruno Alla
ab0ed6d26c
Merge pull request #2052 from pydanny/pyup-update-factory-boy-2.11.1-to-2.12.0
Update factory-boy to 2.12.0
2019-05-12 12:47:06 +01:00
Bruno Alla
8e6d878efe
Merge pull request #2051 from pydanny/pyup-update-pytest-4.4.2-to-4.5.0
Update pytest to 4.5.0
2019-05-12 12:46:38 +01:00
browniebroke
4e20733b6a Update factory-boy from 2.11.1 to 2.12.0 2019-05-12 12:00:33 +01:00
browniebroke
4373e205a8 Update pytest from 4.4.2 to 4.5.0 2019-05-12 12:00:30 +01:00
browniebroke
bad8e972c5 Update pytest from 4.4.2 to 4.5.0 2019-05-12 12:00:29 +01:00
Bruno Alla
a885fc369c
Update djangorestframework to 3.9.4 (#2050)
Update djangorestframework to 3.9.4
2019-05-11 12:20:53 +01:00
browniebroke
4bca52c835 Update djangorestframework from 3.9.3 to 3.9.4 2019-05-11 12:00:28 +01:00
Bruno Alla
e900a05e02
Update pytest to 4.4.2 (#2048)
Update pytest to 4.4.2
2019-05-10 17:56:37 +01:00
Bruno Alla
9f8f6a3e2a
The signal should be imported from project_slug (#2049)
The signal should be imported from project_slug
2019-05-10 17:56:10 +01:00
shireenrao
8933aa17c0
The signal should be imported from project_slug
I am getting an error if I create a signal.py file under users model. Here is the stacktrace
Tracking file by folder pattern:  migrations
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x000002663A074048>
Traceback (most recent call last):
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
    fn(*args, **kwargs)
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\core\management\commands\runserver.py", line 109, in inner_run
    autoreload.raise_last_exception()
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\utils\autoreload.py", line 248, in raise_last_exception
    raise _exception[1]
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\core\management\__init__.py", line 337, in execute
    autoreload.check_errors(django.setup)()
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
    fn(*args, **kwargs)
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\apps\registry.py", line 120, in populate
    app_config.ready()
  File "C:\Users\srao\projects\kbs\kbs\users\apps.py", line 11, in ready
    import users.signals  # noqa F401
  File "C:\Users\srao\projects\kbs\kbs\users\signals.py", line 3, in <module>
    from .models import User
  File "C:\Users\srao\projects\kbs\kbs\users\models.py", line 8, in <module>
    class User(AbstractUser):
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\db\models\base.py", line 95, in __new__
    "INSTALLED_APPS." % (module, name)
RuntimeError: Model class users.models.User doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
Having the signal be imported from project_slug.users.signal fixes the issue.
2019-05-10 11:42:07 -04:00
browniebroke
42fc45d38a Update pytest from 4.4.1 to 4.4.2 2019-05-09 12:00:33 +01:00
browniebroke
642521dc5e Update pytest from 4.4.1 to 4.4.2 2019-05-09 12:00:32 +01:00
Bruno Alla
17e00f0ccc
Merge pull request #2017 from pydanny/upgrade/django-2.1
Upgrade to Django 2.1
2019-05-08 12:57:59 +01:00
Bruno Alla
dc2cfc9904 Merge branch 'master' into upgrade/django-2.1 2019-05-08 12:23:23 +01:00
Bruno Alla
2bed473954
Edit STATIC and MEDIA urls for GCE production. (#2047)
Edit STATIC and MEDIA urls for GCE production.
2019-05-07 20:06:47 +01:00
Bruno Alla
07f2a25219 Update psycopg2-binary from 2.8 to 2.8.2 (#2034) 2019-05-07 08:52:01 +03:00
Craig Margieson
1646daa277 Added link in contributors. 2019-05-06 15:30:02 +09:30
Craig Margieson
5ab5285e5f Edit STATIC and MEDIA urls for GCE production. 2019-05-06 15:13:01 +09:30
Craig Margieson
964662742a Add to contributors. 2019-05-06 15:10:18 +09:30
Bruno Alla
672ad7efe1
Update sentry-sdk to 0.7.14 (#2045)
Update sentry-sdk to 0.7.14
2019-04-30 12:42:58 +01:00
Bruno Alla
b61d36a125
Update djangorestframework to 3.9.3 (#2046)
Update djangorestframework to 3.9.3
2019-04-30 12:42:38 +01:00
browniebroke
07a685326c Update djangorestframework from 3.9.2 to 3.9.3 2019-04-30 12:00:34 +01:00
browniebroke
bf6f17b1b9 Update sentry-sdk from 0.7.12 to 0.7.14 2019-04-30 12:00:31 +01:00
Bruno Alla
bb9b482e96
Merge pull request #2043 from pydanny/pyup-update-sentry-sdk-0.7.11-to-0.7.12
Update sentry-sdk to 0.7.12
2019-04-26 14:15:59 +01:00
Bruno Alla
18b6a5561b
Merge pull request #2044 from pydanny/pyup-update-pylint-django-2.0.8-to-2.0.9
Update pylint-django to 2.0.9
2019-04-26 14:15:37 +01:00
browniebroke
09735eadfd Update pylint-django from 2.0.8 to 2.0.9 2019-04-26 12:00:32 +01:00
browniebroke
2f77d48496 Update sentry-sdk from 0.7.11 to 0.7.12 2019-04-26 12:00:28 +01:00
Bruno Alla
52aeddc289
Merge pull request #2041 from pydanny/pyup-update-sentry-sdk-0.7.10-to-0.7.11
Update sentry-sdk to 0.7.11
2019-04-24 12:35:51 +01:00
browniebroke
7358fef56a Update sentry-sdk from 0.7.10 to 0.7.11 2019-04-24 12:00:28 +01:00
Bruno Alla
b8872a410e
Merge pull request #2039 from pydanny/pyup-update-pylint-django-2.0.7-to-2.0.8
Update pylint-django to 2.0.8
2019-04-18 12:22:00 +01:00
browniebroke
113f1ed530 Update pylint-django from 2.0.7 to 2.0.8 2019-04-18 12:00:29 +01:00
Bruno Alla
a4f50c1cea
Merge pull request #2038 from pydanny/pyup-update-tox-3.8.6-to-3.9.0
Update tox to 3.9.0
2019-04-18 08:12:07 +01:00
Bruno Alla
7da9c6a1f2
Merge pull request #2037 from pydanny/pyup-update-pylint-django-2.0.6-to-2.0.7
Update pylint-django to 2.0.7
2019-04-18 08:11:33 +01:00
Bruno Alla
fcdebd0b32
Merge pull request #2036 from pydanny/pyup-update-mypy-0.700-to-0.701
Update mypy to 0.701
2019-04-18 08:09:21 +01:00
pyup-bot
a1692ef541 Update tox from 3.8.6 to 3.9.0 2019-04-17 19:13:06 -07:00
browniebroke
5a3d9050a4 Update pylint-django from 2.0.6 to 2.0.7 2019-04-17 12:00:36 +01:00
browniebroke
352be0eec9 Update mypy from 0.700 to 0.701 2019-04-17 12:00:31 +01:00
Bruno Alla
9ca91ef428 Merge branch 'master' into upgrade/django-2.1
# Conflicts:
#	README.rst
2019-04-17 08:40:06 +01:00
Bruno Alla
93d5426cb4 Small updates in the READMEs 2019-04-17 08:37:45 +01:00
Bruno Alla
39df72669e Merge branch 'master' into upgrade/django-2.1
# Conflicts:
#	README.rst
2019-04-17 08:33:54 +01:00
Fábio C. Barrionuevo da Luz
4d8e3c8c13 update "description" in the example 2019-04-16 20:42:17 -03:00
Fábio C. Barrionuevo da Luz
6f2a652c2b
update PostgreSQL versions in the example 2019-04-16 19:42:57 -03:00