Completed
Push — master ( a65260...307dd7 )
by Paolo
07:35
created

uid.forms   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 9
dl 0
loc 22
rs 10
c 0
b 0
f 0
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
"""
4
Created on Thu Nov 14 12:56:25 2019
5
6
@author: Paolo Cozzi <[email protected]>
7
"""
8
9
from django import forms
10
11
from common.forms import RequestFormMixin
12
13
from .models import Organization
14
15
16
class OrganizationForm(RequestFormMixin, forms.ModelForm):
17
    name = forms.CharField(disabled=True)
18
19
    class Meta:
20
        model = Organization
21
        fields = '__all__'
22