Skip to content

Commit

Permalink
Changed the nomcom announcement pages to sit in the /ann/ tree.
Browse files Browse the repository at this point in the history
 - Legacy-Id: 1412
  • Loading branch information
levkowetz committed Mar 22, 2009
1 parent c9f79f9 commit c020b00
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions ietf/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright The IETF Trust 2007, All Rights Reserved

__version__ = "2.21"
__version__ = "2.22-dev"

__date__ = "$Date$"

__rev__ = "$Rev$"
__rev__ = "$Rev$ (dev) Latest release: Rev. 1410 "

__id__ = "$Id$"
6 changes: 3 additions & 3 deletions ietf/announcements/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

urlpatterns = patterns('',
# (r'^nomcom/$', 'django.views.generic.simple.redirect_to', {'url': 'http://www.ietf.org/nomcom/index.html'} ),
(r'^$', 'ietf.announcements.views.all'),
(r'^chairs/', 'ietf.announcements.views.chairs'),
(r'^(?P<object_id>\d+)/$', 'django.views.generic.list_detail.object_detail', nomcom_dict)
(r'^nomcom/$', 'ietf.announcements.views.nomcom'),
(r'^nomcom/chairs/', 'ietf.announcements.views.nomcom_chairs'),
(r'^nomcom/(?P<object_id>\d+)/$', 'django.views.generic.list_detail.object_detail', nomcom_dict)
)
4 changes: 2 additions & 2 deletions ietf/announcements/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from ietf.idtracker.models import Role
from ietf.announcements.models import Announcement

def all(request):
def nomcom(request):
curr_chair = (ChairsHistory.objects.
get(chair_type=Role.NOMCOM_CHAIR, present_chair='1'))

Expand All @@ -33,7 +33,7 @@ def all(request):
{ 'curr_chair' : curr_chair,
'regimes' : regimes })

def chairs(request):
def nomcom_chairs(request):
all_chairs = (ChairsHistory.objects.all().
filter(chair_type='3',start_year__gt = 2003).
order_by('-start_year'))
Expand Down
4 changes: 2 additions & 2 deletions ietf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

BASE_DIR = os.path.dirname(os.path.abspath(__file__))

DEBUG = False
DEBUG = True
TEMPLATE_DEBUG = DEBUG

# Domain name of the IETF
Expand Down Expand Up @@ -153,7 +153,7 @@
# Valid values:
# 'production', 'test', 'development'
# Override this in settings_local.py if it's not true
SERVER_MODE = 'production'
SERVER_MODE = 'development'

# The name of the method to use to invoke the test suite
TEST_RUNNER = 'ietf.tests.run_tests'
Expand Down
2 changes: 1 addition & 1 deletion ietf/templates/announcements/nomcom.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h3>Messages from 2002-2003 NomCom</h3>

<h3>Historical Information</h3>

<li><a href="/nomcom/chairs">IAB/IESG Nominating Committee Chairs (by year)</a>
<li><a href="chairs">IAB/IESG Nominating Committee Chairs (by year)</a>

<li><a href="http://www.ietf.org/NomCom.html">IAB/IESG Nominating Committee Members (by year)</a>
<h3>References</h3>
Expand Down
1 change: 0 additions & 1 deletion ietf/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
(r'^meeting/', include('ietf.meeting.urls')),
(r'^accounts/', include('ietf.ietfauth.urls')),
(r'^doc/', include('ietf.idrfc.urls')),
(r'^nomcom/', include('ietf.announcements.urls')),

(r'^$', 'ietf.redirects.views.redirect'),

Expand Down

0 comments on commit c020b00

Please sign in to comment.