s/listpics.html',
>>> {'userpics': userpics, 'picform':
>>> picform},
>>>
>>> context_instance=RequestContext(request)
>>> )
>>>
>>&
empty, unbound form
>>
>>
>> userpics = UserPic.objects.all()
>>
>>
>> return render_to_response(
>> 'userpics/listpics.html',
>> {'userpics': userpics, 'picform': picform},
>> co
form
>
>
> userpics = UserPic.objects.all()
>
>
> return render_to_response(
> 'userpics/listpics.html',
> {'userpics': userpics, 'picform': picform},
> context_instance=RequestContext(request)
> )
>
&
) # A empty, unbound form
userpics = UserPic.objects.all()
return render_to_response(
'userpics/listpics.html',
{'userpics': userpics, 'picform': picform},
context_instance=RequestContext(request)
)
The app works fine for one image up
ot;id", it shouldn't be using first field defined.
--
Jani Tiainen
On 26.10.2011 19:03, Shark wrote:
There is problem in this project
I use Auth User and foreign key in anther table "geoFeeds" and when
adding data to table gepFeed am error happened
column user_id is not unique
w
key in anther table "geoFeeds" and when
> adding data to table gepFeed am error happened
>
> column user_id is not unique
>
> when changing the userId it add one time but the second time it fails
> and give this error I don't know why
>
> this is the code
&
There is problem in this project
I use Auth User and foreign key in anther table "geoFeeds" and when
adding data to table gepFeed am error happened
column user_id is not unique
when changing the userId it add one time but the second time it fails
and give this error I don't kn
7 matches
Mail list logo