mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -04:00
add django solo models for plugin config
This commit is contained in:
parent
475217a9b7
commit
0f5cc7809e
4 changed files with 36 additions and 1 deletions
12
archivebox/plugins/replaywebpage/models.py
Normal file
12
archivebox/plugins/replaywebpage/models.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
# from solo.models import SingletonModel
|
||||
|
||||
|
||||
# class ReplayWebPageConfiguration(SingletonModel):
|
||||
# site_name = models.CharField(max_length=255, default='Site Name')
|
||||
# maintenance_mode = models.BooleanField(default=False)
|
||||
|
||||
# def __str__(self):
|
||||
# return "Site Configuration"
|
||||
|
||||
# class Meta:
|
||||
# verbose_name = "Site Configuration"
|
|
@ -13,7 +13,6 @@
|
|||
height: 100%;
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue