1 from django.conf import settings
2 from django.db import models
5 class SSHKey(models.Model):
6 user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
7 key = models.TextField()
8 created_at = models.DateTimeField(auto_now_add=True)
11 ordering = ['created_at']