models.py 266 Bytes
Newer Older
fred's avatar
fred committed
1 2 3 4 5 6
import re

from django.contrib.auth.models import AbstractUser
from django.core import validators
from django.db import models

fred's avatar
fred committed
7
from emissions.models import Emission
fred's avatar
fred committed
8 9

class User(AbstractUser):
fred's avatar
fred committed
10
    emissions = models.ManyToManyField(Emission, null=True, blank=True)
fred's avatar
fred committed
11