Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Merging up from dev to stage #125

merged 2 commits into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 18, 2013
  1. @rossbruniges

    fix #123 - fixing edit entry url - returning a reference to the submi…

    rossbruniges authored
    …ssion_parent opposed to the old submission URL
  2. @rossbruniges

    Merge pull request #124 from rossbruniges/dev

    rossbruniges authored
    fix #123 - fixing edit entry url
This page is out of date. Refresh to see the latest.
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):
Something went wrong with that request. Please try again.