You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
510 B
19 lines
510 B
import json
|
|
from django.db import models
|
|
from django.contrib.auth.models import User
|
|
|
|
# Create your models here.
|
|
class CalgaryAddress(models.Model):
|
|
address = models.CharField(max_length=32)
|
|
house_alpha = models.CharField(max_length=1)
|
|
street_quad = models.CharField(max_length=2)
|
|
street_name = models.CharField(max_length=16)
|
|
street_type = models.CharField(max_length=2)
|
|
|
|
def toDict(self):
|
|
return {
|
|
'address': self.address
|
|
}
|
|
|
|
class QuoteUser(User):
|
|
pass |