mirror of
https://github.com/django-components/django-components.git
synced 2025-08-04 14:28:18 +00:00
Add mypy support (#396), thanks @JuroOravec
This commit is contained in:
parent
4090c928ee
commit
b14dec9777
14 changed files with 104 additions and 58 deletions
|
@ -1,6 +1,7 @@
|
|||
import os
|
||||
import secrets
|
||||
from pathlib import Path
|
||||
from typing import List
|
||||
|
||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
|
@ -16,7 +17,7 @@ SECRET_KEY = os.environ.get("SECRET_KEY", secrets.token_hex(100))
|
|||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = []
|
||||
ALLOWED_HOSTS: List[str] = []
|
||||
|
||||
|
||||
INSTALLED_APPS = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue