|
@@ -9,6 +9,7 @@ from core.config import DEBUG
|
|
|
|
|
|
router = routers.SimpleRouter()
|
|
|
router.register(r'sharix-users', SharixUserMVS)
|
|
|
+router.register(r'sharix-users_by_id', SharixUser)
|
|
|
router.register(r'group', GroupMVS)
|
|
|
|
|
|
urlpatterns = [
|
|
@@ -20,6 +21,9 @@ urlpatterns = [
|
|
|
path('logout/', logout_view, name='logoutweb'),
|
|
|
path('balance/', balance, name='balance'),
|
|
|
path('test/', testPage, name='test-page'),
|
|
|
+
|
|
|
+ path('partnership/', partnership, name='partnership'),
|
|
|
+ re_path(r'^partnership/add/(?P<ticketlist>[0-9])/$', createTicket, name='add_ticket'),
|
|
|
|
|
|
path('partners/', login_required(PartnersListView.as_view()), name='partners'),
|
|
|
path('partners/change_status/', change_partners_status, name='partners/change_status'),
|