14 lines
		
	
	
		
			573 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			573 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
| from django.urls import path
 | |
| from apps.develop.views import BackupDatabase, BackupMedia, ReloadClientGit, ReloadServerGit, ReloadServerOnly
 | |
| 
 | |
| API_BASE_URL = 'api/develop/'
 | |
| HTML_BASE_URL = 'develop/'
 | |
| 
 | |
| urlpatterns = [
 | |
|     path(API_BASE_URL + 'reload_server_git/', ReloadServerGit.as_view()),
 | |
|     path(API_BASE_URL + 'reload_web_git/', ReloadClientGit.as_view()),
 | |
|     path(API_BASE_URL + 'reload_server_only/', ReloadServerOnly.as_view()),
 | |
|     path(API_BASE_URL + 'backup_database/', BackupDatabase.as_view()),
 | |
|     path(API_BASE_URL + 'backup_media/', BackupMedia.as_view())
 | |
| ]
 |