Questions tagged as 'mtv'

1
answer

Explain template location in Django

I'm using Django for a project, but I came across a question. In my file settings.py I have the following configuration of templates : TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates',...
asked by 25.07.2018 / 02:13
1
answer

Set a css class and render the form in django

I created the following class: from django import forms class FormDefault(forms.Form): def __init__(self, *args, **kwargs): super(FormDefault, self).__init__(*args, **kwargs) for field_name, field in self.fields.items():...
asked by 04.08.2018 / 04:59