forms.py 234 Bytes
#-*- coding:utf-8 -*-

from django.forms import ModelForm
from accounts.models import UserSettings

class SettingsForm(ModelForm):
    class Meta:
        model = UserSettings
        fields = ['incremental_search', 'notes_per_page']