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
24
appsettings/migrations/0001_initial.py
Normal file
24
appsettings/migrations/0001_initial.py
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Generated by Django 2.2.12 on 2020-05-23 15:53
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='AppSettings',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=25)),
|
||||
('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