Commit Graph

3795 Commits

Author SHA1 Message Date
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
Bruno Alla
1e8790f70e
Merge pull request #2031 from vladdoster/2026-cloud-provider-docs-update
Cloud provider docs update
2019-04-16 18:09:15 +01:00
Bruno Alla
cd13ab4c82 Update docs/settings.rst
Documented GOOGLE_APPLICATION_CREDENTIALS env var

Co-Authored-By: vladdoster <Dosterm@wit.edu>
2019-04-16 11:30:22 -05:00
Bruno Alla
cf9a87e57a
Merge pull request #2035 from pydanny/pyup-update-pytest-4.4.0-to-4.4.1
Update pytest to 4.4.1
2019-04-16 17:25:12 +01:00
Bruno Alla
f6cac35b87 Update docs/project-generation-options.rst
Clearer diction describing cloud provider roles

Co-Authored-By: vladdoster <Dosterm@wit.edu>
2019-04-16 11:23:41 -05:00
browniebroke
026dd6ed57 Update pytest from 4.4.0 to 4.4.1 2019-04-16 12:00:30 +01:00
browniebroke
9137bb561f Update pytest from 4.4.0 to 4.4.1 2019-04-16 12:00:29 +01:00
Vlad
c041453bef Updated project-generation-options.rst to provide helpful links in case a user needs to decide between AWS s3 and GCS and added myself to contributors.rst 2019-04-14 12:07:37 -05:00
Vlad
7c8a473460 Updated settings.rst to reflect new GS env variable 2019-04-14 11:57:48 -05:00
Vlad
56aa332e01 Documented Google Cloud Storage integration as an alternative to AWS S3 2019-04-14 11:43:05 -05:00
Bruno Alla
589dfeae41
Merge pull request #2029 from pydanny/pyup-update-pytz-2018.9-to-2019.1
Update pytz to 2019.1
2019-04-10 12:16:07 +01:00
Bruno Alla
a2bc8827f2
Merge pull request #2028 from pydanny/pyup-update-sphinx-2.0.0-to-2.0.1
Update sphinx to 2.0.1
2019-04-10 12:15:54 +01:00
browniebroke
6d906721fc Update pytz from 2018.9 to 2019.1 2019-04-10 13:00:32 +02:00
browniebroke
020933d336 Update sphinx from 2.0.0 to 2.0.1 2019-04-09 13:00:39 +02:00
Bruno Alla
812512684c
Merge pull request #2023 from pydanny/pyup-update-pytest_cases-1.6.1-to-1.6.2
Update pytest_cases to 1.6.2
2019-04-08 14:58:52 +02:00
Bruno Alla
10dc900dbc
Merge pull request #2024 from pydanny/pyup-update-sentry-sdk-0.7.9-to-0.7.10
Update sentry-sdk to 0.7.10
2019-04-08 14:58:35 +02:00