You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readthedocs/projects/apps.py
+14
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
"""Project app config."""
2
2
3
+
importsocket
4
+
3
5
fromdjango.appsimportAppConfig
6
+
fromdjango.confimportsettings
7
+
fromdjango.core.checks.registryimportregistry
4
8
5
9
6
10
classProjectsConfig(AppConfig):
@@ -13,3 +17,13 @@ def ready(self):
13
17
importreadthedocs.projects.tasks.builds# noqa
14
18
importreadthedocs.projects.tasks.search# noqa
15
19
importreadthedocs.projects.tasks.utils# noqa
20
+
21
+
# HACK: remove djstripe initial checks.
22
+
# It performs checks that require access to the database, which make the builders to fail.
23
+
# Note this is placed in the `projects` app, since it's listed after `djstripe` in `INSTALLED_APPS`, as this code has to be executed _after_ djstripe has been initialized.
0 commit comments