mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-27 00:54:54 +00:00
jira-34 referral code validation API
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
from django.urls import path, include
|
||||
from .views import (UpdateJuniorProfile, ValidateGuardianCode, JuniorListAPIView, AddJuniorAPIView,
|
||||
InvitedJuniorAPIView, FilterJuniorAPIView, RemoveJuniorAPIView, JuniorTaskListAPIView,
|
||||
CompleteJuniorTaskAPIView, JuniorPointsListAPIView)
|
||||
CompleteJuniorTaskAPIView, JuniorPointsListAPIView, ValidateReferralCode)
|
||||
"""Third party import"""
|
||||
from rest_framework import routers
|
||||
|
||||
@ -36,6 +36,8 @@ router.register('filter-junior', FilterJuniorAPIView, basename='filter-junior')
|
||||
router.register('junior-task-list', JuniorTaskListAPIView, basename='junior-task-list')
|
||||
# junior's task list API"""
|
||||
router.register('junior-points', JuniorPointsListAPIView, basename='junior-points')
|
||||
# validate referral code API"""
|
||||
router.register('validate-referral-code', ValidateReferralCode, basename='validate-referral-code')
|
||||
# Define url pattern"""
|
||||
urlpatterns = [
|
||||
path('api/v1/', include(router.urls)),
|
||||
|
||||
Reference in New Issue
Block a user