Merge pull request #2 from nathanielksmith/master
support longer key types
This commit is contained in:
commit
a9488df5c7
20
ttadmin/users/migrations/0009_auto_20170114_0757.py
Normal file
20
ttadmin/users/migrations/0009_auto_20170114_0757.py
Normal file
@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.2 on 2017-01-14 07:57
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('users', '0008_auto_20170113_2128'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='pubkey',
|
||||
name='key_type',
|
||||
field=models.CharField(choices=[('ssh-rsa', 'ssh-rsa'), ('ssh-dss', 'ssh-dss')], max_length=50),
|
||||
),
|
||||
]
|
@ -34,7 +34,7 @@ class Townie(User):
|
||||
|
||||
|
||||
class Pubkey(Model):
|
||||
key_type = CharField(max_length=15,
|
||||
key_type = CharField(max_length=50,
|
||||
blank=False,
|
||||
null=False,
|
||||
choices=SSH_TYPE_CHOICES,
|
||||
|
Loading…
x
Reference in New Issue
Block a user