Yes. In the view: 'for *request* in rows' is used.
Thank you for your help
On Sunday, July 12, 2015 at 6:14:30 PM UTC-5, Anthony wrote:
It looks like somewhere you have overwritten the web2py request object
with a Row object from you db.request table. Do you have any code in that
does
Thank you. I got the code to compile by running web2py from source but the
suggested code above did not exactly work. I found a working solution from
stackoverflow.
http://stackoverflow.com/questions/30072099/the-correct-way-to-implement-login-with-google-account
On Sunday, July 12, 2015 at
Hi, I am facing problem in formatting Docx file using python docx library.
I am able to replace some text in a paragraph but can't maintain text font.
from docx import Document
# read doc file
doc = Document(file name)
# now I need to replace few words in a paragraph,(lets say replace a key in
Hi.
I can't see my last post, so can't add to the thread.
but is this the correct way to do it:
adding the form.var.phone before the accept?
def testform():
record = db(db.config.type==SMS_NUMBER).select(db.config.txt).first()
smsNumber = record.txt if record else ''
Has there been any solution yet?
Could it be expired?
Mine is brand-new..
Am Montag, 15. Juni 2015 07:10:49 UTC+2 schrieb Annet:
Could it be expired?
I reported the same issue on 24. Mai
https://groups.google.com/forum/?fromgroups=#!topic/web2py/ytYoSQuOux4
Kind regards,
Anne
Good Day people,
I have a project and do not know what the best way to start, if anyone can help
me , I will be immensely grateful.
Let the facts:
I would like to deploy the Company to work a form query where employees
create requests for certain departments , and these departments must
I've already installed Web2Py and have it working. Now I want to install it
into a directory.
The problem:
I have other files in the root directory of the domain, called
/var/www/somedomain.com/public_html/. Because Web2Py is installed I can't
access those files (phps, images, other
I would like to deploy the Company to work a form query where employees
create requests for certain departments , and these departments must
respond to these requests. How best to work ? Using SQLform or Form ?
please start from simple first, after it run well, then go ahead to make it
Actually the web2py applications/ folder is not required to be under the
the web2py folder. It can be moved and you can
use https://github.com/web2py/web2py/blob/master/examples/options_std.py to
specify the working folder, i.e. the location where the applications
folder is located. Nobody
I would suggest if you need CRM functionnality that you have a look to the
existing open source project, let say Odoo (OpenERP) which contain an CRM
module and planty of orther thing... There is a Docker Odoo package that
may help you deploy it rapidly for testing...
Richard
On Tue, Jul 14, 2015
Congratulations!
On Monday, 13 July 2015 23:23:15 UTC-5, Iuri Guilherme dos Santos Martins
wrote:
As you would confirm here:
http://www.ebc.com.br/tecnologia/2015/07/conheca-os-vencedores-do-desafio-hacker-da-ebc-no-fisl-2015
Winners of EBC's Hackathon at FISL16 were both web2py apps. All
This would happen if the user has already clicked the link.
On Wednesday, 10 June 2015 03:54:37 UTC-5, Johann Spies wrote:
What would cause this error message if a user receives a link from web2py
to reset his password and when he clicks on it he gets the error : invalid
password reset?
Yes. Are you saying that isn't working?
Note, in this case, because you are using the FORM and INPUT helpers rather
than SQLFORM, you can simply set the _value attribute directly:
INPUT(_name='phone', type='string', _value=smsNumber, requires=IS_NOT_EMPTY
())
Anthony
On Tuesday, July 14,
I was just about saying that I was taking a hack at websocket_messaging.py
before even trying to go through Richard's code only to realize Stifan just
mentioned that. Anyway, what happens now is, when I start the
websocket_messaging.py with
python web2py/gluon/contrib/websocket_messaging.py -k
We need to see all the relevant code -- you haven't shown the link_callback
code where the session is manipulated.
Anyway, it's not the same problem as the one originally raised in this
thread -- you don't have two simultaneous Ajax requests writing to the
session (your Ajax request that
You may also use :
{{if request.is_local:}}
{{=response.toolbar()}}
{{pass}}
In your view which if you click on the button will let you know all the
db.request perform by your web page request...
Richard
On Tue, Jul 14, 2015 at 9:44 AM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
This question can be better addressed on the *docx *google group:
https://groups.google.com/forum/#!forum/python-docx. You could also drop
an email: python-d...@googlegroups.com
mailto:python-docx%40googlegroups.com
Kiran Subbaraman
Mirek,
db.region(r.region_id).name = db(db.region.id == id).select(db.region.name)
So this is 1 request... I wasn't know r.region_id.name, so if this is
perform under the houd by web2py there is no supplementary request except
if this request is lazy, mean that if performs only when you call it
I'm trying to understand and implement Ajax in Web2py with the reddit_clone
tutorial
Is there a prerequisite or something else I am missing?
The following should be quite verbatim
{{for data in rows:}}
div class=well
table
tr data-id={{data.id}}tdbutton
I make simple app and upload it to server
then all external request raise Not Found :(
I kill a day for solve it problem
Please edit in menu.py code:
response.generic_patterns = ['*'] if request.is_local else []
#IS_LOCAL = request.is_local
response.generic_patterns = not IS_LOCAL and
if I init some var in appconfig.ini:
my_var1 = False
and then use it in code:
if my_var1: - will use as True
so I need use in appconfig.ini that code:
my_var1 =
понедельник, 13 июля 2015 г., 19:35:59 UTC+3 пользователь Niphlod написал:
sorry, what ?!?!?!
On Sunday, July 12, 2015 at
You can try it here: http://experts4solutions.com/estore3
And it will not charge your credit card (uses Stripe sandbox).
On Tuesday, 14 July 2015 11:44:29 UTC-5, Massimo Di Pierro wrote:
I made another simple online store: https://github.com/mdipierro/estore3
Can you help me test, suggest
Try this:
db((db.group.name=='manager')(db.person.group==db.group.id)).select()
-Dan
--
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
I made another simple online store: https://github.com/mdipierro/estore3
Can you help me test, suggest improvement, add features?
Taxes and shipping logic are missing.
All the code is in models/db.py, controllers/default.py, and
views/default/index.html so it is very simple and easy to
that's how ini parsers work: they parse the value as strings. you can force
a conversion of the type using a cast function passed to the take()
function. Get the inspiration from the scaffolding app, it's all there.
On Tuesday, July 14, 2015 at 6:41:29 PM UTC+2, ermolaev...@gmail.com wrote:
Richard, the first setup where PyCharm creates the web2py environment is
not an option because I have many projects and I don't want that many
servers. I already have my web2py server and symbolic links for all my
projects in the application folder.
I now tried to directly open the project dir
On Tuesday, July 14, 2015 at 11:07:39 AM UTC-7, LoveWeb2py wrote:
Hello,
My goal is to represent the name instead of the field id here is my model:
db.define_table('vendors',
Field('name','string'),
Field('vendor_location','string'),
format='%(name)s',
you can do
db(db.vendors.id==products.first().product_owner).select().first().name
to get the name.
The actual value stored in the db is the id. format helps with select
drop-downs and viewing db records in the appadmin. As far as I know, that's
how it works but I'd be happy to learn if there
Alex, the behavior you describe was the reason why I opened a ticket... It
sounds like the issue is still there... Which version of PyCharm do you use?
Let search a bit I found the ticket and see if it had been closed... If so,
you should reopen it...
Richard
On Tue, Jul 14, 2015 at 2:24 PM,
Which issue took 6 months?
On Tuesday, 14 July 2015 14:59:15 UTC-5, Alex wrote:
I added a comment to this issue. I hope they'll address this soon. But
actually I doubt it, last time I reported an even more serious web2py issue
it took them over 6 months until they fixed it...
I also don't
On Tuesday, July 14, 2015 at 11:29:00 AM UTC-7, Dave S wrote:
On Tuesday, July 14, 2015 at 11:07:39 AM UTC-7, LoveWeb2py wrote:
Hello,
My goal is to represent the name instead of the field id here is my model:
db.define_table('vendors',
* Field('name','string'),*
Yes!! I love this so far. I'm working one an online store as well. Yours is
much nicer.
On Tuesday, July 14, 2015 at 12:47:49 PM UTC-4, Massimo Di Pierro wrote:
You can try it here: http://experts4solutions.com/estore3
And it will not charge your credit card (uses Stripe sandbox).
On
I added a comment to this issue. I hope they'll address this soon. But
actually I doubt it, last time I reported an even more serious web2py issue
it took them over 6 months until they fixed it...
I also don't think moving the applications folder out of web2py will work,
it will probably lead
Hi Richard,
I tries this, but it still comes back as a long
db.define_table('vendors',
Field('name','string'),
Field('vendor_location','string'),
format='%(name)s', migrate=True)
db.define_table('product',
Field('product_code','string'),
Why not defining a representation for your product_owner field??
Field('product_owner', 'reference vendors',
represent=lambda id, row: db.vendors(id).name if id else T('N/A')),
???
Richard
On Tue, Jul 14, 2015 at 2:48 PM, LoveWeb2py atayloru...@gmail.com wrote:
I'm aware of the
is it possible to have the query in sqlform.autocomplete.widgets?
*e.g. no error occured but the result is not expected*
table.customer.widget = SQLFORM.widgets.autocomplete(request,
db.customer.keywords, id_field = db.customer.id, db =
db(db.customer.keywords.contains(request) ) )
*e.g. an
great. btw it raise an error :
Error snapshot [image: help]
https://127.0.0.1/admin/default/ticket/estore/127.0.0.1.2015-07-15.06-49-17.32099d19-bccc-43f3-b2f6-77197a15e972#
type 'exceptions.BaseException'(Config file not found)
best regards,
stifan
--
Resources:
- http://web2py.com
-
https://youtrack.jetbrains.com/issue/PY-13794
Am Mittwoch, 15. Juli 2015 00:16:08 UTC+2 schrieb Massimo Di Pierro:
Which issue took 6 months?
On Tuesday, 14 July 2015 14:59:15 UTC-5, Alex wrote:
I added a comment to this issue. I hope they'll address this soon. But
actually I doubt it,
Can someone please explain how to use websocket_messaging.py properly with
tokens?
--
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
Well, someone couldn't let reassurances stand in the way of science:
http://mtov.github.io/Truck-Factor/
Wonder what the truck-factor for web2py is ;)
On Thursday, May 26, 2011 at 8:18:51 PM UTC+5:30, Massimo Di Pierro wrote:
LOL...
What if the CEO of a company gets hit by a bus? They get
I'm aware of the name method, Sam. The trouble I'm having is if I have
multiple records how could I put them in json format. I was hoping I
wouldn't have to iterate through the record and use the .name method
On Tuesday, July 14, 2015 at 2:32:36 PM UTC-4, Samuel Sowah wrote:
you can do
Here the ticket : https://youtrack.jetbrains.com/issue/PY-10810
It seems to be in Reopened state...
Add your comment, it will make it resolve faster I guess...
If I remember I use the first setup describe above to get rid of the
unresolved reference...
The only drawback I can see, is that
Could the option of Massimo of moving the applications folder out of the
web2py/ folder an option? Does it gonna work better with PyCharm? We should
conduct some test and report to PyCharm team... But I fear it gonna be the
same issue, since the .idea folder should go in the applications/app/.idea
On Tuesday, July 14, 2015 at 5:21:42 AM UTC-7, Daniel Dos Santos
Guilhermino wrote:
Good Day people,
I have a project and do not know what the best way to start, if anyone can
help me , I will be immensely grateful.
Let the facts:
I would like to deploy the Company to work a form
Hello,
My goal is to represent the name instead of the field id here is my model:
db.define_table('vendors',
Field('name','string'),
Field('vendor_location','string'),
format='%(name)s', migrate=True)
db.define_table('product',
Field('product_code','string'),
On Tuesday, July 14, 2015 at 9:41:29 AM UTC-7, ermolaev...@gmail.com wrote:
I make simple app and upload it to server
then all external request raise Not Found :(
I kill a day for solve it problem
Please edit in menu.py code:
response.generic_patterns = ['*'] if request.is_local
46 matches
Mail list logo