Commit Graph

7343 Commits

Author SHA1 Message Date
shireenrao
570930ef13
If using whitenoise disable AWS and GCE for static
If using whitenoise disable AWS and GCE for static setting.
2019-05-18 22:49:10 -04:00
Matt Knapper
98012829f3 storageFile is deprecated, use storage instead 2019-05-18 10:10:45 -04:00
Bruno Alla
e74e2a8ad3
Update CHANGELOG.md 2019-05-18 14:08:02 +01:00
Bruno Alla
d90406c3c3 Make the static storage use public ACL 2019-05-18 14:06:05 +01:00
Bruno Alla
642c28792c Update Redis version to 5.0 2019-05-18 13:54:25 +01:00
Bruno Alla
88243d088d
Update CHANGELOG.md 2019-05-18 13:08:30 +01:00
Bruno Alla
d1ea1b029e
Merge pull request #2064 from pydanny/pyup-update-flake8-3.7.5-to-3.7.7
Update flake8 to 3.7.7
2019-05-18 13:06:12 +01:00
Bruno Alla
81a1bbcb8f
Merge pull request #2063 from pydanny/pyup-update-sentry-sdk-0.7.14-to-0.8.0
Update sentry-sdk to 0.8.0
2019-05-18 13:05:15 +01:00
Bruno Alla
698e71a2de
Merge pull request #2062 from pydanny/remove-user-lists
Remove user list view
2019-05-18 13:03:50 +01:00
browniebroke
093455a120 Update flake8 from 3.7.5 to 3.7.7 2019-05-18 12:00:31 +01:00
browniebroke
99df05d8b0 Update sentry-sdk from 0.7.14 to 0.8.0 2019-05-18 12:00:28 +01:00
Bruno Alla
e6458d7c07 Update flake8 from 3.7.6 to 3.7.7 2019-05-17 22:37:35 +01:00
Bruno Alla
872204527f Remove user list view 2019-05-17 22:33:30 +01:00
Bruno Alla
219062cb2b Update to Django 2.2.1 2019-05-17 22:02:50 +01:00
Bruno Alla
b039e24130
Refactor Celery integration according to current best practices (#2016)
Refactor Celery integration according to current best practices
2019-05-17 21:38:00 +01:00
Bruno Alla
dc664b3556
Update CHANGELOG.md 2019-05-17 21:37:14 +01:00
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