Skip to content

Commit

Permalink
Updated docs config
Browse files Browse the repository at this point in the history
  • Loading branch information
lorinkoz committed Aug 14, 2023
1 parent 81d4951 commit 3716822
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion django_pgschemas/models.py
Expand Up @@ -111,7 +111,7 @@ class DomainMixin(models.Model):
related_name="domains",
on_delete=models.CASCADE,
)
if "default" in settings.TENANTS
if hasattr(settings, "TENANTS") and "default" in settings.TENANTS
else None
)

Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -66,7 +66,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "en"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand All @@ -93,7 +93,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
# html_static_path = ["_static"]

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down

0 comments on commit 3716822

Please sign in to comment.