This commit is contained in:
2024-11-19 13:00:24 +07:00
commit 45e3c1f698
3462 changed files with 617437 additions and 0 deletions

13
service/forms.py Normal file
View File

@@ -0,0 +1,13 @@
from django import forms
from service.models import *
# Service Page SEO Form
class servicePageSEOForm(forms.ModelForm):
class Meta:
model = servicePageSEO
fields = '__all__'
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
for field in self.fields.values():
field.widget.attrs['class'] = 'form-control'