first commit
This commit is contained in:
		
						commit
						b71ea45681
					
				
					 898 changed files with 138202 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								accounts/urls.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								accounts/urls.py
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,13 @@
 | 
			
		|||
from django.urls import path
 | 
			
		||||
 | 
			
		||||
from accounts.views import login_view, dashboard, customer_list, add_customer_ajax, edit_customer_ajax, get_customer_data
 | 
			
		||||
 | 
			
		||||
app_name = "accounts"
 | 
			
		||||
urlpatterns = [
 | 
			
		||||
    path('login/', login_view, name='login'),
 | 
			
		||||
    path('dashboard/', dashboard, name='dashboard'),
 | 
			
		||||
    path('customers/', customer_list, name='customer_list'),
 | 
			
		||||
    path('customers/add/', add_customer_ajax, name='add_customer_ajax'),
 | 
			
		||||
    path('customers/<int:customer_id>/data/', get_customer_data, name='get_customer_data'),
 | 
			
		||||
    path('customers/<int:customer_id>/edit/', edit_customer_ajax, name='edit_customer_ajax'),
 | 
			
		||||
]
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue