diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-07-17 00:51:13 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-07-17 00:51:13 +0200 |
| commit | 1cdb4224ef8a46af1dd0df43f24602633d54d753 (patch) | |
| tree | 7268306a26f782dfebe7b580ef212a73c39fb95d /archaeological_finds/models.py | |
| parent | e6d8b1448df10c98c1964231c308395632bebaf1 (diff) | |
| download | Ishtar-1cdb4224ef8a46af1dd0df43f24602633d54d753.tar.bz2 Ishtar-1cdb4224ef8a46af1dd0df43f24602633d54d753.zip | |
Archaeological finds: Add code field to material types
Diffstat (limited to 'archaeological_finds/models.py')
| -rw-r--r-- | archaeological_finds/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_finds/models.py b/archaeological_finds/models.py index 9c1e72e38..4d44e67fd 100644 --- a/archaeological_finds/models.py +++ b/archaeological_finds/models.py @@ -32,6 +32,7 @@ if WAREHOUSE_AVAILABLE: from archaeological_warehouse.models import Warehouse, Container class MaterialType(GeneralType): + code = models.CharField(_(u"Code"), max_length=10, blank=True, null=True) recommendation = models.TextField(_(u"Recommendation")) parent = models.ForeignKey("MaterialType", blank=True, null=True, verbose_name=_(u"Parent material")) |
