Stripped personal data from development repository
Samo Penic
2019-02-20 83c3f647c35477564b77cbc5b36d37d793d5442a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from django import forms
 
from .models import ProblemGroup
 
 
class ProblemGroupForm(forms.ModelForm):
    class Meta:
        model = ProblemGroup
        fields = (
            "title",
            "problem",
            "amount",
        )
 
    #         widgets={ 'date': 'widget_name',}
 
    def __init__(self, *args, **kwargs):
        super(ProblemGroupForm, self).__init__(*args, **kwargs)