Common filters only add to query, but I need to change/replace
fields/expressions .
Now I think of monkeypatch'ing Set 'select' method (probably inside of
objects.py, because I guess Set is imported in different places).
Or maybe I don't need to touch pydal files, if I monkeypatch from db.py
Slightly embarrassed... I had to reload my web app and it started to work.
Not quite sure why yet, but thank you so much for all of your help!
On Friday, March 10, 2017 at 8:36:34 PM UTC-5, LoveWeb2py wrote:
>
> When I use just the IP address I get the pythonanywhere splash screen that
> says
When I use just the IP address I get the pythonanywhere splash screen that
says Coming soon...
On Friday, March 10, 2017 at 8:29:23 PM UTC-5, Dave S wrote:
>
>
>
> On Friday, March 10, 2017 at 5:26:15 PM UTC-8, LoveWeb2py wrote:
>>
>> Hi Anthony!
>>
>> I'm using www.mywebsite.com
>>
>> I can
On Friday, March 10, 2017 at 5:26:15 PM UTC-8, LoveWeb2py wrote:
>
> Hi Anthony!
>
> I'm using www.mywebsite.com
>
> I can access it just fine when I use localhost:8000
>
What happens when you use the explicit public IP?
/dps
>
> On Friday, March 10, 2017 at 8:06:01 PM UTC-5, Anthony
Hi Anthony!
I'm using www.mywebsite.com
I can access it just fine when I use localhost:8000
On Friday, March 10, 2017 at 8:06:01 PM UTC-5, Anthony wrote:
>
> What URL are you using to access that controller?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
What URL are you using to access that controller?
--
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
So I have a controller. Let's call it controller_a, and when I try to link
to it on my website
I get an error that says invalid function (default/controller_a)
In my routes, all I have is
routers = dict(
# base router
BASE=dict(
default_application='myappname',
),
)
On Friday, March 10, 2017 at 1:02:21 PM UTC-8, Alex Glaros wrote:
>
> finally, this worked perfectly, thanks Dave
>
> {{for f in db.Organization:}}
> {{=f.label}} {{=specificOrganization[f]}} {{=f.comment}}
> {{pass}}
>
Glad it's working for you! Thanks for the report back.
/dps
--
finally, this worked perfectly, thanks Dave
{{for f in db.Organization:}}
{{=f.label}} {{=specificOrganization[f]}} {{=f.comment}}
{{pass}}
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
On Friday, March 10, 2017 at 6:35:12 AM UTC-8, Gael Princivalle wrote:
>
> Hello.
>
> I can see my worker in putty with:
> ps -u tasko w
> 16975 ?S 37:34 /usr/local/bin/python2.7
> /home/tasko/webapps/w2p_2_14_16/web2py/web2py.py -K mtbconnection
>
> In the db:
>
On Thursday, March 9, 2017 at 5:03:27 PM UTC-8, Alex Glaros wrote:
>
> Will your example provide both field name and field value?
>
My example provides a standard ROWS object. If you print results (or, in
your case, supRows) on the console, the default to-string will show the
labels as
On Friday, March 10, 2017 at 9:11:03 AM UTC-8, Oasis Agano wrote:
>
> Did this issue get solved im facing it too
>
I suggest starting a new thread so your problem recieves the attention it
needs. But be sure and let us know
* your table definition
* how you are invoking the grid
* what error
actually, this part works to display the label or comment
{{for f in db.Organization:}}
{{=f.label}}
{{pass}}
So all I need is a little help displaying the value in a loop, something
like this psudo code
specificOrganization = db.Organization(10) #just picked any record for
convenience
Did this issue get solved im facing it too
On Monday, September 5, 2011 at 11:47:01 AM UTC+2, brushek wrote:
>
> Hello,
>
> I have following table with custom type (database: postgres):
> from gluon.sql import SQLCustomType
> inet = SQLCustomType ( type='string', native='inet', encoder=lambda
I think you are limited to either monkey patching FormWidget in
gluon.sqlhtml or using server-side DOM manipulation on the form object
after it has been created.
Anthony
On Friday, March 10, 2017 at 6:39:07 AM UTC-5, Jurgis Pralgauskis wrote:
>
> Hi,
>
> How could I have different name in
What is almost perfect is how w2p form displays a record (vertically with
values)
1. Converts hyphens to spaces in field name, bolded
2. Displays label for field name, bolded
3. Displays comments for field name
the problem with using a form to display field values is:
a. not sure if record
Hello.
I can see my worker in putty with:
ps -u tasko w
16975 ?S 37:34 /usr/local/bin/python2.7
/home/tasko/webapps/w2p_2_14_16/web2py/web2py.py -K mtbconnection
In the db:
wf-31-170-123-65.webfaction.com#16975
Status active.
Last hartbeat 09/03/2017 21:32:18
Worker stats
Note that you can do what you want the first feature for, easily with
common filters:
http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Common-filters
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
Hi,
How could I have different name in generated SQLFORM than field.name?
I'd like to have optional field.formname
Use-cases:
- mult-table from with unique inputnames:
could be: field.formname='tablename__fieldname'
- multi-record form (or multiform submision with ajax)
some
19 matches
Mail list logo