Advertisement
romarioagros

Untitled

Jul 6th, 2020
1,199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. from django.forms import ModelForm
  2.  
  3. from .models import  Bb
  4.  
  5.  
  6. class BbForm(ModelForm):
  7.     class Meta:
  8.         model = Bb
  9.         fields = ('title', 'content' , 'price' , 'rubric')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement