added ability to change default page

This commit is contained in:
vabene1111
2020-04-13 22:52:02 +02:00
parent 4f49b06704
commit 4e9e628162
6 changed files with 46 additions and 3 deletions

View File

@ -31,7 +31,7 @@ class UserPreferenceForm(forms.ModelForm):
class Meta:
model = UserPreference
fields = ('default_unit', 'theme', 'nav_color')
fields = ('default_unit', 'theme', 'nav_color', 'default_page')
help_texts = {
'nav_color': _('Color of the top navigation bar. Not all colors work with all themes, just try them out!'),