Added private_key field to UserHostingkey model, some html updates
This commit is contained in:
parent
8986aa6550
commit
d2d96e9951
5 changed files with 45 additions and 10 deletions
|
|
@ -101,6 +101,7 @@ class HostingOrder(AssignPermissionsMixin, models.Model):
|
|||
class UserHostingKey(models.Model):
|
||||
user = models.ForeignKey(CustomUser)
|
||||
public_key = models.TextField()
|
||||
private_key = models.FileField(upload_to='private_keys', blank=True)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
name = models.CharField(max_length=100)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue