Skip to content
Snippets Groups Projects
Commit e60a9c2f authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

run hooks

parent d94f0cdb
No related branches found
No related tags found
No related merge requests found
Pipeline #14465 passed
...@@ -5,12 +5,12 @@ from shared.admin import MarkdownxGuardedModelAdmin ...@@ -5,12 +5,12 @@ from shared.admin import MarkdownxGuardedModelAdmin
from .forms import LectureGroupTypeFormset from .forms import LectureGroupTypeFormset
from .models import ( from .models import (
Lecture, Lecture,
LectureCategory,
LectureGroup, LectureGroup,
LectureGroupType, LectureGroupType,
LectureLector, LectureLector,
LectureMaterial, LectureMaterial,
LectureRecording, LectureRecording,
LectureCategory,
) )
# Register your models here. # Register your models here.
......
# Generated by Django 4.1.4 on 2023-09-05 13:09 # Generated by Django 4.1.4 on 2023-09-05 13:09
from django.db import migrations, models
import django.db.models.deletion import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration): class Migration(migrations.Migration):
......
...@@ -115,10 +115,7 @@ class LectureGroupType(models.Model): ...@@ -115,10 +115,7 @@ class LectureGroupType(models.Model):
class LectureCategory(models.Model): class LectureCategory(models.Model):
name = models.CharField( name = models.CharField(max_length=32, verbose_name="Jméno")
max_length=32,
verbose_name="Jméno"
)
def __str__(self) -> str: def __str__(self) -> str:
return self.name return self.name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment