diff --git a/requirements.txt b/requirements.txt index 8cd0e8d..8c06a49 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ Django==1.8 +django-localflavor==1.1 djangorestframework==3.1.1 Markdown==2.6.2 +Pillow==2.8.1 diff --git a/src/citasalud/apps/main/models.py b/src/citasalud/apps/main/models.py index 1d6ea88..3dd9f64 100644 --- a/src/citasalud/apps/main/models.py +++ b/src/citasalud/apps/main/models.py @@ -90,7 +90,7 @@ class Meta: class CitaMedica(models.Model): - paciente = models.ForeignKey("PerfilPaciente") + historia = models.ForeignKey("HistoriaClinica") medico = models.ForeignKey("PerfilMedico") horario = models.DateTimeField("Hora de cita") asistio = models.BooleanField() diff --git a/src/citasalud/db.sqlite3 b/src/citasalud/db.sqlite3 index a239850..e336001 100644 Binary files a/src/citasalud/db.sqlite3 and b/src/citasalud/db.sqlite3 differ