Skip to content

Feature expand description fields character limit#177

Merged
kbeker merged 2 commits intomasterfrom
feature-expand-description-fields-character-limit
May 7, 2019
Merged

Feature expand description fields character limit#177
kbeker merged 2 commits intomasterfrom
feature-expand-description-fields-character-limit

Conversation

@maciejSamerdak
Copy link
Collaborator

@maciejSamerdak maciejSamerdak commented May 7, 2019

Resolves #176

Done:

  • Report's description field type has been changed to TextField

  • Character limit has been set to 4096

  • An outdated unit test for model's description field has been removed

@maciejSamerdak maciejSamerdak added the feature New feature label May 7, 2019
@maciejSamerdak maciejSamerdak added this to the tag 0.2.0 milestone May 7, 2019
@maciejSamerdak maciejSamerdak self-assigned this May 7, 2019
Description field type was changed from CharField to TextField.
Character limit was enlarged to 4096.
According to Django documentation, max_length parameter for TextField is
only taken under account on front-end. Django back-end does not keep
track of text length in this case, so this model test serves no purpose
anymore.
@kbeker kbeker force-pushed the feature-expand-description-fields-character-limit branch from 486ba21 to 42339c9 Compare May 7, 2019 14:37
@kbeker kbeker merged commit 42339c9 into master May 7, 2019
@kbeker kbeker deleted the feature-expand-description-fields-character-limit branch May 7, 2019 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Description field in report is too short

2 participants