Most voted "mtv" questions
Layers: model - persistence template - preview view - Control is equivalent to MVC as follows model = model template = view view = controller
Learn more…2 questions
Sort by count of
-
0
votes1
answer183
viewsExplain 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':…
-
0
votes1
answer75
viewsSet 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…