mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2025-06-29 00:35:45 +08:00
Autocreate superuser from .env file as well as autogenerate year level and course records
This commit is contained in:
parent
48f6bee125
commit
ceba84acb5
16 changed files with 174 additions and 4 deletions
22
stude/year_levels/migrations/0001_initial.py
Normal file
22
stude/year_levels/migrations/0001_initial.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Generated by Django 4.2.2 on 2023-06-27 07:16
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Year_Level',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=64)),
|
||||
('shortname', models.CharField(max_length=16)),
|
||||
],
|
||||
),
|
||||
]
|
0
stude/year_levels/migrations/__init__.py
Normal file
0
stude/year_levels/migrations/__init__.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue