Source

django-pim / sitetracker / forms.py

Full commit
from django import forms
from sitetracker.models import HostingProvider, Server, Domain

class HostingProviderForm(forms.ModelForm):
    class Meta:
        model = HostingProvider
        exclude = ('slug',)

class ServerForm(forms.ModelForm):
    class Meta:
        model = Server
        exclude = ('slug',)

class DomainForm(forms.ModelForm):
    class Meta:
        model = Domain
        exclude = ('projects',)