>
> File "c:\django\gossip2go\applications\models.py" in save
> 138. return Snippet.objects.create(title
> =self.cleaned_data['title'],
>
This is the problem.
>
> Exception Type: NameError at /add_gossip/
> Exception Value: global name 'Snippet' is not defined
>
This error is telling y
On Apr 16, 3:24 pm, JoJo wrote:
> Snippet must be a class, see i'm not sure because i am following an
> example from a book online and some of the pages aren't displayed, so
> i don't no what is in snippet.
You need to learn some Python. You can't use any names that have not
either been defined o
Snippet must be a class, see i'm not sure because i am following an
example from a book online and some of the pages aren't displayed, so
i don't no what is in snippet.
how do i use a ModelForm, i only know how to use a model and form
separatly?
On Apr 16, 3:15 pm, Daniel Roseman wrote:
> On Apr
On Apr 16, 3:08 pm, JoJo wrote:
> Hi all, i am new to django, i was following an example online of how
> to use forms, the one i am on at the min is a user page, where the
> form accepts the submitted data, i have the html page displaying but
> when i click submit i get this error
>
> Environment:
Hi all, i am new to django, i was following an example online of how
to use forms, the one i am on at the min is a user page, where the
form accepts the submitted data, i have the html page displaying but
when i click submit i get this error
Environment:
Request Method: POST
Request URL: http://l
5 matches
Mail list logo