projets
/
auf_django_emploi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1835: Un CandidatEvaluation doit se créer si l'évaluateur a déjà été assigné à une...
[auf_django_emploi.git]
/
auf
/
django
/
emploi
/
models.py
diff --git
a/auf/django/emploi/models.py
b/auf/django/emploi/models.py
index
ebf2237
..
6192aa9
100755
(executable)
--- a/
auf/django/emploi/models.py
+++ b/
auf/django/emploi/models.py
@@
-133,15
+133,16
@@
class Candidat(Metadata):
pays = models.ForeignKey(ref.Pays, db_column='pays',
related_name='+')
pays = models.ForeignKey(ref.Pays, db_column='pays',
related_name='+')
- def __unicode__(self):
- return '%s %s [%s]' % (self.nom, self.prenom, self.id)
+ class Meta:
+ db_table = 'emploi_candidat'
def pieces_jointes(self):
return CandidatPiece.objects.filter(candidat=self)
pieces_jointes.allow_tags = True
def pieces_jointes(self):
return CandidatPiece.objects.filter(candidat=self)
pieces_jointes.allow_tags = True
- class Meta:
- db_table = 'emploi_candidat'
+ def __unicode__(self):
+ return '%s %s [%s]' % (self.nom, self.prenom, self.id)
+
# Upload de fichiers
storage_prive = FileSystemStorage(settings.PRIVE_MEDIA_ROOT,
# Upload de fichiers
storage_prive = FileSystemStorage(settings.PRIVE_MEDIA_ROOT,