Move string fields, get rid of hard-coded list of booleans.

This commit is contained in:
cahrens
2013-06-07 15:45:34 -04:00
parent 743384502e
commit 0baec0a164
11 changed files with 56 additions and 164 deletions

View File

@@ -5,7 +5,6 @@ Namespace defining common fields used by Studio for all blocks
import datetime
from xblock.core import Namespace, Scope, ModelType, String
from xmodule.fields import StringyBoolean
class DateTuple(ModelType):
@@ -28,4 +27,3 @@ class CmsNamespace(Namespace):
"""
published_date = DateTuple(help="Date when the module was published", scope=Scope.settings)
published_by = String(help="Id of the user who published this module", scope=Scope.settings)