mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add secure development server in DEBUG mode
This commit is contained in:
parent
1bdebe1324
commit
84717f8103
@ -311,6 +311,10 @@ if DEBUG and CONFIG.get('debug_toolbar', False): # pragma: no cover
|
||||
INSTALLED_APPS.append('debug_toolbar')
|
||||
MIDDLEWARE.append('debug_toolbar.middleware.DebugToolbarMiddleware')
|
||||
|
||||
# Allow secure http developer server in debug mode
|
||||
if DEBUG:
|
||||
INSTALLED_APPS.append('sslserver')
|
||||
|
||||
# InvenTree URL configuration
|
||||
|
||||
# Base URL for admin pages (default="admin")
|
||||
|
@ -24,6 +24,7 @@ django-mptt==0.11.0 # Modified Preorder Tree Traversal
|
||||
django-redis>=5.0.0
|
||||
django-q==1.3.4 # Background task scheduling
|
||||
django-sql-utils==0.5.0 # Advanced query annotation / aggregation
|
||||
django-sslserver==0.22 # Secure HTTP development server
|
||||
django-stdimage==5.1.1 # Advanced ImageField management
|
||||
django-test-migrations==1.1.0 # Unit testing for database migrations
|
||||
django-user-sessions==1.7.1 # user sessions in DB
|
||||
|
Loading…
Reference in New Issue
Block a user