Frontpage root level only
This commit is contained in:
parent
b6235534ae
commit
b536af96ab
2 changed files with 20 additions and 0 deletions
19
publichealth/home/migrations/0008_auto_20170313_1755.py
Normal file
19
publichealth/home/migrations/0008_auto_20170313_1755.py
Normal 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'},
|
||||||
|
),
|
||||||
|
]
|
|
@ -184,5 +184,6 @@ class HomePage(Page):
|
||||||
context['featured'] = featured
|
context['featured'] = featured
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
parent_page_types = []
|
||||||
class Meta:
|
class Meta:
|
||||||
verbose_name = "Frontpage"
|
verbose_name = "Frontpage"
|
Loading…
Reference in a new issue