day, February 11, 2016 at 6:02:16 PM UTC-5, Greg White wrote:
>>
>> I should have mentioned that I tried IS_IN_DB first off and it didn't work
>>
>> On Wednesday, February 10, 2016 at 4:25:48 PM UTC-7, Dave S wrote:
>>>
>>>
>>>
>>> On Wed
I should have mentioned that I tried IS_IN_DB first off and it didn't work
On Wednesday, February 10, 2016 at 4:25:48 PM UTC-7, Dave S wrote:
>
>
>
> On Wednesday, February 10, 2016 at 2:01:52 PM UTC-8, Greg White wrote:
>>
>> Want a computed field to show whether or
Want a computed field to show whether or not a field value exists in
another table
started with this...
db.define_table(
'inventory',
Field('name'),
Field('qty', label='Quantity'),
Field('MatSize',label='Material Size'),
format = '%(name)s')
db.define_table(
This is one approach.
http://stackoverflow.com/questions/17799041/how-to-import-existing-mysql-database-into-web2py
On Monday, February 23, 2015 at 1:44:27 PM UTC-7, Abhijit Chatterjee wrote:
If I have an old site n mysql database. N want to convert to web2py,
rather than typing up the
Thanks for the help, got it working. I need to learn some debugging
techniques for web2py, but you have pointed me in the right direction for
this kind of problem, if anyone has any suggested links it would be
appreciated, thanks!
On Friday, January 9, 2015 at 1:15:13 AM UTC-7, Niphlod wrote:
=len(results))
so you can check how many rows are you actually selecting :P
On Sunday, January 4, 2015 4:17:03 AM UTC+1, Greg White wrote:
I am brand new to web2py and know a little python, so I am a definite
novice. I am trying to build a purchasing agent app and am getting result
0 from
I am brand new to web2py and know a little python, so I am a definite
novice. I am trying to build a purchasing agent app and am getting result
0 from function cost3. I am expecting to get a sum of the values for a
specified job number (in cost2) in table PO Field mycost when I specify a
job
Hi Guys,
I am using a list:string to store a list of lists. Each seperate list has 4
values, qty (int), name (string), description (text) and price(double).
Stores nicely and looks fine in the db table eg.
[1, 'OS 7030', 'OS 7030', 755.0], [3, 'SMT 24 Btn', 'SMT IP Phone', 360.0],
[1, 'SMT
Ahh Anthony what would we do without you... tyvm... (again)
a few quick changes to code and works a charm...
Cheers
Greg
On Monday, 6 October 2014 00:48:09 UTC+10, Anthony wrote:
Can you show your code? If you want to store a Python structure, you're
probably better off using a json field
I am trying to do a combined update and insert using SQLFORM.factory with
some redirects for good measure.
Everything works fine except the update which fails to alter the record in
question.
@auth.requires_login()
def remote_check():
j_id=request.args[0]
for row in
to see where I am
screwing it up...
Can you point me in the right direction please?
Cheers
Greg
On Tuesday, 9 September 2014 23:30:46 UTC+10, Anthony wrote:
You've got a redirect right before the update code, so it will never get
to execute that code.
Also, your two tables include a field
include a field with the same name
(business_name), so putting them both in SQLFORM.factory won't work
properly.
Anthony
On Tuesday, September 9, 2014 9:10:50 AM UTC-4, Greg Vaughan wrote:
I am trying to do a combined update and insert using SQLFORM.factory with
some redirects for good
Somehow the sales table in my site has been corrupted... it is now a 0kb
file (was about 600KB). Every other table is fine however. How can I
reconstruct the data in this table? I have a backed up csv which is a
little out of date but would do.
Thanks
Greg
--
Resources:
- http://web2py.com
Yeah... everything was fine one moment then it all just stopped... when I
looked at the file it was 0kb. I have no idea what happened... cannot
access database admin... site still runs except for the functions that
access that table...
On Saturday, 6 September 2014 02:22:31 UTC+10, Greg
I wasn't working on the site at the time... I was notified by some of the
employees... yes it looks like the table has been dropped... I cannot for
the life of me work out how that could have happened though.
On Saturday, 6 September 2014 02:41:30 UTC+10, Leonel Câmara wrote:
Err wait a
... Make sure to backup everything,
and then do a fake migrate.
Marin
On Fri, Sep 5, 2014 at 6:51 PM, Greg Vaughan greg.s@gmail.com
javascript: wrote:
I wasn't working on the site at the time... I was notified by some of the
employees... yes it looks like the table has been dropped
corrupted' % table._dbt)
RuntimeError: File
/home/gsv/enertek/web2py/applications/welcome/databases/c8b669d15150d7109e5f7ab36744a5b7_sales_leads.table
appears corrupted
On Saturday, 6 September 2014 03:05:27 UTC+10, Greg Vaughan wrote:
Tried fake_migrate... production site on pythonanywhere so disk
to true
5) Deleted this model and renamed the model holding the backup files back
to its original name...
and (quite miraculously) everything appeared as it was immediately before
the crash...
Thanks for the help everyone...
On Saturday, 6 September 2014 03:15:27 UTC+10, Greg Vaughan wrote:
Version
to
install a packed app, that I have missed?
Thanks
Greg
--
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
Hi Massimo
I get the requires gitpython module so I cannot complete a pull request.
I was hoping to be able to install the app as I would on the PC but that
option is not available... should it be?
Thanks
Greg
On Friday, 22 August 2014 00:07:36 UTC+10, Massimo Di Pierro wrote:
What error do
from this group and all its topics, send an email to
web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Greg Sier
Sier Associates AU
+61 7 55736422
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com
Heading says it all... no problems using localhost IPv4...
Is this expected behaviour? Seems rather strange if so...
--
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
Is there any way to set the default browser for web2py to open in. It's
normal behaviour is to use the computer default... can this be changed?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
tyvm Massimo exactly what I was looking for... it works perfectly and now
the rest of my code works :)
On Monday, 5 May 2014 14:46:19 UTC+10, Massimo Di Pierro wrote:
fields = db(db.address.business==4L).select().first().as_dict()
On Sunday, 4 May 2014 16:59:34 UTC-5, Greg Vaughan wrote
The following code
fields = db(db.address.business==4L).select().as_dict()
returns a dictionary of dictionaries
{1L: {'street_name': 'Another', 'postcode': '4888', 'id': 1L, 'unit': False,
'building_name': '', 'city': 'Deadsville', 'lot_section': None,
'sub_building': '', 'street_suffix':
Make the next one in Sydney (Australia) Massimo :)
Just joking... all the best for it and looking forward to seeing the
videos...
On Saturday, 26 April 2014 13:08:01 UTC+10, Massimo Di Pierro wrote:
Please register only if you plan to attend in person. We will record the
talks and post
Hi everyone...
I am using a LOAD function for a notes field in the sidebar of my app. I am
able to load the notes for a specific business by hardcoding the id of the
business in the controller like so...
@auth.requires_login()
def note():
current==1
containing all the fields from
all the tables you pass, so there's only one table_name available. Of
course, all field names MUST be different (i.e. unique within the form).
On Tuesday, April 22, 2014 5:35:18 AM UTC+2, Greg Vaughan wrote:
Hey Niphlod,
Thanks for that answer... you are spot
Hi Niphlod...
{{=response.vars}} shows nothing... nor does {{response.toolbar()}}...
db stats shows notes.business = 1 when I hardcode it as above...
I took a screenshot here http://screencast.com/t/mmRPGOHUAjt
I assume that the filter will have to be sorted in the controller as the
LOAD
:
how are you using LOAD to load the component ?
On Thursday, April 24, 2014 5:23:21 PM UTC+2, Greg Vaughan wrote:
Hi Niphlod...
{{=response.vars}} shows nothing... nor does {{response.toolbar()}}...
db stats shows notes.business = 1 when I hardcode it as above...
I took a screenshot
Cheers Anthony
Worked a treat...
Thanks everyone for the help...
On Friday, 25 April 2014 03:12:00 UTC+10, Anthony wrote:
{{extend 'layout.html'}}
{{=form}}
{{pass}}
{{block right_sidebar}}
{{=LOAD('default','note.load',ajax=True)}}
{{end}}
Just do:
{{=LOAD('default', 'note.load',
together an implementation of
Pickadate.jshttp://amsul.ca/pickadate.js/index.htm
which is the sort of thing my clients expect in a modern browser
application.
Cheers
Greg
On Sunday, 20 April 2014 16:36:25 UTC+10, Annet wrote:
Hi Greg,
I use a customized version of jQuery UI (I only needed
Hi everyone,
When I am using the SQLFORM.widgets.radio.widget my jquery selection code
does not work. If I comment out the widget it works fine. Does anyone know
if there is a workaround or is it just not possible to combine the two
together.
In the Model...
db.define_table('leads',
Hi everyone,
I am using a bunch of jQuery hide effects based on the example code in the
book... (Chapter 11... Conditional fields in forms) which work great with
my SQLFORM.
However when I change the controller to use SQLFORM.factory so that I can
post to two tables (based on Chapter 7... One
Hey Niphlod,
Thanks for that answer... you are spot on in seeing the problem... my
#appointments_blah id's did get changed to #no_table_blah hence the
jQuery was targeting id's that no longer existed...
To fix it I simply changed the hard coded script at this point to target
#no_table_unit,
Is there any way that I can use a different date and time picker. The
default one is horrible but it seems to be baked in to web2py?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
it a far more difficult
proposition to get to the smaller economies.
On Wednesday, 2 April 2014 15:28:35 UTC+10, mweissen wrote:
Stripe looks good, but could not be used in Austria/Europe. Sorry! :-(
Martin
2014-04-02 5:38 GMT+02:00 Greg Vaughan greg.s@gmail.com javascript:
:
Stripe charges
You're welcome... if you need any design stuff feel free to ask anytime...
Front end design is the easy bit :)
On Wednesday, 2 April 2014 23:52:55 UTC+10, Massimo Di Pierro wrote:
Thank you Greg. This is really nice! I will pass it along to the
organizing committee.
On Wednesday, 2 April
Stripe charges me (in Australia) 2.7% + 30cents for each transaction
processed, Visa, Mastercard or American Express. No other fees that are
typically charged by other alternatives (Authorize.net) monthly fee, annual
fee, chargeback fee etc... it is very much the simplest and most direct...
Check out Stripe... https://stripe (dot) com/
Massimo has a library created here and there is some support in the docs...
On Monday, 31 March 2014 19:57:14 UTC+10, Mika Sjöman wrote:
Hi
I wonder if anyone here has implemented recurring payments with Paypal
here with Web2py? Any experience
So i am trying to implement a stripe payment page and using the examples in
the current gluon/contrib/stripe.py
I cut and pasted the Template into a page with the default controller to
see how it went but it failed first up with a global name not defined error
on pk=PUBLISHABLE_KEY_GOES_HERE.
Just to inform that the example here does not work with Stripe V3 (current)
The script reports that the payments are accepted (provided you supply
valid currency and date arguments) however they are not received at the
stripe end. (they do not show in the stripe console log file.)
Was hoping
Hi Jim
That was exactly what I needed thanks so much. Works perfectly.
--
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
Hi everyone...
Linked tables like...
db.define_table('calls',
Field('business', 'string'),
...
and
db.define_table('leads',
Field('business', 'reference calls'),
...
with controller containing
def calls():
form = SQLFORM(db.calls)
if form.process().accepted:
Hi everyone,
Building a series of telemarketing and sales forms for a friends company to
use.
Looking to utilise an input mask such as the one mentioned in this post.
https://groups.google.com/forum/#!searchin/web2py/form$20input$20mask$20jquery/web2py/zRt9whk6y68/3jqiiRII9QYJ
and wanted
Congratulations... and a big thank you also... I have just found web2py and
absolutely amazed at how brilliant it is
On Saturday, 4 January 2014 14:08:38 UTC+10, Massimo Di Pierro wrote:
Web2py/me have been nominated for the Edison Award. Please wish web2py
(and me) good luck. :-)
--
in as a user in the editor group and visit
http://127.0.0.1:8000/testapp/default/data/create/person
I get a Not authorized ACCESS DENIED message. Should I be setting up my
auth_permission differently, or maybe use another decorator?
Thanks is advance for any help.
Greg
--
---
You received
Confirming that we've come across the same issue lately ...
On Feb 29, 11:42 am, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
Can you show us the code so I can reproduce the behavior and fix it
(if a bug, as it looks like).
On Feb 28, 4:47 pm, Tsvi Mostovicz ttm...@gmail.com wrote:
+1 on this.
It's in our 2 year plan for a major client.
On Feb 16, 6:48 am, TheSweetlink yanosh...@gmail.com wrote:
Hello,
I have been using OrientDB and web2py quite successfully for some
months now.
While there are many great projects and efforts to combine these
powerful programs, I do
or OLAP tools i.e. Mondrian forks such as Pentaho, Jasper, JPivot.
Most are written in java.
On Feb 16, 8:24 am, Ross Peoples ross.peop...@gmail.com wrote:
I think he means reporting functions like Crystal Reports or SQL Server
Reports.
I'm trying to get this working. I followed the suggestion in the link
you provided and added the following after the logging module is
imported:
logging.logMultiprocessing = False
And I got a little farther than the previous poster. I can pull up
the admin interface using the android browser,
Thank you, that does work.
On Dec 17, 11:54 am, DenesL denes1...@yahoo.ca wrote:
Try setting
db.auth_user.last_name.requires=[]
in your model after auth is defined or in your action before the form.
On Dec 17, 12:44 am, Greg greg.kr...@gmail.com wrote:
Hello,
When my users
last_name.readable, writeable, and required to
False, but it still requires the field.
I realize they are largely hard-coded, but is there any way around the
built-in auth table requirements without breaking things?
Thanks,
greg
anyone have any idea what's going on here? Why am I not seeing my
local web2py server?
Thanks for any help.
greg
Ah, ok. That did it. Thanks!
On Dec 7, 5:46 pm, Jonathan Lundell jlund...@pobox.com wrote:
On Dec 7, 2010, at 3:39 PM, Greg wrote:
I'm playing around with the new autoroutes, but it's not working how
I'd expect it to. I copied autoroutes.py from the trunk and put it at
web2py/routes.py
:}}
tr
td{{=e.events.event_date}}/tdtd{{=e.events.title}}/
tdtd{{=e.rooms.id}}/td
/tr
{{pass}}
/table
These kind of programs read better if table names are singular. ;-)
Massimo
On Mar 22, 5:45 pm, Greg greg.kr...@gmail.com wrote:
Hello!
I have a view that lists some records
Hello!
I have a view that lists some records (events), one of the fields
(events.room_id) is a foreign key. When i display these records I want
to display rooms.name, not events.room_id. Can someone give me a nudge
(or swift kick) in the right direction on how to do this? I suspect a
join of some
-h
On Thu, Aug 13, 2009 at 2:44 PM, Fran francisb...@googlemail.com wrote:
On Aug 13, 5:51 pm, Greg gdwar...@gmail.com wrote:
After running a web2py app for several minutes on my local machine, I
noted that 13python.exeprocesses have been started in Windows
consuming about 90MB
After running a web2py app for several minutes on my local machine, I
noted that 13 python.exe processes have been started in Windows
consuming about 90MB. Is that to be expected?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I'm trying to do this from the web2py shell, and I get the following
error:
response.render('default/index.html2',context=dict(message=hello))
Traceback (most recent call last):
File console, line 1, in module
File /home/gwarner/web2py/gluon/globals.py, line 128, in render
Thanks for the suggestion, but I really don't want to do that if it's
the kind of redirection that makes a round trip through the client.
On Mar 1, 1:51 am, weheh richard_gor...@verizon.net wrote:
I suppose you could always redirect.
--~--~-~--~~~---~--~~
You
% (request.controller, request.function)
Change the value of this variable to modify the view file associated
with a particular action.
2009/3/1 annet jmverm...@planet.nl
Greg,
As far as I know the following code solves your problem:
def index():
if condition
on the
Linux platforms I've deployed on (like webfaction).
If I'm reading the PIL license correctly on pythonware.com, it can be
distributed. So, are there any technical difficulties or licensing
reasons why a PIL binaries should not be included in a distribution?
Thanks,
--greg
be included as an experimental capability or something.
--greg--
On Mar 1, 10:52 am, mdipierro mdipie...@cs.depaul.edu wrote:
I agree with you that PIL is very useful.
The issue is we need to draw a line somewhere.
Lots of people need additional packages and we cannot include them
all.
After
:58 am, 姚国荣 map...@gmail.com wrote:
http://yao.appspot.com/init/default/showblogpost/3016
2009/3/1 Greg Fuller gregf...@gmail.com
Nice; thanks!
On Feb 28, 10:44 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Mind that you can also define functions in templates. For example
I've only been hanging around here a short time, but this is not the
first time I've seen Massimo make a patch while the thread is still
fresh. Just skip the ticket why don't you. Impressive.
On Mar 1, 11:39 am, mdipierro mdipie...@cs.depaul.edu wrote:
Hi Boris,
Your patch is in trunk with
:05 PM, Greg Fuller gregf...@gmail.com wrote:
IMHO, I would be a great benefit to web2py to have PIL included if it
could be done with good success rate - not even 100%. Maybe it could
initially be included as an experimental capability or something.
Massimo is right with his arguments
True enough. Could probably do a plugin which would test for the
environment, import as, etc. Then the work could still be shared
without loading down the base.
But darnit, I was hoping all 842 members would raise their voices in
unison for this idea. :)
--greg--
On Mar 1, 2:15 pm, Yarko
the import tools in python to get
PIL, for example. But in linux distros almost always have packages to
handle this stuff. You may get an uproar if you skipped the distros way
of installing new python libraries.
Regards,
Jason
On Sun, 2009-03-01 at 12:30 -0800, Greg Fuller wrote:
True enough
this -- but if easy_install depends
on the right compilers being available for non-pure-python packages,
then the easy_install solution might be iffy at best.
--greg--
On Mar 1, 5:22 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I think what we really need is package easy_install with web2py
,
--greg--
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr
,
--greg--
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr
Oh my, I see you can put any python code in a template. I'm not used
to this flexibility (except for a little time with mako). Now I just
need to figure out scoping for the external functions I want to call.
On Feb 28, 6:26 pm, Greg Fuller gregf...@gmail.com wrote:
How can custom template tags
) and include it {{include 'aux.html'}}
You would then use it with {{link('http://www.web2py.com'}}
Massimo
On Feb 28, 9:26 pm, Greg Fuller gregf...@gmail.com wrote:
Oh my, I see you can put any python code in a template. I'm not used
to this flexibility (except for a little time with mako
,
--greg--
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr
I installed it and gave it a quick look. Nice. This could be a really
productive way to start apps. Thanks for sharing this.
What needs to be done still?
--greg--
On Mar 1, 1:32 am, Alexandre Miguel de Andrade Souza
alexandrema...@gmail.com wrote:
To easy of use and help in documentation, I
of which are selectively migrated to sphinx.
Keep the changes due to new releases in sphinx only.
Just asking.
--greg--
On Feb 27, 6:53 am, chris p chrispri...@gmail.com wrote:
I've been mostly lurking, but would like to offer a few comments...
reST to HTML is very straightforward
Just a few notes:
Sphinx is not part of Trac.
Django uses Sphinx -- docs.djangoproject.com is a Sphinx site.
The organizational and cross-referencing capabilities of Sphinx
outshine any Wiki. Documentation organized by a wiki often becomes
jumbled and disorganized.
However, a wiki is a good
. Wiki documentation usually gets badly disorganized over
time.
Wiki's are better for multiple contributors.
If you use a wiki that supports restructured text, you can collect the
docs from multiple contributors in a wiki , and then much more easily
move the docs to Sphinx.
--Greg
Here is the django documentation, in restructured text, with some
sphinx templates, in a svn repository, and referenced by trac:
http://code.djangoproject.com/browser/django/trunk/docs
On Feb 26, 7:03 pm, Greg Fuller gregf...@gmail.com wrote:
Hi Everyone,
I was following the thread
An important distinction:
1. http://docs.djangoproject.com is a Sphinx site.
2. http://code.djangoproject.com/browser/django/trunk/docs is the
sphinx documentation in an svn repository referenced through Trac.
It holds the restructured text and Sphinx templates.
HTH, Greg
On Feb 25, 9:00 am
81 matches
Mail list logo