xmpp.chapril.org-conversejs/lang/models.py

8 lines
274 B
Python
Raw Normal View History

2012-02-27 10:14:00 +01:00
from django.db import models
2012-02-27 10:22:33 +01:00
class Language(models.Model):
code = models.SlugField(db_index = True)
name = models.CharField(max_length = 100)
nplurals = models.SmallIntegerField(default = 0)
pluralequation = models.CharField(max_length = 255, blank = True)