from django.db import models

# Create your models here.

class Period(models.Model):
    pass

class BasalBodyTemperature(models.Model):
    FAHRENHEIT = 'F'
    CELSIUS = 'C'
    TEMPERATURE_SCALE_CHOICES = (
        (FAHRENHEIT, 'Fahrenheit'),
        (CELSIUS, 'Celsius'),
    )
    temperature = models.PositiveSmallIntegerField()
    scale = models.CharField(max_length=1,
                             choices=TEMPERATURE_SCALE_CHOICES,
                             default=FAHRENHEIT)

class Cervical(models.Model):
    pass

@@ -21,16 +21,55 @@
 t models
+%0Afrom femstats.users.models import User
 %0A%0A# Crea
@@ -122,20 +122,437 @@
 l):%0A    
-pass
+SPOTTING ='SP'%0A    LIGHT = 'L'%0A    MEDIUM = 'M'%0A    HEAVY = 'H'%0A    FLOW_CHOICES = (%0A        (SPOTTING, 'Spotting'),%0A        (LIGHT, 'Light')%0A        (MEDIUM, 'Medium'),%0A        (HEAVY, 'Heavy'),%0A    )%0A    user = models.ForeignKey(User)%0A    date = models.DateField('Date')%0A    flow = models.Charfield(choices=FLOW_CHOICES,%0A                            default=SPOTTING)%0A%0A    def __unicode__(self):%0A        return self.flow
 %0A%0Aclass 
@@ -564,23 +564,16 @@
 BodyTemp
-erature
 (models.
@@ -721,24 +721,131 @@
 us'),%0A    )%0A
+    user = models.ForeignKey(User)%0A    date = models.DateField('Date')%0A    time = models.TimeField('Time')%0A
     temperat
@@ -1046,15 +1046,75 @@
 T)%0A%0A
+    def __unicode__(self):%0A        return self.temperature%0A%0A
 class 
-C
+c
 ervi
@@ -1116,33 +1116,33 @@
 cervical(models.
-M
+m
 odel):%0A    pass%0A
@@ -1141,8 +1141,498 @@
    pass%0A
+'''%0A    user = models.foreignkey(user)%0A    date = models.datefield('date')%0A    fluid = models.charfield(choices=fluid_choices,%0A                                      default=none)%0A    position = models.charfield(choices=position_choices,%0A                                default=high)%0A    texture = models.charfield(choices=texture_choices,%0A                               default=firm)%0A    opening = models.charfield(choices=opening_choices,%0A                               default=open)%0A%0A'''%0A

Update Period and BBT models