[#2012] Placer nom avec prenom dans candidat
[auf_rh_dae.git] / project / recrutement / migrations / 0004_auto__del_field_courrieltemplate_html.py
CommitLineData
fe6fe6bb
OL
1# encoding: utf-8
2import datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7class Migration(SchemaMigration):
8
9 def forwards(self, orm):
10
11 # Deleting field 'CourrielTemplate.html'
12 db.delete_column('recrutement_courrieltemplate', 'html')
13
14
15 def backwards(self, orm):
16
17 # Adding field 'CourrielTemplate.html'
18 db.add_column('recrutement_courrieltemplate', 'html', self.gf('tinymce.models.HTMLField')(default=''), keep_default=False)
19
20
21 models = {
22 'auth.group': {
23 'Meta': {'object_name': 'Group'},
24 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
25 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
26 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
27 },
28 'auth.permission': {
29 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
30 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
31 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
32 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
33 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
34 },
35 'auth.user': {
36 'Meta': {'object_name': 'User'},
37 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
38 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
39 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
40 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
41 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
42 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
43 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
44 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
45 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
46 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
47 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
48 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
49 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
50 },
51 'contenttypes.contenttype': {
52 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
53 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
54 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
55 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
56 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
57 },
58 'datamaster_modeles.bureau': {
59 'Meta': {'object_name': 'Bureau', 'db_table': "u'ref_bureau'"},
60 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
61 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
62 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
63 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'implantation'"}),
64 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
65 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
66 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
67 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
68 },
69 'datamaster_modeles.implantation': {
70 'Meta': {'object_name': 'Implantation', 'db_table': "u'ref_implantation'"},
71 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
72 'adresse_physique_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
73 'adresse_physique_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
74 'adresse_physique_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
75 'adresse_physique_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
76 'adresse_physique_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_physique'", 'to_field': "'code'", 'db_column': "'adresse_physique_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
77 'adresse_physique_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
78 'adresse_physique_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
79 'adresse_physique_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
80 'adresse_physique_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
81 'adresse_physique_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
82 'adresse_postale_boite_postale': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
83 'adresse_postale_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
84 'adresse_postale_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
85 'adresse_postale_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
86 'adresse_postale_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
87 'adresse_postale_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_postale'", 'to_field': "'code'", 'db_column': "'adresse_postale_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
88 'adresse_postale_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
89 'adresse_postale_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
90 'adresse_postale_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
91 'adresse_postale_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
92 'adresse_postale_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
93 'bureau_rattachement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'bureau_rattachement'"}),
94 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
95 'code_meteo': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
96 'commentaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
97 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
98 'courriel_interne': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
99 'date_extension': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
100 'date_fermeture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
101 'date_inauguration': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
102 'date_ouverture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
103 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
104 'fax_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
105 'fuseau_horaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
106 'hebergement_convention': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
107 'hebergement_convention_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
108 'hebergement_etablissement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
109 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
110 'modif_date': ('django.db.models.fields.DateField', [], {}),
111 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
112 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
113 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
114 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"}),
115 'remarque': ('django.db.models.fields.TextField', [], {}),
116 'responsable_implantation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
117 'statut': ('django.db.models.fields.IntegerField', [], {}),
118 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
119 'telephone_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
120 'type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
121 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'})
122 },
123 'datamaster_modeles.pays': {
124 'Meta': {'object_name': 'Pays', 'db_table': "u'ref_pays'"},
125 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
126 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '2'}),
127 'code_bureau': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Bureau']", 'to_field': "'code'", 'db_column': "'code_bureau'"}),
128 'code_iso3': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '3', 'blank': 'True'}),
129 'developpement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
130 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
131 'monnaie': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
132 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
133 'nord_sud': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
134 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
135 },
136 'datamaster_modeles.region': {
137 'Meta': {'object_name': 'Region', 'db_table': "u'ref_region'"},
138 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
139 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
140 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
141 'implantation_bureau': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'gere_region'", 'db_column': "'implantation_bureau'", 'to': "orm['datamaster_modeles.Implantation']"}),
142 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
143 },
144 'emploi.candidat': {
145 'Meta': {'object_name': 'Candidat'},
146 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
147 'adresse': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
148 'code_postal': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
149 'date_creation': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
150 'domaine_professionnel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
151 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255'}),
152 'employeur_actuel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
153 'etat_province': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
154 'genre': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
155 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
156 'nationalite': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'nationalite'", 'to': "orm['datamaster_modeles.Pays']"}),
157 'niveau_diplome': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
158 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
159 'nombre_dependant': ('django.db.models.fields.IntegerField', [], {}),
160 'offre_emploi': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'offre_emploi'", 'to': "orm['emploi.OffreEmploi']"}),
161 'pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'pays'", 'to': "orm['datamaster_modeles.Pays']"}),
162 'poste_actuel': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
163 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
164 'situation_famille': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
165 'statut': ('django.db.models.fields.CharField', [], {'default': "'NOUV'", 'max_length': '4'}),
166 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
167 'ville': ('django.db.models.fields.CharField', [], {'max_length': '255'})
168 },
169 'emploi.offreemploi': {
170 'Meta': {'object_name': 'OffreEmploi'},
171 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
172 'bureau': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Bureau']", 'db_column': "'bureau'"}),
173 'date_creation': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
174 'date_limite': ('django.db.models.fields.DateField', [], {}),
175 'debut_affectation': ('django.db.models.fields.DateField', [], {}),
176 'description': ('django.db.models.fields.TextField', [], {}),
177 'duree_affectation': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
178 'est_affiche': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
179 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
180 'lieu_affectation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'implantation'"}),
181 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
182 'poste': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
183 'poste_nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
184 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"}),
185 'renumeration': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
186 'resume': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
187 'statut': ('django.db.models.fields.CharField', [], {'default': "'NOUV'", 'max_length': '4'})
188 },
189 'recrutement.candidat': {
190 'Meta': {'object_name': 'Candidat', 'db_table': "'emploi_candidat'", '_ormbases': ['emploi.Candidat']}
191 },
192 'recrutement.candidatcourriel': {
193 'Meta': {'object_name': 'CandidatCourriel'},
194 'candidats': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['emploi.Candidat']", 'symmetrical': 'False'}),
195 'html': ('tinymce.models.HTMLField', [], {'null': 'True', 'blank': 'True'}),
196 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
197 'plain_text': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
198 'sujet': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
199 'template': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'template'", 'to': "orm['recrutement.CourrielTemplate']"})
200 },
201 'recrutement.candidatevaluation': {
202 'Meta': {'object_name': 'CandidatEvaluation'},
203 'candidat': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'evaluations'", 'db_column': "'candidat'", 'to': "orm['emploi.Candidat']"}),
204 'commentaire': ('django.db.models.fields.TextField', [], {'default': "'Aucun'", 'null': 'True', 'blank': 'True'}),
205 'date': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
206 'evaluateur': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'evaluateur'", 'to': "orm['recrutement.Evaluateur']"}),
207 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
208 'note': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'})
209 },
210 'recrutement.courrieltemplate': {
211 'Meta': {'object_name': 'CourrielTemplate'},
212 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
213 'nom_modele': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
214 'plain_text': ('django.db.models.fields.TextField', [], {}),
215 'sujet': ('django.db.models.fields.CharField', [], {'max_length': '100'})
216 },
217 'recrutement.evaluateur': {
218 'Meta': {'object_name': 'Evaluateur'},
219 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
220 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'unique': 'True'})
221 }
222 }
223
224 complete_apps = ['recrutement']