The method is defined by xblocks. I'm just ensuring we use one copy rather
than many (there were at least 3 versions of the same)


On Mon, Jun 17, 2013 at 3:57 PM, brianhw <notifications@github.com> wrote:

> In common/lib/xmodule/xmodule/course_module.py:
>
> > @@ -670,8 +672,10 @@ def end_date_text(self):
> >
> >      @property
> >      def forum_posts_allowed(self):
> > +        datestandin = Date()
>
> Is it being set by the from_json method? In the test below, the
> datestandin is used twice. If it's only returrning a value and not
> accessing instance state, then it should be a staticmethod.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-platform/pull/183/files#r4733219>
> .
>