File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -550,7 +550,7 @@ class FormPage(AbstractEmailForm):
550
550
551
551
552
552
@register_setting (icon = "cog" )
553
- class GenericSettings (ClusterableModel , BaseGenericSetting ):
553
+ class GenericSettings (ClusterableModel , PreviewableMixin , BaseGenericSetting ):
554
554
mastodon_url = models .URLField (verbose_name = "Mastodon URL" , blank = True )
555
555
github_url = models .URLField (verbose_name = "GitHub URL" , blank = True )
556
556
organisation_url = models .URLField (verbose_name = "Organisation URL" , blank = True )
@@ -566,6 +566,9 @@ class GenericSettings(ClusterableModel, BaseGenericSetting):
566
566
)
567
567
]
568
568
569
+ def get_preview_template (self , request , mode_name ):
570
+ return "base.html"
571
+
569
572
570
573
@register_setting (icon = "site" )
571
574
class SiteSettings (BaseSiteSetting ):
You can’t perform that action at this time.
0 commit comments