On Friday, September 28, 2018 at 1:40:56 PM UTC+2, mostwanted wrote:
>
> Hey Matthew, i have another view called viewPurchases that has a link that
> sends my args to the client_update controller, i didnt include it in the
> above code i thought is wasn't important it looks like this:
>
> *vie
Hey Matthew, i have another view called viewPurchases that has a link that
sends my args to the client_update controller, i didnt include it in the
above code i thought is wasn't important it looks like this:
*viewPurchases VIEW*
Client Surname
Booked Room
Reservation /
Looks like you are not sending/recieving your args properly (
For example You need to send args=Customer.id , from a button or redirect
for example
You then need to request the Customer.id in the 'Client_Update' function
So you'd need
def Client_Update():
client=request.args(0,cast=int)
3 matches
Mail list logo