added definition of settingsParameter
All checks were successful
Django Backend Validation / build (ubuntu-latest, 3.10) (push) Successful in 13s
Django Backend Validation / build (ubuntu-latest, 3.11) (push) Successful in 16s
Django Backend Validation / build (debian-latest, 3.10) (push) Successful in 15s
Django Backend Validation / build (debian-latest, 3.11) (push) Successful in 17s
Django Backend Validation / build (debian-latest, 3.12) (push) Successful in 17s
Django Backend Validation / build (ubuntu-latest, 3.12) (push) Successful in 15s
All checks were successful
Django Backend Validation / build (ubuntu-latest, 3.10) (push) Successful in 13s
Django Backend Validation / build (ubuntu-latest, 3.11) (push) Successful in 16s
Django Backend Validation / build (debian-latest, 3.10) (push) Successful in 15s
Django Backend Validation / build (debian-latest, 3.11) (push) Successful in 17s
Django Backend Validation / build (debian-latest, 3.12) (push) Successful in 17s
Django Backend Validation / build (ubuntu-latest, 3.12) (push) Successful in 15s
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
This commit is contained in:
parent
17e61ca66f
commit
c5d42c4d57
23
settings/migrations/0001_initial.py
Normal file
23
settings/migrations/0001_initial.py
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Generated by Django 5.1 on 2024-08-28 13:28
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
initial = True
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='settingsParameter',
|
||||||
|
fields=[
|
||||||
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
|
('parameter_name', models.CharField(max_length=255, unique=True)),
|
||||||
|
('parameter_value', models.CharField(max_length=255)),
|
||||||
|
('parameter_class', models.CharField(blank=True, max_length=255)),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
]
|
||||||
@ -1,3 +1,7 @@
|
|||||||
from django.db import models
|
from django.db import models
|
||||||
|
|
||||||
# Create your models here.
|
# Create your models here.
|
||||||
|
class settingsParameter(models.Model):
|
||||||
|
parameter_name = models.CharField(max_length=255, unique=True, blank=False)
|
||||||
|
parameter_value = models.CharField(max_length=255, blank=False)
|
||||||
|
parameter_class = models.CharField(max_length=255, blank=True)
|
||||||
Loading…
x
Reference in New Issue
Block a user