zproject: Fix typing errors under the zproject directory.

This fixes error found with django-stubs and it is a part of #18777.

Note that there are various remaining errors that need to be fixed in
upstream or elsewhere in our codebase.
This commit is contained in:
PIG208
2021-08-16 00:32:51 +08:00
committed by Tim Abbott
parent bb36bd8b6b
commit 2268ac6d0c
8 changed files with 22 additions and 16 deletions

View File

@@ -160,7 +160,7 @@ THUMBNAIL_IMAGES = True
SEARCH_PILLS_ENABLED = bool(os.getenv("SEARCH_PILLS_ENABLED", False))
BILLING_ENABLED = True
LANDING_PAGE_NAVBAR_MESSAGE = None
LANDING_PAGE_NAVBAR_MESSAGE: Optional[str] = None
# Test custom TOS template rendering
TERMS_OF_SERVICE = "corporate/terms.md"
@@ -175,4 +175,4 @@ USE_X_FORWARDED_PORT = True
# Override the default SAML entity ID
SOCIAL_AUTH_SAML_SP_ENTITY_ID = "http://localhost:9991"
MEMCACHED_USERNAME = None
MEMCACHED_USERNAME: Optional[str] = None