from main import views code example
Example: import views
from django.shortcuts import render, redirect
from django.urls import reverse_lazy
from django.contrib.auth.models import User
from django.contrib.auth import authenticate, login
from .forms import UserRegistrationForm
from django.views.generic import (CreateView, ListView, DetailView, UpdateView, DeleteView, TemplateView)