old_contents: # -*- coding: utf-8 -*-
  """ contest models: Contest, Contestant, Donor, and Founder
  
      :copyright: Copyright (c) 2014 Bivio Software, Inc.  All Rights Reserved.
      :license: Apache, see LICENSE for more details.
  """
  
  import decimal
  import random
  import re
  
  import flask
  import sqlalchemy.orm
  
  from .. import biv
  from .. import common
  from .. import controller
  from ..contest import model as pcm
  from ..auth import model as pam
  from ..controller import db
  
  class E15Contest(db.Model, pcm.ContestBase):
      """contest database model.
      """
      biv_id = db.Column(
          db.Numeric(18),
          db.Sequence('e15contest_s', start=1015, increment=1000),
          primary_key=True
      )
  
  
  class E15Nominee(db.Model, pcm.NomineeBase):
      """nominatee database model.
      """
      biv_id = db.Column(
          db.Numeric(18),
          db.Sequence('e15nominee_s', start=1016, increment=1000),
          primary_key=True
      )
      youtube_code = db.Column(db.String(500))
      nominee_desc = db.Column(db.String)
  
  
  E15Contest.BIV_MARKER = biv.register_marker(15, E15Contest)
  E15Nominee.BIV_MARKER = biv.register_marker(16, E15Nominee)
  
new_contents: # -*- coding: utf-8 -*-
  """ contest models: Contest, Contestant, Donor, and Founder
  
      :copyright: Copyright (c) 2014 Bivio Software, Inc.  All Rights Reserved.
      :license: Apache, see LICENSE for more details.
  """
  
  import decimal
  import random
  import re
  
  import flask
  import sqlalchemy.orm
  
  from .. import biv
  from .. import common
  from .. import controller
  from ..contest import model as pcm
  from ..auth import model as pam
  from ..controller import db
  
  class E15Contest(db.Model, pcm.ContestBase):
      """contest database model.
      """
      biv_id = db.Column(
          db.Numeric(18),
          db.Sequence('e15contest_s', start=1015, increment=1000),
          primary_key=True
      )
  
      def is_judge(self):
          return False
  
  
  class E15Nominee(db.Model, pcm.NomineeBase):
      """nominatee database model.
      """
      biv_id = db.Column(
          db.Numeric(18),
          db.Sequence('e15nominee_s', start=1016, increment=1000),
          primary_key=True
      )
      youtube_code = db.Column(db.String(500))
      nominee_desc = db.Column(db.String)
  
  
  E15Contest.BIV_MARKER = biv.register_marker(15, E15Contest)
  E15Nominee.BIV_MARKER = biv.register_marker(16, E15Nominee)
  
subject: disable judging