Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #125 from mozilla/dev

Merging up from dev to stage
  • Loading branch information...
commit 474d09e12af914d76221d1f1aaa328d2fc577ae8 2 parents 4095e6c + b0dea3e
@rossbruniges rossbruniges authored
Showing with 8 additions and 3 deletions.
  1. +8 −3 apps/challenges/
11 apps/challenges/
@@ -413,15 +413,20 @@ def phase_slug(self):
return 'apps'
def get_absolute_url(self):
- """Return this submission's URL."""
+ """
+ Return this submission's URL
+ """
if self.parent_slug and self.phase_slug:
return self._lookup_url('entry_show', {'entry_id': self.parent_slug,
'phase': self.phase_slug})
return u''
def get_edit_url(self):
- """Return the URL to edit this submission."""
- return self._lookup_url('entry_edit', {'pk':,
+ """
+ Return the URL to edit this submission, we need to use the submission
+ parent as that is what holds the key of which submission to edit
+ """
+ return self._lookup_url('entry_edit', {'pk': self.parent_slug,
'phase': self.phase_slug})
def get_delete_url(self):
Please sign in to comment.
Something went wrong with that request. Please try again.