960a5ec26462f49f84a5814f930d1c7788654203
[cas.git] / src / ssh_keys / models.py
1 from django.conf import settings
2 from django.db import models
3
4
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)
9
10     class Meta:
11         ordering = ['created_at']