8 lines
247 B
Python
8 lines
247 B
Python
from django.db import models
|
|
|
|
# Create your models here.
|
|
class WeatherStats(models.Model):
|
|
|
|
humidity = models.FloatField(default=0)
|
|
temperature = models.FloatField(default=0)
|
|
created_at = models.DateTimeField(auto_now_add=True) |