Frontpage root level only

This commit is contained in:
Oleg Lavrovsky 2017-03-13 17:56:33 +01:00
parent b6235534ae
commit b536af96ab
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-03-13 16:55
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('home', '0007_articlepage_date'),
]
operations = [
migrations.AlterModelOptions(
name='homepage',
options={'verbose_name': 'Frontpage'},
),
]

View file

@ -184,5 +184,6 @@ class HomePage(Page):
context['featured'] = featured
return context
parent_page_types = []
class Meta:
verbose_name = "Frontpage"