3from rest_framework.permissions import IsAuthenticated
4from rest_framework.response import Response
5
6from authentication.task import * 7from bulkmailer.celery import app
8from mailer.serializers import *
9
1from django.urls import path
2
3from .views import * 4
5urlpatterns = [
6 path("create_group/", CreateGroup.as_view()),
6from django.core.exceptions import ValidationError
7from rest_framework import serializers
8
9from authentication.task import * 10from bulkmailer.celery import app
11
12from .models import *
3from import_export.fields import Field
4from import_export.widgets import ForeignKeyWidget
5
6from authentication.models import * 7
8
9# Create your models here.
3from rest_framework.response import Response
4
5from .models import *
6from .serializers import * 7
8
9# API for sending OTP.
In a wildcard import, all public names defined in the module are imported. It is advised to explicitly import the values needed or modify the module being imported from and define all to restrict the names to be imported.