From 0bd9ce0fb3eb3664223df422e2c7e4c232a05a06 Mon Sep 17 00:00:00 2001 From: Steven H Johnson <shjohnson.pi@gmail.com> Date: Tue, 14 Jun 2016 22:16:10 -0400 Subject: [PATCH] Remove 'Supporters' from sponsor page and remove 'Standard' from corporate patrons on sponser page --- .../migrations/0002_rename_corp_patron.py | 20 +++++++++++++++++++ sponsors/models.py | 2 +- .../templates/sponsors/view_sponsors.html | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 sponsors/migrations/0002_rename_corp_patron.py diff --git a/sponsors/migrations/0002_rename_corp_patron.py b/sponsors/migrations/0002_rename_corp_patron.py new file mode 100644 index 0000000..821682e --- /dev/null +++ b/sponsors/migrations/0002_rename_corp_patron.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.1 on 2016-06-15 02:14 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('sponsors', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='company', + name='sponsor_level', + field=models.PositiveSmallIntegerField(choices=[(0, 'None'), (1, 'Title & Exhibition Sponsor'), (2, 'Special Event Sponsor'), (3, 'Distinguished Sponsor'), (4, 'Distinguished Corporate Patron'), (5, 'Corporate Patron')], default=0), + ), + ] diff --git a/sponsors/models.py b/sponsors/models.py index 904838f..6fc5d51 100644 --- a/sponsors/models.py +++ b/sponsors/models.py @@ -23,7 +23,7 @@ class Company(models.Model): (LEVEL_SPONSOR_SPECIAL_EVENT, "Special Event Sponsor"), (LEVEL_SPONSOR_DISTINGUISHED, "Distinguished Sponsor"), (LEVEL_CORP_PATRON_DISTINGUISHED, "Distinguished Corporate Patron"), - (LEVEL_CORP_PATRON_STANDARD, "Standard Corporate Patron"), + (LEVEL_CORP_PATRON_STANDARD, "Corporate Patron"), ) name = models.CharField(max_length=MAX_LENGTH, unique=True) diff --git a/sponsors/templates/sponsors/view_sponsors.html b/sponsors/templates/sponsors/view_sponsors.html index 9674e28..fdcaa8d 100644 --- a/sponsors/templates/sponsors/view_sponsors.html +++ b/sponsors/templates/sponsors/view_sponsors.html @@ -5,7 +5,7 @@ {% block main %} -<h2>Official Sponsors & Supporters</h2> +<h2>Official Sponsors</h2> <div class="mytabs"> <ul id="menu" class="menu"> -- GitLab