Change the default initial state for a WG document to 'WG Document', instead of 'Call for Adoption ...'.
- Legacy-Id: 3143
This commit is contained in:
commit
ddd0a7494b
|
@ -171,7 +171,7 @@ class InternetDraft(models.Model):
|
|||
review_by_rfc_editor = models.BooleanField()
|
||||
expired_tombstone = models.BooleanField()
|
||||
idinternal = FKAsOneToOne('idinternal', reverse=True, query=models.Q(rfc_flag = 0))
|
||||
shepherd = models.ForeignKey('PersonOrOrgInfo', null=True, blank=True)
|
||||
shepherd = BrokenForeignKey('PersonOrOrgInfo', null=True, blank=True, null_values=(0, ))
|
||||
def __str__(self):
|
||||
return self.filename
|
||||
def save(self, *args, **kwargs):
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<django-objects version="1.0">
|
||||
<object pk="1" model="workflows.workflow">
|
||||
<field type="CharField" name="name">Default WG Workflow</field>
|
||||
<field to="workflows.state" name="initial_state" rel="ManyToOneRel">11</field>
|
||||
<field to="workflows.state" name="initial_state" rel="ManyToOneRel">14</field>
|
||||
</object>
|
||||
<object pk="2" model="workflows.workflow">
|
||||
<field type="CharField" name="name">IAB Workflow</field>
|
||||
|
|
|
@ -78,14 +78,14 @@ class Migration:
|
|||
|
||||
# Adding model 'objectannotationtaghistoryentry'
|
||||
db.create_table('ietfworkflows_objectannotationtaghistoryentry', (
|
||||
('comment', orm['ietfworkflows.objectworkflowhistoryentry:comment']),
|
||||
('person', orm['ietfworkflows.objectworkflowhistoryentry:person']),
|
||||
('unsetted', orm['ietfworkflows.objectworkflowhistoryentry:unsetted']),
|
||||
('content_type', orm['ietfworkflows.objectworkflowhistoryentry:content_type']),
|
||||
('change_date', orm['ietfworkflows.objectworkflowhistoryentry:change_date']),
|
||||
('setted', orm['ietfworkflows.objectworkflowhistoryentry:setted']),
|
||||
('content_id', orm['ietfworkflows.objectworkflowhistoryentry:content_id']),
|
||||
('id', orm['ietfworkflows.objectworkflowhistoryentry:id']),
|
||||
('comment', orm['ietfworkflows.objectannotationtaghistoryentry:comment']),
|
||||
('person', orm['ietfworkflows.objectannotationtaghistoryentry:person']),
|
||||
('unsetted', orm['ietfworkflows.objectannotationtaghistoryentry:unsetted']),
|
||||
('content_type', orm['ietfworkflows.objectannotationtaghistoryentry:content_type']),
|
||||
('change_date', orm['ietfworkflows.objectannotationtaghistoryentry:change_date']),
|
||||
('setted', orm['ietfworkflows.objectannotationtaghistoryentry:setted']),
|
||||
('content_id', orm['ietfworkflows.objectannotationtaghistoryentry:content_id']),
|
||||
('id', orm['ietfworkflows.objectannotationtaghistoryentry:id']),
|
||||
))
|
||||
db.send_create_signal('ietfworkflows', ['objectannotationtaghistoryentry'])
|
||||
|
||||
|
|
Loading…
Reference in a new issue