#from private_files import PrivateFileField
import datamaster_modeles.models as ref
-from project.rh import models as rh
+from project.rh import models import Poste,
### CONSTANTES
#NOTES
fkeys = ('region',)
return super(OffreEmploiManager, self).get_query_set().select_related(*fkeys).all()
-class ProxyPoste(rh.Poste):
+class ProxyPoste(Poste):
class Meta:
proxy = True
subject = models.CharField(max_length=100, )
heading = models.CharField(max_length=100, )
plain_text = models.TextField()
- html = models.TextField(related_name='+')
+ html = models.TextField()
def __unicode__(self):
return u'%s' % self.template_name