NC
Size: a a a
NC
1
NC
1
class StationAuthForm(forms.ModelForm):
class Meta:
model = Station_auth
fields = ('station_type',)
class SomeView(View)
def post(self, req):
form = StationAuthForm(req.POST)
print(req.POST)
if form.is_valid():
form.save()
Но чет не создает запись в бд, или не должна?DT
1
NC
1
1
1
1
A
DT
A
A
A
A
A
A
A