mirror of
https://github.com/Hopiu/django.git
synced 2026-03-18 23:10:27 +00:00
8 lines
157 B
Python
8 lines
157 B
Python
from django.views.generic.edit import UpdateView
|
|
|
|
from .models import Article
|
|
|
|
|
|
class ArticleFormView(UpdateView):
|
|
model = Article
|
|
success_url = '/'
|