Merge pull request #2 from nathanielksmith/master

support longer key types
pull/16/head
Nathaniel Smith 2017-01-13 23:58:56 -08:00 committed by GitHub
commit a9488df5c7
2 changed files with 21 additions and 1 deletions

View 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),
),
]

View File

@ -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,