Skip to content
Snippets Groups Projects

Drobnosti

1 unresolved thread
Merged Jiří Setnička requested to merge jirka/drobnosti into devel
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
225 225 class TaskEditForm(FlaskForm):
226 226 code = wtforms.StringField('Kód úlohy', validators=[
227 227 validators.Required(),
228 # trik: nelze použít \w protože obsahuje _, \W je negace \w, takže [^\W-] je \w bez _
229 validators.Regexp(r'^([^\W_]|-)+$', message="Kód úlohy smí obsahovat jen písmena, čísla a znak -"),
228 validators.Regexp(r'^[A-Za-z0-9-]+$', message="Kód úlohy smí obsahovat jen nediakritická písmena, čísla a znak -"),
  • Mergeuji, hlášku když tak dořešíme dodatečně.

  • merged

  • Martin Mareš mentioned in commit 8db2d62c

    mentioned in commit 8db2d62c

  • Please register or sign in to reply
    Loading