File size: 162 Bytes
565ab19
 
 
 
 
 
 
1
2
3
4
5
6
7
from django import forms
from .models import WebSite

class WebSiteForm(forms.ModelForm):
    class Meta:
        model = WebSite
        fields = ('name', 'url')