mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Add Settings page: Move theme & lang changer to settings page
This commit is contained in:
parent
7409c197ed
commit
2d5c701789
16 changed files with 279 additions and 60 deletions
8
appsettings/models.py
Normal file
8
appsettings/models.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from django.db import models
|
||||
|
||||
|
||||
class AppSettings(models.Model):
|
||||
name = models.CharField(max_length=25, null=False)
|
||||
key = models.CharField(max_length=50, unique=True)
|
||||
value = models.CharField(max_length=25)
|
||||
description=models.CharField(max_length=100, null=True)
|
||||
Loading…
Add table
Add a link
Reference in a new issue