1
0
Fork 0
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:
catborise 2020-05-24 19:20:43 +03:00 committed by catborise
parent 7409c197ed
commit 2d5c701789
16 changed files with 279 additions and 60 deletions

8
appsettings/models.py Normal file
View 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)