Oh, neat. Yeah, I think I can do that.

On Tue, Jan 8, 2013 at 8:21 PM, Jason Bau <notifications@github.com> wrote:

> In main/c2g/models.py:
>
> > @@ -1969,7 +1969,7 @@ def record_view_name(self):
> >          return self.safe_exam_type()+"_record"
> >
> >      def get_url(self):
> > -        return self.show_view_name()
> > +        return '/' + self.course.handle.replace('--', '/') + '/surveys/' + self.slug
>
> using reverse will also solve a problem here--you're returning surveysunconditionally, which won't be right for other exam_types.
> Instead you can call reverse with an argument of self.show_view.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Stanford-Online/class2go/pull/1745/files#r2586434>.
>
>