mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-11-03 18:43:04 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			731 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			731 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from django.conf.urls import url, include
 | 
						|
 | 
						|
from counter.views import *
 | 
						|
 | 
						|
urlpatterns = [
 | 
						|
    url(r'^(?P<counter_id>[0-9]+)$', CounterMain.as_view(), name='details'),
 | 
						|
    url(r'^(?P<counter_id>[0-9]+)/click$', CounterClick.as_view(), name='click'),
 | 
						|
    url(r'^(?P<counter_id>[0-9]+)/login$', CounterLogin.as_view(), name='login'),
 | 
						|
    url(r'^(?P<counter_id>[0-9]+)/logout$', CounterLogout.as_view(), name='logout'),
 | 
						|
    url(r'^admin/(?P<counter_id>[0-9]+)$', CounterEditView.as_view(), name='admin'),
 | 
						|
    url(r'^admin$', CounterListView.as_view(), name='admin_list'),
 | 
						|
    url(r'^admin/new$', CounterCreateView.as_view(), name='new'),
 | 
						|
    url(r'^admin/delete/(?P<counter_id>[0-9]+)$', CounterDeleteView.as_view(), name='delete'),
 | 
						|
]
 | 
						|
 | 
						|
 |