Skip to content

Commit ddd0a74

Browse files
committed
Change the default initial state for a WG document to 'WG Document', instead of 'Call for Adoption ...'.
- Legacy-Id: 3143
2 parents ed91fdd + 532b3eb commit ddd0a74

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

ietf/idtracker/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class InternetDraft(models.Model):
171171
review_by_rfc_editor = models.BooleanField()
172172
expired_tombstone = models.BooleanField()
173173
idinternal = FKAsOneToOne('idinternal', reverse=True, query=models.Q(rfc_flag = 0))
174-
shepherd = models.ForeignKey('PersonOrOrgInfo', null=True, blank=True)
174+
shepherd = BrokenForeignKey('PersonOrOrgInfo', null=True, blank=True, null_values=(0, ))
175175
def __str__(self):
176176
return self.filename
177177
def save(self, *args, **kwargs):

ietf/ietfworkflows/fixtures/initial_data.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<django-objects version="1.0">
33
<object pk="1" model="workflows.workflow">
44
<field type="CharField" name="name">Default WG Workflow</field>
5-
<field to="workflows.state" name="initial_state" rel="ManyToOneRel">11</field>
5+
<field to="workflows.state" name="initial_state" rel="ManyToOneRel">14</field>
66
</object>
77
<object pk="2" model="workflows.workflow">
88
<field type="CharField" name="name">IAB Workflow</field>

ietf/ietfworkflows/migrations/0008_refactor_history_entries.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ def backwards(self, orm):
7878

7979
# Adding model 'objectannotationtaghistoryentry'
8080
db.create_table('ietfworkflows_objectannotationtaghistoryentry', (
81-
('comment', orm['ietfworkflows.objectworkflowhistoryentry:comment']),
82-
('person', orm['ietfworkflows.objectworkflowhistoryentry:person']),
83-
('unsetted', orm['ietfworkflows.objectworkflowhistoryentry:unsetted']),
84-
('content_type', orm['ietfworkflows.objectworkflowhistoryentry:content_type']),
85-
('change_date', orm['ietfworkflows.objectworkflowhistoryentry:change_date']),
86-
('setted', orm['ietfworkflows.objectworkflowhistoryentry:setted']),
87-
('content_id', orm['ietfworkflows.objectworkflowhistoryentry:content_id']),
88-
('id', orm['ietfworkflows.objectworkflowhistoryentry:id']),
81+
('comment', orm['ietfworkflows.objectannotationtaghistoryentry:comment']),
82+
('person', orm['ietfworkflows.objectannotationtaghistoryentry:person']),
83+
('unsetted', orm['ietfworkflows.objectannotationtaghistoryentry:unsetted']),
84+
('content_type', orm['ietfworkflows.objectannotationtaghistoryentry:content_type']),
85+
('change_date', orm['ietfworkflows.objectannotationtaghistoryentry:change_date']),
86+
('setted', orm['ietfworkflows.objectannotationtaghistoryentry:setted']),
87+
('content_id', orm['ietfworkflows.objectannotationtaghistoryentry:content_id']),
88+
('id', orm['ietfworkflows.objectannotationtaghistoryentry:id']),
8989
))
9090
db.send_create_signal('ietfworkflows', ['objectannotationtaghistoryentry'])
9191

0 commit comments

Comments
 (0)