Hi coded,
You didn't say what the new error is. Anyway, in your view, `name` is not
in the namespace. Its just like doing this:
Python 2.7.3 (default, Aug 1 2012, 05:16:07)
[GCC 4.6.3] on linux2
>>>a = 1
>>>a + a
2
>>>a + b
Traceback (most recent call last):
File "", line 1, in
NameError: name
Yeah, its a name of a field in my form. I want to the value
automatically since I don't know the name of the place the user will
choose. I tried adding your correction but i'm getting error.
On Dec 31, 2:33 am, Bill Freeman wrote:
> On Sun, Dec 30, 2012 at 7:11 PM, coded kid wrote:
> > I want t
On Sun, Dec 30, 2012 at 7:11 PM, coded kid wrote:
> I want to get an object value from a model. After trying the get()
> method, I've been unable to make it work.And I'm getting the below
> error. I have a page that display the name of a place to users, so if
> a user see a place he likes, he wil
I want to get an object value from a model. After trying the get()
method, I've been unable to make it work.And I'm getting the below
error. I have a page that display the name of a place to users, so if
a user see a place he likes, he will go ahead and fill the form.And in
the form, I want to get
4 matches
Mail list logo