diff --git a/scrutiny/projects/migrations/0005_auto_20201216_1435.py b/scrutiny/projects/migrations/0005_auto_20201216_1435.py new file mode 100644 index 0000000..713fcdc --- /dev/null +++ b/scrutiny/projects/migrations/0005_auto_20201216_1435.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.29 on 2020-12-16 14:35 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('projects', '0004_auto_20150428_1348'), + ] + + operations = [ + migrations.AlterField( + model_name='module', + name='repository_url', + field=models.URLField(blank=True), + ), + migrations.AlterField( + model_name='version', + name='version', + field=models.CharField(blank=True, max_length=500), + ), + ] diff --git a/scrutiny/projects/models.py b/scrutiny/projects/models.py index 3e1c066..ba9cc64 100644 --- a/scrutiny/projects/models.py +++ b/scrutiny/projects/models.py @@ -171,7 +171,7 @@ class Module(models.Model): class Version(models.Model): module = models.ForeignKey('Module') - version = models.CharField(max_length=100, blank=True) + version = models.CharField(max_length=500, blank=True) def __str__(self): return '%s %s' % (self.module.name, self.version)