Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion osf/models/registrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ class DraftRegistration(ObjectIDMixin, RegistrationResponseMixin, DirtyFieldsMix
'node_license',
]

URL_TEMPLATE = settings.DOMAIN + 'registries/drafts/{draft_id}'
URL_TEMPLATE = settings.DOMAIN + 'registries/drafts/{draft_id}/review'

# Overrides EditableFieldsMixin to make title not required
title = models.TextField(validators=[validate_title], blank=True, default='')
Expand Down
2 changes: 1 addition & 1 deletion osf_tests/test_draft_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def test_draft_registration_url(self):
project = factories.ProjectFactory()
draft = factories.DraftRegistrationFactory(branched_from=project)

assert draft.url == settings.DOMAIN + f'registries/drafts/{draft._id}'
assert draft.url == settings.DOMAIN + f'registries/drafts/{draft._id}/review'

def test_create_from_node_existing(self, user):
node = factories.ProjectFactory(creator=user)
Expand Down
Loading