Skip to content

Commit

Permalink
Merge pull request #147 from nossas/revert-146-feat/refactor-candidat…
Browse files Browse the repository at this point in the history
…es-list-description

Revert "Feat: Refatora CharField para TextField na description da Listagem de Candidaturas"
  • Loading branch information
miguelzinh3 authored Nov 27, 2023
2 parents 274c515 + 5201823 commit 7b72d9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.

This file was deleted.

2 changes: 1 addition & 1 deletion app/eleicao/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class EleicaoCandidateList(CMSPlugin):
state = models.CharField("Estado", max_length=2, blank=True, null=True, choices=lazy(get_states, list)())
#
title = models.CharField("Título", max_length=120, blank=True, null=True)
description = models.TextField("Descrição", blank=True, null=True)
description = models.CharField("Descrição", max_length=120, blank=True, null=True)

class EleicaoCarousel(CMSPlugin):
title = models.CharField("Título", max_length=120)
Expand Down

0 comments on commit 7b72d9f

Please sign in to comment.