from django.db import models
from django.contrib.auth.models import User


class Raspberry(models.Model):
    temperature = models.FloatField()
    memory_used = models.IntegerField()

    def __str__(self):
        return 'RaspberryPi'

from django.db import models
from django.contrib.auth.models import User


class Raspberry(models.Model):
    temperature = models.FloatField()
    memory_used = models.IntegerField()

    def __str__(self):
        return 'RaspberryPi'
