mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	Fix admin urls not included into main urls.py
This commit is contained in:
		
							parent
							
								
									27f62dff6c
								
							
						
					
					
						commit
						2a0d240038
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -2,16 +2,14 @@ from django.urls import include, path
 | 
			
		|||
 | 
			
		||||
from instances.views import index
 | 
			
		||||
from console.views import console
 | 
			
		||||
# from django.contrib import admin
 | 
			
		||||
 | 
			
		||||
urlpatterns = [
 | 
			
		||||
    path('', index, name='index'),
 | 
			
		||||
 | 
			
		||||
    path('admin/', include(('admin.urls', 'admin'), namespace='admin')),
 | 
			
		||||
    path('instances/', include('instances.urls')),
 | 
			
		||||
    path('accounts/', include('accounts.urls')),
 | 
			
		||||
    path('computes/', include('computes.urls')),
 | 
			
		||||
    path('logs/', include('logs.urls')),
 | 
			
		||||
    path('datasource/', include('datasource.urls')),
 | 
			
		||||
    path('console/', console, name='console'),
 | 
			
		||||
    # url(r'^admin/', include(admin.site.urls)),
 | 
			
		||||
]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue