Skip to content

Commit

Permalink
Add icons to registered settings (#484)
Browse files Browse the repository at this point in the history
* Add icons to registered settings
  • Loading branch information
rohitsrma authored Apr 14, 2024
1 parent 1d9247f commit baff48b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bakerydemo/base/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ class FormPage(AbstractEmailForm):
]


@register_setting
@register_setting(icon="cog")
class GenericSettings(ClusterableModel, BaseGenericSetting):
twitter_url = models.URLField(verbose_name="Twitter URL", blank=True)
github_url = models.URLField(verbose_name="GitHub URL", blank=True)
Expand All @@ -498,7 +498,7 @@ class GenericSettings(ClusterableModel, BaseGenericSetting):
]


@register_setting
@register_setting(icon="site")
class SiteSettings(BaseSiteSetting):
title_suffix = models.CharField(
verbose_name="Title suffix",
Expand Down

0 comments on commit baff48b

Please sign in to comment.