mirror of https://github.com/jumpserver/jumpserver
				
				
				
			update settings for myself, use sqlite
							parent
							
								
									b3f83c3362
								
							
						
					
					
						commit
						3ab0c94496
					
				| 
						 | 
				
			
			@ -99,23 +99,23 @@ WSGI_APPLICATION = 'jumpserver.wsgi.application'
 | 
			
		|||
# Database
 | 
			
		||||
# https://docs.djangoproject.com/en/1.7/ref/settings/#databases
 | 
			
		||||
 | 
			
		||||
DATABASES = {
 | 
			
		||||
    'default': {
 | 
			
		||||
        'ENGINE': 'django.db.backends.mysql',
 | 
			
		||||
        'NAME': DB_DATABASE,
 | 
			
		||||
        'USER': DB_USER,
 | 
			
		||||
        'PASSWORD': DB_PASSWORD,
 | 
			
		||||
        'HOST': DB_HOST,
 | 
			
		||||
        'PORT': DB_PORT,
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# DATABASES = {
 | 
			
		||||
#     'default': {
 | 
			
		||||
#         'ENGINE': 'django.db.backends.sqlite3',
 | 
			
		||||
#         'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
 | 
			
		||||
#         'ENGINE': 'django.db.backends.mysql',
 | 
			
		||||
#         'NAME': DB_DATABASE,
 | 
			
		||||
#         'USER': DB_USER,
 | 
			
		||||
#         'PASSWORD': DB_PASSWORD,
 | 
			
		||||
#         'HOST': DB_HOST,
 | 
			
		||||
#         'PORT': DB_PORT,
 | 
			
		||||
#     }
 | 
			
		||||
# }
 | 
			
		||||
 | 
			
		||||
DATABASES = {
 | 
			
		||||
    'default': {
 | 
			
		||||
        'ENGINE': 'django.db.backends.sqlite3',
 | 
			
		||||
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
TEMPLATE_CONTEXT_PROCESSORS = (
 | 
			
		||||
    'django.contrib.auth.context_processors.auth',
 | 
			
		||||
    'django.core.context_processors.debug',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue