Skip to content
Snippets Groups Projects
Commit 698dcdce authored by Piotr Gawron's avatar Piotr Gawron
Browse files

organized imports, indentation

parent b396dd9a
No related branches found
No related tags found
1 merge request!336Pylint checks
from django import forms import logging
from django.forms import ModelForm from django.forms import ModelForm
from web.models import PrivacyNotice from web.models import PrivacyNotice
import logging
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
class PrivacyNoticeForm(ModelForm): class PrivacyNoticeForm(ModelForm):
class Meta: class Meta:
model = PrivacyNotice model = PrivacyNotice
fields = '__all__' fields = '__all__'
def clean(self): def clean(self):
cleaned_data = super().clean() cleaned_data = super().clean()
return cleaned_data return cleaned_data
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment