Skip to content

Commit

Permalink
Odstranenie constraint na dlzku v url na menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacspe committed Nov 23, 2024
1 parent a0392ec commit 27dc9b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cms/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ class Meta:
verbose_name='názov',
help_text='Nápis, ktorý sa zobrazí v menu. Maximálne 2 slová.',
max_length=25)
url = models.CharField(verbose_name='URL',
max_length=100,
url = models.TextField(verbose_name='URL',
help_text='URL stránky kam má preklik viesť')
priority = models.SmallIntegerField(
verbose_name='priorita',
Expand Down

0 comments on commit 27dc9b9

Please sign in to comment.