diff --git a/apps/config/migrations/0012_auto_20181210_1729.py b/apps/config/migrations/0012_auto_20181210_1729.py new file mode 100644 index 00000000..b3147779 --- /dev/null +++ b/apps/config/migrations/0012_auto_20181210_1729.py @@ -0,0 +1,23 @@ +# Generated by Django 2.0.7 on 2018-12-10 17:29 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('config', '0011_config_main_page_video_url'), + ] + + operations = [ + migrations.AddField( + model_name='config', + name='SERVICE_OK_URL', + field=models.URLField(default='#', max_length=126), + ), + migrations.AddField( + model_name='config', + name='SERVICE_VK_URL', + field=models.URLField(default='#', max_length=126), + ), + ] diff --git a/apps/config/models.py b/apps/config/models.py index e1db51bc..d6fed883 100644 --- a/apps/config/models.py +++ b/apps/config/models.py @@ -10,6 +10,8 @@ class Config(models.Model): SERVICE_INSTAGRAM_URL = models.URLField(max_length=126, default='#') SERVICE_TWITTER_URL = models.URLField(max_length=126, default='#') SERVICE_FB_URL = models.URLField(max_length=126, default='#') + SERVICE_VK_URL = models.URLField(max_length=126, default='#') + SERVICE_OK_URL = models.URLField(max_length=126, default='#') SERVICE_YOUTUBE_URL = models.URLField(max_length=126, default='#') SERVICE_TELEGRAM_CHANNEL = models.URLField(max_length=126, default='https://t.me/lilschool') SERVICE_COMMISSION = models.IntegerField(default=10) diff --git a/project/templates/blocks/footer.html b/project/templates/blocks/footer.html index bab29b46..b1d37518 100644 --- a/project/templates/blocks/footer.html +++ b/project/templates/blocks/footer.html @@ -10,40 +10,54 @@