forms.py 234 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 #-*- 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']