diff --git a/htmleditor/migrations/0025_add_index_view.py b/htmleditor/migrations/0025_add_index_view.py new file mode 100644 index 0000000000000000000000000000000000000000..f193bef4d5098306c1314bdd22446bfbd603bfd9 --- /dev/null +++ b/htmleditor/migrations/0025_add_index_view.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.1 on 2016-06-25 15:47 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('htmleditor', '0024_banner_sort'), + ] + + operations = [ + migrations.AlterField( + model_name='navigationnode', + name='view', + field=models.CharField(blank=True, choices=[('admin:index', 'Admin'), ('usta:alumni_reunion_form', 'Alumni Reunion Form'), ('usta:college_coaches', 'College Coaches'), ('contact_form:contact_form', 'Contact Form'), ('usta:draws_latest', 'Draws'), ('usta:index', 'Home'), ('htmleditor:news_latest', 'Latest News'), ('usta:potd_latest', 'Latest Players of the Day'), ('account_man:login', 'Login'), ('usta:map', 'Map Locations'), ('usta:player_list', 'Player List'), ('sponsors:view_sponsors', 'Sponsors'), ('volunteer:view_volunteer_topics', 'Volunteer Topics')], default='', help_text='This overrides document and any tab documents if set.', max_length=100), + ), + ] diff --git a/htmleditor/models.py b/htmleditor/models.py index 512ad271c05312d30847b3ffebc409b72fe413dc..187073712be42251650e180be73cbaf973b0e1f3 100644 --- a/htmleditor/models.py +++ b/htmleditor/models.py @@ -217,6 +217,7 @@ class NavigationNode(SortableMixin): VIEW_PLAYER = 'usta:player_list' VIEW_CONTACT_FORM = 'contact_form:contact_form' VIEW_DRAWS = 'usta:draws_latest' + VIEW_HOME = 'usta:index' VIEW_LOGIN = settings.LOGIN_URL VIEW_CHOICES = ( (VIEW_ADMIN, "Admin"), @@ -224,6 +225,7 @@ class NavigationNode(SortableMixin): (VIEW_COLLEGE_COACHES, "College Coaches"), (VIEW_CONTACT_FORM, 'Contact Form'), (VIEW_DRAWS, 'Draws'), + (VIEW_HOME, 'Home'), (VIEW_LATEST_NEWS, "Latest News"), (VIEW_LATEST_POTD, "Latest Players of the Day"), (VIEW_LOGIN, 'Login'),