Your view doesn't pass a context to the template. It needs to do this,
and your form needs to be part of the context.
something like:
from myweb.meekapp.models import mobForm
from django.shortcuts import render_to_response
from django.template import RequestContext
def home(request):
retur
coded kid wrote:
> Hi guys, I’m trying to let this form display but it’s not displaying
> in my browser. When I open up the browser, only a blank page shows up.
> How can I go about it? Below are my codes:
>
Hello,
In the template, you probably want
{{ mobForm.as_table }}
For debugging pur
Hi guys, I’m trying to let this form display but it’s not displaying
in my browser. When I open up the browser, only a blank page shows up.
How can I go about it? Below are my codes:
In models.py
from django.db import models
from django.forms import ModelForm, Textarea, HiddenInput
from django.con
3 matches
Mail list logo