Add profile drop down and clean up sidebar
This commit is contained in:
		
							parent
							
								
									525a2a9378
								
							
						
					
					
						commit
						7a153c46e6
					
				
					 6 changed files with 50 additions and 111 deletions
				
			
		| 
						 | 
				
			
			@ -1,10 +1,11 @@
 | 
			
		|||
from django.urls import path
 | 
			
		||||
 | 
			
		||||
from accounts.views import login_view, dashboard, customer_list, add_customer_ajax, edit_customer_ajax, get_customer_data
 | 
			
		||||
from accounts.views import login_view, dashboard, customer_list, add_customer_ajax, edit_customer_ajax, get_customer_data, logout_view
 | 
			
		||||
 | 
			
		||||
app_name = "accounts"
 | 
			
		||||
urlpatterns = [
 | 
			
		||||
    path('login/', login_view, name='login'),
 | 
			
		||||
    path('logout/', logout_view, name='logout'),
 | 
			
		||||
    path('dashboard/', dashboard, name='dashboard'),
 | 
			
		||||
    path('customers/', customer_list, name='customer_list'),
 | 
			
		||||
    path('customers/add/', add_customer_ajax, name='add_customer_ajax'),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue