Commit Graph

3824 Commits

Author SHA1 Message Date
Bruno Alla
daeafd7a14
Add LocaleMiddleware (#2059)
Add LocaleMiddleware
2019-05-17 21:34:56 +01:00
Tano Abeleyra
63a184f072 Set LOCALE_PATHS 2019-05-17 12:34:32 -03:00
Tano Abeleyra
ecc5a73aff
Add LocaleMiddleware 2019-05-17 11:57:13 -03:00
Tano Abeleyra
dc55a3cdd4 Add missing link in CONTRIBUTORS (#2058) 2019-05-17 08:18:41 +08:00
Bruno Alla
04cf607166
Add recent changes to changelog 2019-05-16 13:27:51 +01:00
Bruno Alla
4a1894d5d6
Logging improvements (#2040)
Logging improvements
2019-05-16 13:25:38 +01:00
Bruno Alla
fca341f726
UsersAppConfig improvements (#2056)
UsersAppConfig improvements
2019-05-16 12:58:23 +01:00
Bruno Alla
5f3efe88f4
Update tox to 3.11.1 (#2057)
Update tox to 3.11.1
2019-05-16 12:54:46 +01:00
browniebroke
c3f6df2eae Update tox from 3.11.0 to 3.11.1 2019-05-16 12:00:38 +01:00
Tano Abeleyra
6d0d33865c Add myself as contributor and sort the list 2019-05-15 20:11:04 -03:00
Tano Abeleyra
d00517252c UsersAppConfig improvements
+ Rename to UsersConfig to follow Django naming convention
+ Translate verbose_name
2019-05-15 20:10:55 -03:00
Bruno Alla
772221e2c1
Merge pull request #2055 from pydanny/pyup-update-tox-3.10.0-to-3.11.0
Update tox to 3.11.0
2019-05-15 20:26:07 +01:00
pyup-bot
78d81d6f87 Update tox from 3.10.0 to 3.11.0 2019-05-15 10:45:37 -07:00
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
Trung Dong Huynh
d368bfef73 Merge remote-tracking branch 'upstream/master' 2019-05-12 11:23:00 +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