const.py 634 B

1234567891011121314151617181920212223242526272829303132
  1. GITIGNORE: str = '/venv\n/static\n/media\n__pycache__\n*.sqlite*\n*.log\n.env'
  2. ENV_EXAMPLE: str = '''
  3. SECRET_KEY=
  4. # List of comma separated values
  5. ALLOWED_HOSTS=
  6. # Remove if production
  7. DEBUG=
  8. # Sets SECURE_PROXY_SSL_HEAD to ('HTTP_X_FORWARDED_PROTO', 'https')
  9. # Remove if not needed
  10. USE_SSL=
  11. '''
  12. DEFAULT_ENV = '''
  13. DEBUG=(bool, False),
  14. USE_SSL=(bool, False)
  15. '''
  16. REQUIRED_PACKAGES: list[str] = (
  17. 'wheel',
  18. 'django',
  19. 'django-environ',
  20. 'gunicorn'
  21. )
  22. README = '''
  23. This is a Django project bootstrapped with [build-django](https://pypi.org/project/build-django/) by [Kapustlo](https://notabug.org/kapustlo)
  24. '''