Removed initial migration cause we work over a database in wich this application already exists. Fixes #562

- Legacy-Id: 2702
This commit is contained in:
Emilio A. Sánchez López 2010-12-09 12:29:44 +00:00
parent ebb962c012
commit 3bc02edcac
3 changed files with 10 additions and 1069 deletions

File diff suppressed because it is too large Load diff

View file

@ -47,4 +47,6 @@ class ObjectAnnotationTagHistoryEntry(models.Model):
class WGWorkflow(Workflow):
pass
class Meta:
proxy = True

View file

@ -5,6 +5,7 @@ from django.http import HttpResponseForbidden
from ietf.wgchairs.forms import RemoveDelegateForm, add_form_factory
from ietf.wgchairs.accounts import can_manage_delegates_in_group
from ietf.ietfworkflows.utils import get_workflow_for_wg
def manage_delegates(request, acronym):
@ -28,11 +29,13 @@ def manage_delegates(request, acronym):
'selected': 'manage_delegates',
'can_add': delegates.count() < 3,
'add_form': add_form,
},
RequestContext(request))
}, RequestContext(request))
def manage_workflow(request, acronym):
wg = get_object_or_404(IETFWG, group_acronym__acronym=acronym, group_type=1)
concluded = (wg.status_id != 1)
return render_to_response('wginfo/wg_charter.html', {'wg': wg, 'concluded': concluded, 'selected': 'manage_workflow'}, RequestContext(request))
workflow = get_workflow_for_wg(wg)
return render_to_response('wgchairs/manage_workflow.html',
{'wg': wg,
'workflow': workflow,
}, RequestContext(request))