3c84f0ebdf3960ee0367f2502fba2cdfdc997dda
[davin.git] / ateliers / django / carto_1_1 / annuaire / models.py
1 # -*- encoding: utf-8 -*-
2
3 from django.db import models
4
5 class Etablissement(models.Model):
6 nom = models.CharField(max_length=255)
7
8 def __unicode__(self):
9 return self.nom
10
11 class Personne(models.Model):
12 nom = models.CharField(max_length=255)
13
14 def __unicode__(self):
15 return self.nom.upper()