Skip to content
Advertisement

Django Model form not rendering

Im trying to create a model form on django but it doesnt want to render even though I mapped it properly and created the path.

models.py

JavaScript

forms.py

JavaScript

views.py

JavaScript

it refuse to render but it displays the html tag that is in the file but not the fields from the form. this is the html template

AppsForm.html

JavaScript

Advertisement

Answer

you view is wrong try this

JavaScript

and in your html

JavaScript

now you are good to go and tell me if you still get error

Advertisement