📜  导入视图 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:12.487000             🧑  作者: Mango

代码示例1
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)