Skip to content

Draft : Make Template.template_file read-only on edition#22

Open
gbip wants to merge 1 commit intomasterfrom
readonly_template
Open

Draft : Make Template.template_file read-only on edition#22
gbip wants to merge 1 commit intomasterfrom
readonly_template

Conversation

@gbip
Copy link

@gbip gbip commented Sep 9, 2021

However you can still specify the template at creation.
This commit will allow to automate upgrading template files managed by
Makina corpus.

However you can still specify the template at creation.
This commit will allow to automate upgrading template files managed by
Makina corpus.
@gbip gbip requested a review from submarcos September 9, 2021 14:10
@gbip gbip changed the title Make Template.template_file read-only on edition Draft : Make Template.template_file read-only on edition Sep 9, 2021

class TemplateForm(forms.ModelForm):
template_file = forms.FileField(required=False, allow_empty_file=True)
#template_file = forms.FileField(required=False, allow_empty_file=True)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this commented out code.

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 8991ac4 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Clarity 1

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant