Possible bug when searching in SQLFORM.grid with order activated.
To reproduce:
1. SQLFORM.grid, advanced_search = True
2. Click a column header on the grid to activate 'order'
3. Click 'search' (with or without keyword)
4. Error as follows:
Traceback (most recent call last):
File
Where to read change log for web2py? Changes from version to version or
what's new.
--
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
How do we achieve this using the BUTTON() helper
I am having trouble with the "data-toggle" attribute.
--
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)
---
I use the following code to hide the thead element of a grid, but I
actually want to delete it. Is there a method to delete the target element?
TIA.
*grid.element('thead')['_hidden'] = 'hidden'*
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
eletable=False,
*onvalidation=validate_library*)
return dict(grid=grid)
On Tuesday, April 4, 2023 at 4:33:20 PM UTC+8 Jeff Plata wrote:
> Thank you all for your suggestions. In the end, I settled for a string
> field with IS_IN_SET(['yes', 'no']).
>
> Bootstrap toggle is nice,
pril 4, 2023 at 4:33:20 PM UTC+8 Jeff Plata wrote:
> Thank you all for your suggestions. In the end, I settled for a string
> field with IS_IN_SET(['yes', 'no']).
>
> Bootstrap toggle is nice, but the alignment is off, and the stubborn label
> is still on the right whe
Or maybe I'll revert to boolean with IS_IN_SET(['yes','no']), but I'll have
to do an onvalidation check so that I can assign the correct value after
form post?
On Tuesday, April 4, 2023 at 4:33:20 PM UTC+8 Jeff Plata wrote:
> Thank you all for your suggestions. In the end, I sett
UTC-7 Dave S wrote:
>>
>> On Sunday, February 26, 2023 at 5:51:30 AM UTC-8 jeff...@gmail.com wrote:
>>
>> Is it possible to change the boolean field widget from checkbox to option
>> with yes and no? How?
>>
>>
>>
>> I don't think
Is it possible to change the boolean field widget from checkbox to option
with yes and no? How?
--
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
Does anyone have a open source web2py application that users can upload
images and select the image from a tumbnail gallery.
I want to make a write up of how to make a web app hitting keras model
hosted on google ml.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
I'm looking for a web2py contractor with SOAP experience.
Please send resumes and work experience examples to
j...@redbrickanalytics.com
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Please send a email for more details
On Friday, 23 September 2016 10:49:52 UTC-5, Jeff Lipkowitz wrote:
>
> I'm looking for a web2py contractor with SOAP experience.
>
> Please send resumes and work experience examples to
> j...@redbrickanalytics.com
>
--
Resources:
-
Looking forward!
On Friday, 23 September 2016 10:49:52 UTC-5, Jeff Lipkowitz wrote:
>
> I'm looking for a web2py contractor with SOAP experience.
>
> Please send resumes and work experience examples to
> j...@redbrickanalytics.com
>
--
Resources:
- http://web2py.com
- http
I'm looking for a web2py contractor with SOAP experience.
Please send resumes and work experience examples to
j...@redbrickanalytics.com
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Yes I do. I am not that advanced to be able to handle more than one lol. I will
make that change.
Thank you,
Jeff Riley
> On Jul 11, 2016, at 7:48 AM, Marlysson Silva <marlyss...@gmail.com> wrote:
>
> You use just one model.py?
> if yes, change this line:
>
> IS_DATET
I have tried to get to the index page and I have gone to admin and then the
database tab so I can setup the authorized user. Both give me the same error
Thank you,
Jeff Riley
> On Jul 11, 2016, at 7:38 AM, Marlysson Silva <marlyss...@gmail.com> wrote:
>
> Might put on github ,
here is the new db.py, default.py, and index.html since that is the opening
page.
On Monday, July 11, 2016 at 7:31:04 AM UTC-5, Jeff Riley wrote:
>
> Let me attach the new code or are you able to see the git hub. If so I
> will push to that.
>
> Thank you,
> Jeff Riley
>
&g
Let me attach the new code or are you able to see the git hub. If so I will
push to that.
Thank you,
Jeff Riley
> On Jul 11, 2016, at 7:29 AM, Marlysson Silva <marlyss...@gmail.com> wrote:
>
> I think that I know where are missing pytz.. you put library in controller
&g
The plugin
Thank you,
Jeff Riley
> On Jul 11, 2016, at 7:25 AM, Marlysson Silva <marlyss...@gmail.com> wrote:
>
> Hm, in which file?
>
> You removed the pytz library or a plugin that already was in your code
> previously?
>
>
> 2016-07-11 9:19 GMT-03:00
>
> I'm creating this application to demonstrate this, if you want look..
>
> http://marlysson.pythonanywhere.com/timezone
>
> At app, the *Hour "your PC"* is datetime.now() simulating datetime of user,
> just that it's datetime of the pythonanywhere.
>
>
&g
No, but I wonder how you would do an integration for payment.
On Friday, 30 May 2014 03:19:20 UTC-5, Mark Graves wrote:
>
> Hey everyone,
>
> Using braintree to process payments in an app I'm working on. Anyone ever
> done it and willing to answer a few questions?
>
> (I checked their
Great thank you Marlysson. I will try this as soon as I can. Hopefully
tomorrow.
Thank you,
Jeff Riley
> On Jul 10, 2016, at 4:39 PM, Marlysson Silva <marlyss...@gmail.com> wrote:
>
> You try to make this:
>
> 1. Add library in the front-end to get user time
https://github.com/Sailor972/medicaltracker.git
Sent from Mail for Windows 10
From: Marlysson Silva
--
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
want timezone by any place, then I go prepare a article showing
> what I made to solved this.
>
> Em sexta-feira, 8 de julho de 2016 09:56:48 UTC-3, Jeff Riley escreveu:
>>
>> Just in case anyone is wondering why I would build such a strange little
>> web app, it is for my
PM UTC-5, Jeff Riley wrote:
>
> Hello all. Me again. I have run into an interesting issue. I have
> installed and followed niphlod's w2p_timezone_plugin. In order to make it
> work on my local PC I need to setup my db.py as follows.
>
> import pytz
> user_timezone = sessi
Here is the code as promised for the db.py and default.py.
On Thursday, July 7, 2016 at 2:19:10 PM UTC-5, Jeff Riley wrote:
>
> Hello all. Me again. I have run into an interesting issue. I have
> installed and followed niphlod's w2p_timezone_plugin. In order to make it
> work on
I have that in the default.py file. I will send the code when I get to my
computer.
Thank you,
Jeff Riley
> On Jul 7, 2016, at 5:10 PM, Marlysson Silva <marlyss...@gmail.com> wrote:
>
> Where you are inicialize session.plugin_timezone_tx ?
>
> I too already had this issue
Hello all. Me again. I have run into an interesting issue. I have
installed and followed niphlod's w2p_timezone_plugin. In order to make it
work on my local PC I need to setup my db.py as follows.
import pytz
user_timezone = session.plugin_timezone_tx or 'UTC'
db.define_table('events',
>
> http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#belongs
>
> Em quinta-feira, 7 de julho de 2016 06:24:08 UTC-3, Jeff Riley escreveu:
>>
>> Hello all. I am trying to get the line below from my db.py file to
>
Hello all. I am trying to get the line below from my db.py file to work.
Currently it is only working for the first entry "Mood". Any ideas?
db.events.event_level.show_if = ((db.events.event_type == "Mood") or
(db.events.event_type == "Headache") or
th.signature ?
>
> Em quinta-feira, 23 de junho de 2016 09:50:55 UTC-3, Jeff Riley escreveu:
>>
>> Good morning everyone. This is not really a Web2py question, but this
>> group has been so helpful during my little app development. I am using
>> Behave, Selenium a
; field, which stores record IDs from the db.manufacturers table, not
> manufacturer names. So, in the Behave specification, the value should be
> the integer record ID associated with the "Storm Producs Inc." manufacturer.
>
> Anthony
>
> On Thursday, June 23, 20
Good morning everyone. This is not really a Web2py question, but this
group has been so helpful during my little app development. I am using
Behave, Selenium and Splinter for my automated testing of my Web2py app. I
have run into a dropdown list situation where my db model (attached) is
Anthony. It was me being a complete idiot. I had not removed the HTML
form tags. I have attached the code that is working perfectly now. Thank
you so much for have the patience of a Saint.
On Wednesday, June 15, 2016 at 8:52:22 AM UTC-5, Jeff Riley wrote:
>
> All. I was going t
So I need to know who to get the record ID from the database to pass to the
update view. Using the form start and end calls is not working.
On Wednesday, June 15, 2016 at 8:52:22 AM UTC-5, Jeff Riley wrote:
>
> All. I was going to link this to my "Pure HTML Form" question just
Anthony thank you so very much. I will make these changes.
Thank you,
Jeff Riley
> On Jun 16, 2016, at 11:17 AM, Anthony <abasta...@gmail.com> wrote:
>
> For update forms, web2py includes the record ID as a hidden field and
> verifies that it matches the original recor
.
On Wednesday, June 15, 2016 at 8:52:22 AM UTC-5, Jeff Riley wrote:
>
> All. I was going to link this to my "Pure HTML Form" question just not
> sure how to do that. As you see in that question I was able to get past my
> copy paste issue and get the create form to work per
Sorry to be a pest but I really do need an answer for this one so I can finish
this update form page please.
--
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)
All. I was going to link this to my "Pure HTML Form" question just not
sure how to do that. As you see in that question I was able to get past my
copy paste issue and get the create form to work perfectly. Thank you all
for the extra eyes.
Now I am building the update form and I am getting
Oh lord folks. I had the same name for two fields. That was my only
problem. Thank you all very much.
On Monday, June 13, 2016 at 6:27:20 PM UTC-5, Jeff Riley wrote:
> Hello all. So sorry to bother you again. Since I have to overlay form
> fields on top of a canvas, I have to buil
Dave thank you. I will check this out and see. As far as errors I am just
getting the pop-up with no field showing issues. Which I am assuming is because
the Web2py Ajax does not handle html form elements.
Thank you,
Jeff Riley
> On Jun 13, 2016, at 6:47 PM, Dave S <snidely@gma
Hello all. So sorry to bother you again. Since I have to overlay form
fields on top of a canvas, I have to build pure HTML form elements (at
least that is all I can think to do). My problem is when I submit the form
I am getting errors in form even though I am filling out every field. I am
Hello all. I am trying to get Jquery to work on a dropdown. I have the
tax payer example from the book working just fine.
if(jQuery('#taxpayer_married').prop('checked'))
But when I try to get the text of my dropdown it is not seeing it. Do I
have something wrong in my syntax?
Hello all. Has anyone figured out how to save a Jquery Full Calendar event
to their Mysql database? I know I should use the Ajax function, but I am
not seeing how to get the information from the Full Calendar jquery event
dialog.
--
Resources:
- http://web2py.com
- http://web2py.com/book
Mark. Could you contact me at javajeff...@gmail.com. I would like to see
if you could help me finish this out and what that might cost.
On Monday, June 6, 2016 at 5:10:37 PM UTC-5, Mark Graves wrote:
>
> Hey Jeff,
>
> Most likely the date/time format.
>
> If you can post a
Sorry quick update. Rows is returning information, so I must have a
problem with my javascript. I still however cannot delete the record from
the SQLgrid view.
On Monday, June 6, 2016 at 2:38:03 PM UTC-5, Jeff Riley wrote:
>
> Now I am truly confused. I am able to submit the form and
-5, Jeff Riley wrote:
>
> Hello all. I have built many forms in Web2py, but I clearly need another
> set of eyes. This form only works if I display every signal field for some
> reason. I am at a loss as to what I have set wrong. I will add a file
> with all the relevant code.
.
On Sunday, June 5, 2016 at 6:14:35 PM UTC-5, Mark Graves wrote:
> Hey Jeff,
>
> It looks like you created a sqlform expecting all fields, then the form
> was expecting all fields back, but you only used some of them in the view,
> so they were not processed.
>
> Specifically, the
Hello all. I have built many forms in Web2py, but I clearly need another
set of eyes. This form only works if I display every signal field for some
reason. I am at a loss as to what I have set wrong. I will add a file
with all the relevant code. Thank you all very much for you help with
All, Ok I think this would help my situation, but I am missing how to
execute the Ajax. I have four views that contain the same javascript and
would really like to move to the static js folder, but the javascript
requires elements passed to the views from the controllers. The "Drawtext"
Ah great Anthony. Thank you very much for all your help with this.
--
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
Using 2.14.5
On Wednesday, April 27, 2016 at 8:56:48 AM UTC-5, Anthony wrote:
>
> Are you running an older version of web2py on PythonAnywhere?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Anthony,
Sorry for the delay in getting back to you. It says...
invalid view (default/index.html)
On Tuesday, April 26, 2016 at 1:45:32 PM UTC-5, Anthony wrote:
>
> What is the exact error message?
>
> On Tuesday, April 26, 2016 at 2:23:51 PM UTC-4, Jeff Riley wrote:
>>
/compiled/views.default.index.html.pyc file?
>
> Anthony
>
> On Tuesday, April 26, 2016 at 11:33:43 AM UTC-4, Jeff Riley wrote:
>>
>> Hello everyone. Has anyone run across an issue in PythonAnywhere where
>> after you compile your Web2py you are able to remove the controllers an
Hello everyone. Has anyone run across an issue in PythonAnywhere where
after you compile your Web2py you are able to remove the controllers and
models folders, but not the views folder. If I try to remove the views
folder it is telling me it cannot find index.html.
--
Resources:
-
That is great Anthony and everyone else. Thank you very much for the
fantastic help.
On Friday, April 8, 2016 at 2:44:38 PM UTC-5, Jeff Riley wrote:
>
> Hello all. I have the following if statement in my views to try to
> eliminate empty fields that are displaying "None"
All thank you very much for the really fast responses. It turns out I had
to use the "If customer.address2 is None:" statement. The "If
customer.address2:" would not work for me. Again thank you all very much.
On Friday, April 8, 2016 at 2:44:38 PM UTC-5, Jeff Riley wrot
Hello all. I have the following if statement in my views to try to
eliminate empty fields that are displaying "None" in my views. I am not
sure how to get the field value to evaluate the statement. Any help
appreciated.
{{if customer.address2 == "None":}}
Apt/Suite:
{{else:}}
asswd"'])
On Wednesday, April 6, 2016 at 4:49:46 PM UTC-5, Jeff Riley wrote:
>
> Trying to run some selenium tests but not able to get the server started
> from within my python script on windows. If I don't already have
> web2py.exe running, it just spins in the web browser
Trying to run some selenium tests but not able to get the server started
from within my python script on windows. If I don't already have
web2py.exe running, it just spins in the web browser. Any ideas?
Code:
def start_web2py_server():
#noreload ensures single process
print
Sorry everyone. After running more tests, the image is getting rotated for
some reason in the email. My process was to take a picture with my phone
and email it to my computer. Sorry for the false alarm.
On Monday, April 4, 2016 at 1:44:19 PM UTC-5, Jeff Riley wrote:
>
> Hello all.
Hello all. When displaying a database stored image it is rotated -90 degs
from the original. Any ideas how to rotate this back to normal? Here is
the relevant code.
Table:
db.define_table('ball_image',
Field('image_file', 'upload', uploadfield='picture_file'),
Hello all. I have the following function to display a smartgrid. My issue
is I am not able select a header to sort. It gives me a 404.
@auth.requires_login()
def manage_sheets():
if 'new' in request.args:
redirect(URL('new_sheet', args=[session.cust_id]))
elif 'edit' in
What have I done wrong with represent. it is still displaying none.
Field('bridge', 'string', length=5, represent=lambda v, r:
'' if v is None else v),
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
So sorry. I found it. I did not realize current_record was what I was
looking for.
On Friday, April 1, 2016 at 8:12:10 PM UTC-5, Jeff Riley wrote:
>
> All, So I have out smarted myself. I want to return all versions of a
> specific sheet from sheet_archive. Sheet_archive is a Web2
All, So I have out smarted myself. I want to return all versions of a
specific sheet from sheet_archive. Sheet_archive is a Web2py record
version table. I was expecting the archive table to have the sheet.id
column, but it appears it does not. So I am wondering how I would return
all
ient side and not in validator. There is no
> reason for the server to even know what the client representation of dates
> is.
>
> On Tuesday, 29 March 2016 12:44:54 UTC-5, Jeff Riley wrote:
>>
>> Mr. Pierro. I am embarrassed that was so easy.
>>
>> On Monday, Ma
Mr. Pierro. I am embarrassed that was so easy.
On Monday, March 28, 2016 at 11:09:32 PM UTC-5, Massimo Di Pierro wrote:
>
> look into views/web2py_ajax.html
>
> On Monday, 28 March 2016 16:09:39 UTC-5, Jeff Riley wrote:
>>
>> Hello everyone. I have the following fi
Hello everyone. I have the following field defined.
Field('due_date', 'date', requires = IS_DATE(format=T('%m-%d-%Y'))),
The date picker that comes up with this field is setting the date to
-MM-DD which is conflicting with the format I have defined above when I
his submit. How to I get
ession cookies is getting passed back and
> forth.
>
> On Monday, March 28, 2016 at 3:16:32 PM UTC-4, Jeff Riley wrote:
>>
>> Just an update. I have installed FireFox and it is not giving me the
>> same problems. It lets me stay logged in until I tell it to log me out.
Just an update. I have installed FireFox and it is not giving me the same
problems. It lets me stay logged in until I tell it to log me out. This
has to be some setting in both IE 11 and Chrome that I just cannot find.
On Monday, March 28, 2016 at 12:06:54 PM UTC-5, Jeff Riley wrote
Hello all. I have deployed on PythonAnywhere and everything is working
except anytime I leave the browser window to go to another tab or do
something else on the computer I have to log back in to my application. It
is doing this with every browser I have tried (IE 11, Chrome) except
Windows
Hello all,
I have defined the following TAG.button in a SQLFORM. These are working
great, but they are ugly. Is there an attribute to set within TAG.button
that will make the buttons use the same default Web2py style?
form=SQLFORM(db.sheet, this_sheet, buttons =
trouble
understanding how to grab the customer id and the sheet id.
Thank you,
Jeff Riley
--
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
Thank you all very much. This worked.
args=[request.args(2),request.args(5)]
On Friday, March 18, 2016 at 5:08:15 PM UTC-5, Jeff Riley wrote:
>
> Ah you are totally correct. The controller is default and manage_customers
> is the function. I am still getting used to these c
Sorry, edit is the function. This URL does not call view.
--
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
trouble
understanding how to grab the customer id and the sheet id.
Thank you,
Jeff Riley
--
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
trouble
understanding how to grab the customer id and the sheet id.
Thank you,
Jeff Riley
> On Mar 18, 2016, at 3:58 PM, Dave S <snidely@gmail.com> wrote:
>
>
>
>> On Friday, March 18, 2016 at 1:18:23 PM UTC-7, webm...@trytha.com wrote:
>> Maybe somethin
Ah you are totally correct. The controller is default and manage_customers is
the function. I am still getting used to these constructs.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Hello All,
I am pulling my hair out. I am trying to redirect the view button on a
smartgrid. I can get the button to redirect to the view I want, but I
cannot parse the URL correctly to get the correct sheet id.
Here is my controller
@auth.requires_membership('manager')
def
Hello all,
I have the following SQLFORM.smartgrid defined.
form = SQLFORM.smartgrid(db.customer, linked_tables=['address', 'sheet',
'sheet_archive'],
searchable= dict(customer=True, address=False,
sheet=True),
create=True, paginate=20,
On Sunday, March 13, 2016 at 7:04:56 PM UTC-5, Jeff Riley wrote:
>
> Hello everyone,
>
> I am so close to having my project finished. I need to be able to
> override the URL in the SQLFORM.grid 'Add Record' button. I also have the
> added problem in that I have linked
Hello everyone,
I am so close to having my project finished. I need to be able to override
the URL in the SQLFORM.grid 'Add Record' button. I also have the added
problem in that I have linked tables in my grid and would like to override
their add buttons also. I have gone through almost all
Is there any update on this bug?
I am also experiencing it. I am using the workaround suggested by JungHyun
Kim
I am using 2.3.2.
On Monday, August 20, 2012 12:49:14 PM UTC-4, JungHyun Kim wrote:
Hello!
I have a problem with upload field.
I tried to upload a file through one form with
I followed the example for the REST API (multiple times actually). However
I keep getting ***no matching pattern* every time.
In fact it looks like the auto pattern is not generating because when I
navigate to
api/patterns.json, I see
{content: auto}
instead of the beautiful rendering of
I have a question about security (it may be unfounded),
Isn't server-side interpretation more secure? Especially when business
logic that doesn't pass as controller code is embedded into the view code.
Brython would exposed such code to a front-end user. What are your
thoughts?
On Saturday,
I am attempting to use the virtual Methods of the dal but I am running into
this issue. Here's my code
db.define_table('Posts',
db.Field('zipcode'),
db.Field.Method('distance',lambda row, loc_zip=3:abs(row
.zipcode-loc_zip))
)
But I am running
, 2012 8:24:02 AM UTC-5, DenesL wrote:
Hi Jeff,
I believe you need web2py 2.3.1 or higher for that.
On Monday, December 24, 2012 1:36:25 AM UTC-5, Jeff Kusi wrote:
I am attempting to use the virtual Methods of the dal but I am running
into this issue. Here's my code
db.define_table
Could somebody address this issue please? Mine is also doing the same
thing.
here's how my config looks:
---
from gluon.tools import Auth, Crud, Service, PluginManager, prettydate
auth = Auth(db)
from gluon.contrib.login_methods.rpx_account import RPXAccount
We copy the math_quiz directory and all its contents from a source install
of web2py, where it works, to the application directory of a user created by
the debian package, where it gives the error above.
Three of us have confirmed this on three separate installations. We are
pretty confident
Some elements about what you are asking about :
- The company behind OpenERP (Tiny) wrote the OpenERP client/web
server with another (french) company and I guess that the reason they
didn't do that on their own is that this is a huge work.
- Both clients (the web server you want to rewrote and the
How about :
Build th web!
(AND GET A LIFE)
On Jan 26, 3:24 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
How about
get it done! or build the web!
get the things done seems too long. I would buy some T-shirts. :-)
On Jan 26, 2011, at 7:28 AM, Bruno Rocha wrote:
I dont like
I had another idea which is a simplification on my first one : an
action acting like a proxy on the php server.
I just wrote a little POC that seems to work. Here are the few lines
to put in a controller:
import urllib
def make_get_stuff(an_url):
def get_stuff():
This is very interesting and could make me save (or waste) a lot of
time : I have to move a website from PHP to web2py. The website is
small and not really dynamic : the content is in tables and so but the
site will be extended (in web2py) and can be see as a static website
(but with ugly urls
When I had this kind of problem, I removed the --quiet and --
background in the /etc/init.d/web2py file (line 65 and 67 of your 3rd
file).
I was then able to get some error messages when doing /etc/init.d/
web2py start
In my case, it helped me to find a stupid error I did.
Good luck.
On Dec
Wuth SQLFORM.factory, the way to do that is to use the default arg the
Field.
On 25 août, 02:58, annet annet.verm...@gmail.com wrote:
In a controller I defined a form:
form=SQLFORM.factory(Field('bedrijf',requires=IS_IN_SET([2,3,4,5,6,7],labels=['Fitnesscentrum','Fysiofitnesscentrum','Personal
So far, SUDS is working okay. I think I'll stay with it unless I
really have problems with it.
Thanks all!
For new users like me, downloadable packed applications would be great
with each examples in the book. A few times, the examples were not
showing correctly online and the cutpaste on IE browser is not
providing the line feed and carriage return showing online.
Although, the packed applications
You can attach the w2p package if you want to, but I modified the def
bg_find() as you did and now it's working as expected.
Thank you,
Jeff
Does someone have an uploadable version of the wiki application found
in chapter 3?
The search page does not work on my computer, but I can't understand
why. My best guess would be a security feature in Internet Explorer,
but I would like to exclude the possibility of an error in my code.
The
1 - 100 of 132 matches
Mail list logo