forms.py 199 B

123456789
  1. from django.forms import ModelForm
  2. from .models import Bookmark
  3. class BookmarkForm(ModelForm):
  4. class Meta:
  5. model = Bookmark
  6. exclude = ('date_created', 'date_updated', 'owner')