mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-13 16:56:09 +01:00
bug fix: creating user via cli
This commit is contained in:
@@ -16,7 +16,6 @@ from django.utils.translation import gettext_lazy as _
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
|
||||
# Quick-start development settings - unsuitable for production
|
||||
# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/
|
||||
|
||||
@@ -38,6 +37,7 @@ INSTALLED_APPS = [
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'baseTemplate',
|
||||
'firewall',
|
||||
'loginSystem',
|
||||
'packages',
|
||||
'websiteFunctions',
|
||||
@@ -49,7 +49,6 @@ INSTALLED_APPS = [
|
||||
'databases',
|
||||
'mailServer',
|
||||
'serverLogs',
|
||||
'firewall',
|
||||
'backup',
|
||||
'managePHP',
|
||||
'manageSSL',
|
||||
@@ -66,7 +65,7 @@ INSTALLED_APPS = [
|
||||
'containerization',
|
||||
'CLManager',
|
||||
'IncBackups',
|
||||
# 'WebTerminal'
|
||||
# 'WebTerminal'
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
@@ -83,7 +82,6 @@ MIDDLEWARE = [
|
||||
|
||||
ROOT_URLCONF = 'CyberCP.urls'
|
||||
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
@@ -103,7 +101,6 @@ TEMPLATES = [
|
||||
|
||||
WSGI_APPLICATION = 'CyberCP.wsgi.application'
|
||||
|
||||
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
|
||||
|
||||
@@ -146,7 +143,6 @@ AUTH_PASSWORD_VALIDATORS = [
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/1.11/topics/i18n/
|
||||
|
||||
@@ -193,4 +189,4 @@ LANGUAGES = (
|
||||
|
||||
MEDIA_URL = '/usr/local/CyberCP/tmp/'
|
||||
MEDIA_ROOT = MEDIA_URL
|
||||
DATA_UPLOAD_MAX_MEMORY_SIZE = 52428800
|
||||
DATA_UPLOAD_MAX_MEMORY_SIZE = 52428800
|
||||
|
||||
Reference in New Issue
Block a user