diff --git a/layerindex/models.py b/layerindex/models.py index 6358cbd..46b1762 100644 --- a/layerindex/models.py +++ b/layerindex/models.py @@ -41,11 +41,11 @@ class LayerItem(models.Model): layer_type = models.CharField(max_length=1, choices=LAYER_TYPE_CHOICES) summary = models.CharField(max_length=200, help_text='One-line description of the layer') description = models.TextField() - vcs_url = models.CharField('Repository URL', max_length=200, help_text='Fetch/clone URL of the repository') + vcs_url = models.CharField('Repository URL', max_length=255, help_text='Fetch/clone URL of the repository') vcs_web_url = models.URLField('Repository web interface URL', blank=True, help_text='URL of the web interface for browsing the repository, if any') - vcs_web_tree_base_url = models.CharField('Repository web interface tree base URL', max_length=200, blank=True, help_text='Base URL for the web interface for browsing directories within the repository, if any') - vcs_web_file_base_url = models.CharField('Repository web interface file base URL', max_length=200, blank=True, help_text='Base URL for the web interface for viewing files (blobs) within the repository, if any') - usage_url = models.CharField('Usage web page URL', max_length=200, blank=True, help_text='URL of a web page with more information about the layer and how to use it, if any (or path to file within repository)') + vcs_web_tree_base_url = models.CharField('Repository web interface tree base URL', max_length=255, blank=True, help_text='Base URL for the web interface for browsing directories within the repository, if any') + vcs_web_file_base_url = models.CharField('Repository web interface file base URL', max_length=255, blank=True, help_text='Base URL for the web interface for viewing files (blobs) within the repository, if any') + usage_url = models.CharField('Usage web page URL', max_length=255, blank=True, help_text='URL of a web page with more information about the layer and how to use it, if any (or path to file within repository)') mailing_list_url = models.URLField('Mailing list URL', blank=True, help_text='URL of the info page for a mailing list for discussing the layer, if any') class Meta: @@ -195,9 +195,9 @@ class Recipe(models.Model): layerbranch = models.ForeignKey(LayerBranch) filename = models.CharField(max_length=255) filepath = models.CharField(max_length=255, blank=True) - pn = models.CharField(max_length=40, blank=True) + pn = models.CharField(max_length=100, blank=True) pv = models.CharField(max_length=100, blank=True) - summary = models.CharField(max_length=100, blank=True) + summary = models.CharField(max_length=200, blank=True) description = models.TextField(blank=True) section = models.CharField(max_length=100, blank=True) license = models.CharField(max_length=100, blank=True)