haha Thanks for that... i never would have figured it out
On Apr 18, 4:59 pm, akaariai wrote:
> On Apr 18, 11:38 pm, Bobby Roberts wrote:
>
> > oops... forgot to clarify that Item.tid is a FK to printLocation
>
> Then you would want to assign to tid_id. For foreign keys the tid
> wants an ins
On Apr 18, 11:38 pm, Bobby Roberts wrote:
> oops... forgot to clarify that Item.tid is a FK to printLocation
Then you would want to assign to tid_id. For foreign keys the tid
wants an instance, the tid_id can be assigned the "db value" for that
foreign key. I am not sure if the tid_id can be name
oops... forgot to clarify that Item.tid is a FK to printLocation
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsu
On Apr 18, 11:03 pm, Bobby Roberts wrote:
> considering this snippet:
>
> valPrintlocation=int(request.POST.get('printlocation'))
> if valPrintlocation==-1:
> needsprinting=0
> else:
> n
considering this snippet:
valPrintlocation=int(request.POST.get('printlocation'))
if valPrintlocation==-1:
needsprinting=0
else:
needsprinting=1
Item = ItemTr
5 matches
Mail list logo