from django.forms import ModelForm

from condottieri_profiles.models import CondottieriProfile

class ProfileForm(ModelForm):
	class Meta:
		model = CondottieriProfile
		exclude = ('user', 'badges')

from django.forms import ModelForm

from condottieri_profiles.models import CondottieriProfile

class ProfileForm(ModelForm):
	class Meta:
		model = CondottieriProfile
		exclude = ('user', 'badges', 'is_editor')

exclude is_editor from profile form