On Fri, Apr 16, 2010 at 6:52 PM, Daxal wrote:
> Hi,
>
> None of my other views have RequestContext in them and they are
> passing in the same variables. I am one of those programmers that come
> in succession trying to figure out what the previous one was trying to
> do. and this guy didn't even p
Hi,
None of my other views have RequestContext in them and they are
passing in the same variables. I am one of those programmers that come
in succession trying to figure out what the previous one was trying to
do. and this guy didn't even put any comments on it. so it takes me a
longg time to try
On Fri, Apr 16, 2010 at 4:16 PM, Daxal wrote:
> Hi,
>
> I changed it to this. and i am pretty sure this is correct
> def cvdetails(request, id):
> if request.method == 'POST':
> f = cvForm(request.POST)
> if form.is_valid():
> return HttpResponseRedirect('cm/cvdetails.html')
> else:
>
Hi,
I changed it to this. and i am pretty sure this is correct
def cvdetails(request, id):
if request.method == 'POST':
f = cvForm(request.POST)
if form.is_valid():
return HttpResponseRedirect('cm/cvdetails.html')
else:
f = cvForm()
return render_to_response('cm/cvdetails.h
On Apr 16, 3:22 pm, Daxal wrote:
> Hey guys,
>
> I am trying to render a modelmultiplechoicefield on my template and i
> cannot seem to figure out how. any help would be appreciated.
>
> Thanks.
>
> Here is model:
> class cvdb(models.Model):
> user = models.ForeignKey(User)
> Language = models
5 matches
Mail list logo