18 lines
524 B
Python
18 lines
524 B
Python
from django.conf.urls import url
|
|
from django.urls import path
|
|
|
|
from apps.workerslocation.views import views_main
|
|
from apps.workerslocation.views.views_radiusapi import update_object, \
|
|
worker_edit
|
|
|
|
urlpatterns = [
|
|
url(r"^$", views_main.main_index, name="main_index"),
|
|
|
|
|
|
path("update_object/<int:pk>", update_object,
|
|
name="vlocation_update_object_with_id"),
|
|
path("update_object/", update_object, name="vlocation_update_object"),
|
|
|
|
path("workers/edit/<int:pk>/", worker_edit, name="worker_edit")
|
|
]
|