src/p4l/models/common.py
author ymh <ymh.work@gmail.com>
Fri, 20 Sep 2013 00:03:31 +0200
changeset 101 71532a54d1c4
parent 0 81e7900b06a7
child 126 a345f1a67bf1
permissions -rw-r--r--
update virtualenv + implement record serialization

from django.db import models

class P4lModel(models.Model):
    class Meta:
        app_label = 'p4l'
        abstract= True

class P4lModelLang(P4lModel):
    lang = models.CharField(max_length=15, blank=True, null=True, db_index=True) #@xml:lang
    class Meta(P4lModel.Meta):
        abstract= True