mirror of
				https://github.com/jumpserver/jumpserver.git
				synced 2025-11-04 07:55:39 +00:00 
			
		
		
		
	[Doc] 添加doc
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
python ../apps/manage.py shell << EOF
 | 
			
		||||
python2.7 ../apps/manage.py shell << EOF
 | 
			
		||||
from users.models import *
 | 
			
		||||
init_all_models()
 | 
			
		||||
 | 
			
		||||
@@ -10,9 +10,9 @@ init_all_models()
 | 
			
		||||
EOF
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
python ../apps/manage.py dbshell << EOF
 | 
			
		||||
python2.7 ../apps/manage.py dbshell << EOF
 | 
			
		||||
delete from django_content_type;
 | 
			
		||||
delete from auth_permission;
 | 
			
		||||
EOF
 | 
			
		||||
 | 
			
		||||
python ../apps/manage.py dumpdata > ../apps/fixtures/init.json
 | 
			
		||||
python2.7 ../apps/manage.py dumpdata > ../apps/fixtures/init.json
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user