Skip to content

Commit 926515f

Browse files
committed
Remove django guardian from deps
1 parent 2d1f1bb commit 926515f

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

readthedocs/settings/base.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# pylint: disable=missing-docstring
32

43
import getpass
@@ -107,7 +106,6 @@ def INSTALLED_APPS(self): # noqa
107106
# third party apps
108107
'dj_pagination',
109108
'taggit',
110-
'guardian',
111109
'django_gravatar',
112110
'rest_framework',
113111
'rest_framework.authtoken',
@@ -474,9 +472,6 @@ def USE_PROMOS(self): # noqa
474472

475473
INTERNAL_IPS = ('127.0.0.1',)
476474

477-
# Guardian Settings
478-
GUARDIAN_RAISE_403 = True
479-
480475
# Stripe
481476
STRIPE_SECRET = None
482477
STRIPE_PUBLISHABLE = None
@@ -514,7 +509,7 @@ def USE_PROMOS(self): # noqa
514509
'PAGE_SIZE': 10,
515510
}
516511

517-
SILENCED_SYSTEM_CHECKS = ['fields.W342', 'guardian.W001']
512+
SILENCED_SYSTEM_CHECKS = ['fields.W342']
518513

519514
# Logging
520515
LOG_FORMAT = '%(name)s:%(lineno)s[%(process)d]: %(levelname)s %(message)s'

requirements/pip.txt

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ appdirs==1.4.3
44
virtualenv==16.6.1
55

66
django==1.11.21 # pyup: <1.12
7-
django-guardian==1.5.1 # pyup: <2.0.0
87
django-extensions==2.1.9
98
django_polymorphic==2.0.3
109

0 commit comments

Comments
 (0)