Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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
@@ -5,7 +5,7 @@


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

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.

@codeclimate
Copy link

codeclimate bot commented Sep 9, 2021

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