Add custom css background
This commit is contained in:
parent
036509c47f
commit
5f80859022
7 changed files with 148 additions and 80 deletions
24
judge/migrations/0168_css_background.py
Normal file
24
judge/migrations/0168_css_background.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Generated by Django 3.2.18 on 2023-09-02 00:30
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("judge", "0167_ultimate_contest_format"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="profile",
|
||||
name="css_background",
|
||||
field=models.TextField(
|
||||
blank=True,
|
||||
help_text='CSS custom background properties: url("image_url"), color, etc',
|
||||
max_length=300,
|
||||
null=True,
|
||||
verbose_name="Custom background",
|
||||
),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue