cms.test_utils.project.fakemlng.models: 10 total statements, 0.0% covered

Generated: Wed 2013-03-13 10:33 CET

Source file: /media/Envs/Envs/filer-gallery/lib/python2.7/site-packages/cms/test_utils/project/fakemlng/models.py

Stats: 0 executed, 8 missed, 2 excluded, 4 ignored

  1. from cms.models.fields import PlaceholderField
  2. from django.db import models
  3. class MainModel(models.Model):
  4. pass
  5. class Translations(models.Model):
  6. master = models.ForeignKey(MainModel)
  7. language_code = models.CharField(max_length=15, db_index=True)
  8. placeholder = PlaceholderField('translated', null=True)
  9. class Meta:
  10. unique_together = [('master', 'language_code')]