db va type togirlandi
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
from .category import * # noqa
|
||||
from .products import * # noqa
|
||||
from .type import * # noqa
|
||||
|
||||
9
core/apps/api/forms/type.py
Normal file
9
core/apps/api/forms/type.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from core.apps.api.models import TypeModel
|
||||
from django import forms
|
||||
|
||||
|
||||
class TypeForm(forms.ModelForm):
|
||||
|
||||
class Meta:
|
||||
model = TypeModel
|
||||
fields = "__all__"
|
||||
Reference in New Issue
Block a user