http://......./articles/high-temperature-in-city
def articles():
news = db(db.articles.article_link==request.args[0]).select()[0]
return(news=news)
On Wednesday, April 18, 2018 at 2:28:41 PM UTC, Anthony wrote:
>
> On Wednesday, April 18, 2018 at 10:24:21 AM UTC-4, dirman wrote:
>>
>> I tried virtual field but can not use it as request args to select the
>> records
>>
>
> Not sure what you mean by that. What does request args have to do with it?
> Can you show your code?
>
>
>> They do not appear in the list table fields.
>>
>> I got a ticket using the computed field example
>>
>> Field('article_link', lambda r: r.article_title.replace(' ', '-'))
>>
>
> Please show your code and the full traceback.
>
> Anthony
>
>>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.