so??
How did you manage to do it?
Can you explain to us? I'm interested too.
On Tuesday, July 28, 2015 at 2:36:14 AM UTC-5, Joe wrote:
It took a while but I figured it out.
On Monday, July 27, 2015 at 9:21:42 PM UTC+8, Joe wrote:
What is the best way to host multiple web2py
I don't fully understand microservices, but it seems to be something that's
becoming quite the topic of discussion. Is this being implemented in
web2py? Can someone enlighten me how web2py and microservices intersect (if
they intersect at all)? Can I write services in web2py, abc, and xyz
It took a while but I figured it out.
On Monday, July 27, 2015 at 9:21:42 PM UTC+8, Joe wrote:
What is the best way to host multiple web2py apps/domains on
pythonanywhere?
If anyone has any experience with this, I would appreciate if you could
let me know the best way to do this.
I
I have created a *factory,department,section and team* table in the
database
and a *factory* is on a *one to many* relationship with *department*
a *department* is on a *one to many* relationship with* section*
a *section* is on a *one to many* relationship with* team*
*Table names*
factory =
Greetins community! Thanks for passing by, hope we can get nice data from
this issue.
So, we're creating a backend application that receives POST petitions with
basic http auth from an Android app, no cookies r advanced topics for
sessions, I want to get there, but I'm kinda new to this...
Hi,
Am using the default web2py date function in my project.
Which is I have add the 'date' as a class in my input filed.
In my page i have an option called add more. this will add the another
input filed which contains the class as 'date' .
But the new row is working the date.
this date is
On Monday, July 27, 2015 at 5:00:55 PM UTC-7, Dave S wrote:
On Monday, July 27, 2015 at 3:44:24 PM UTC-7, greenpoise wrote:
So I solved this by dropping the table and creating it again. It had to do
with the decimal points on the sizes.
Oooo, ouch! Which database engine was that?
SQLite!! Thanks
On Monday, July 27, 2015 at 5:00:55 PM UTC-7, Dave S wrote:
On Monday, July 27, 2015 at 3:44:24 PM UTC-7, greenpoise wrote:
So I solved this by dropping the table and creating it again. It had to
do with the decimal points on the sizes.
Oooo, ouch! Which database
I have trying to display random question for every login (Means client get
different questions for every login).
Here I gave my db.py and def doing paper. Please help me to solve the
problem.
db.define_table('ins_ques',
You don't need the {{pass}} after {{continue}} because continue (as well as
return, break, and raise) already defines the end of a Python block (in the
template language, pass is only needed when the end of the block would
otherwise be ambiguous).
Anthony
On Tuesday, July 28, 2015 at 11:22:06
Can you show us the code that mangles it? This should not do it. Something
is wrong.
On Tuesday, 28 July 2015 15:52:57 UTC-5, jackson.r...@quantachrome.com
wrote:
IN a controller if I return an svg that has full namspace prefixes
(default for the python xml package 'tostring' method )via
We need to see some code, how you are making the post request, and the
exact response received.
On Tuesday, July 28, 2015 at 6:30:18 PM UTC-4, Jon M. wrote:
Greetins community! Thanks for passing by, hope we can get nice data from
this issue.
So, we're creating a backend application that
Are you returning just the SVG to the browser, or are you embedding the SVG
in an HTML page? If the latter, just return the SVG string directly without
wrapping in XML() -- the XML helper is only needed to prevent escaping in
an HTML view. Note, in this case, you will need to set the
What do you mean it isn't working -- are you saying when you click in the
input box, the calendar widget doesn't pop up? If you use the browser
developer tools to inspect the input widget in the DOM, does it look
correct?
Anthony
On Tuesday, July 28, 2015 at 6:30:35 PM UTC-4, Anandhakumar
That's the easiest way. If you do want to decode the filename yourself,
note the encoded filename is only the last segment of the new filename
(i.e., the part after the last . -- in this case, 73716c2e6c6f67).
Anthony
On Tuesday, July 28, 2015 at 4:13:32 PM UTC-4, Limedrop wrote:
You could
On Tuesday, July 28, 2015 at 5:29:28 PM UTC-7, Anthony wrote:
That's the easiest way. If you do want to decode the filename yourself,
note the encoded filename is only the last segment of the new filename
(i.e., the part after the last . -- in this case, 73716c2e6c6f67).
And
newname =
db[table].navID.widget = lambda f, v: SQLFORM.widgets.options.widget(f, v,
_disabled=True)
This solves the valiadtion issue, however, it renders the drop down
without the form-control selector:
select id=nav_vertex_nav_navID class=generic_widget name=navID
disabled=disabled
whereas
Hi All,
file name gets store as *93f00342868f4085.73716c2e6c6f67.log *in db
field.
I've tried to decode it using base64 But didn't get the original file name.
Is there any way to decode it and get the original file name?
--
Resources:
- http://web2py.com
- http://web2py.com/book
Wasn't know about web2pyref...
Thanks
Richard
On Tue, Jul 28, 2015 at 1:45 AM, Selman Kocael selciu...@gmail.com wrote:
another reference site build with web2py by ivica: www.web2pyref.com
2015-07-27 21:54 GMT+03:00 Richard Vézina ml.richard.vez...@gmail.com:
There is already
Hi Anthony,
Thanks for your reply. I changed my code to:
db[table].navID.widget = lambda f, v: SQLFORM.widgets.options.widget(f, v,
_disabled=True)
...
form = SQLFORM(table, record, deletable=deletable, showid=False)
request.post_vars.navID = record.navID
This solves the valiadtion issue,
You can make web services with web2py easily...
Richard
On Tue, Jul 28, 2015 at 5:33 AM, Samuel Sowah sam...@official-notebook.com
wrote:
I don't fully understand microservices, but it seems to be something
that's becoming quite the topic of discussion. Is this being implemented in
web2py?
Just a thought I had Is this the update where you had to go and get
pydal and install it separately? I seem to recall having the same type of
issue when I upgraded similarly quite some time ago.
-Jim
On Monday, July 27, 2015 at 5:08:21 PM UTC-5, JoeCodeswell wrote:
Dear Richard and
I need directions for properly executing the following
Drop a window for selecting multiple files for upload
Process the files in the controller (ideally using the scheduler to
prevent the application from hanging)
Since it appears that the processing must occur after all files
I have this same behavior on multiple web2py servers. If a large file is
being uploaded using a SQLFORM or downloaded using the default download
controller, over HTTPS, the entire web server becomes unresponsive until
the transfer is completed or cancelled. However, I have no issues
By intersect, I refer to how web2py is used to make microservices. The
reason I ask this is, to know if services are different from applications.
and If I wanted to create multiple microservices, do I need multiple
applications? if I need just one, wouldn't that defeat the purpose
of
{{for r in pays_unconf:}}
{{if type(r) != type([]):}}
{{=r}}
{{continue}}
{{pass}}
{{print 'dfdfg'}}
{{pass}}
{{continue}} not work in {{for - pass}} ??
--
Resources:
-
error resolved
--
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
{{for r in pays_unconf:}}
{{if type(r) != type([]):}}
{{=r}}
{{continue}}
{{pass}}
{{print 'dfdfg'}}
{{pass}}
{{continue}} not work in {{for - pass}} ??
--
Resources:
-
full code
{{odd = None}}
{{for r in pays_unconf:}}
div class='row' style='padding-top:5px;padding-bottom:5px;
{{=odd and 'background-color:lavender;' or
''}}'
span class='small'
{{='{:%Y-%m-%d
in error details
odd = None
response.write('\r\n', escape=False)
for r in pays_unconf:
response.write(\r\ndiv class='row'
style='padding-top:5px;padding-bottom:5px;\r\n,
escape=False)
response.write(odd and
hi,
I have a web2py app on www.myexamplew2papp.com which runs perfectly. Now I
want to create a subpage for testing which is not web2py but wordpress.
this wordpressblog should be located here: www.myexamplew2papp.com/wpblog.
Does onyone know how I do that?
thanks
--
Resources:
-
Sqlite..Thanks!!
On Monday, July 27, 2015 at 5:00:55 PM UTC-7, Dave S wrote:
On Monday, July 27, 2015 at 3:44:24 PM UTC-7, greenpoise wrote:
So I solved this by dropping the table and creating it again. It had to
do with the decimal points on the sizes.
Oooo, ouch! Which database
Which server do you use? Apache, nginx? Basically you need to exclude
wpblog from the route to your web2py app this is done in the config of your
webserver... You can have a look at this web2py deployment script contrib :
On Tuesday, July 28, 2015 at 8:00:37 AM UTC-7, Samuel Sowah wrote:
By intersect, I refer to how web2py is used to make microservices. The
reason I ask this is, to know if services are different from applications.
and If I wanted to create multiple microservices, do I need multiple
On Monday, July 27, 2015 at 11:38:36 AM UTC-7, Samuel Sowah wrote:
I want to build an opensource app with web2py to serve the purpose of help
and social engagement for the web2py community. I only wonder if there's
already such a thing besides this google group (which is most certainly not
Micro services are services which you could split the workload onto
different servers to handle load. I think for that purpose, you'd want to
write in flask or bottle. You could use web2py but I think it's overkill
for micro services.
On Tuesday, July 28, 2015 at 11:49:36 AM UTC-7, Dave S
You could try something like this:
(filename, fullfilename) =
db.tablename.uploadfield.retrieve(record.uploadfield, nameonly=True)
On Wednesday, 29 July 2015 01:05:58 UTC+12, Prasad Muley wrote:
Hi All,
file name gets store as *93f00342868f4085.73716c2e6c6f67.log *in db
field.
I'm using nginx
On Tuesday, July 28, 2015 at 7:50:41 PM UTC+2, Richard wrote:
Which server do you use? Apache, nginx? Basically you need to exclude
wpblog from the route to your web2py app this is done in the config of your
webserver... You can have a look at this web2py deployment script
Needed to remove some of the files from the upload folder..
To make the application smaller..
On Tue, Jul 28, 2015 at 8:03 AM, joseph simpson jjs0...@gmail.com wrote:
I have an application with 677 png images each around 10 megs in size.
When I try to pack all and download the application I
There's no way. You could modify the 'base.py' of pydal to add it... It
looks like it will stop on a line if the whole line is this:
END
On Sunday, July 26, 2015 at 6:47:47 AM UTC-7, Yebach wrote:
Hello
How can i limit the number of rows user can upload trough
IN a controller if I return an svg that has full namspace prefixes (default
for the python xml package 'tostring' method )via the XML helper it is
mangled it beyond recognition. The same svg works in emacs as well as
loaded as a file in the bowser. ns0 ns1 etc namepsace prefixes are verbose
i think it's about pydal.
e.g.
1.
wget -c http://web2py.com/examples/static/web2py_src.zip
rm -rf web2py/applications
rm -rf web2py/deposit
rm -rf web2py/examples
rm -rf web2py/extras
rm -rf web2py/gluon
rm -rf web2py/handlers
rm -rf web2py/logs
rm -rf
i think you can look at this slices
http://www.web2pyslices.com/slice/show/1516/adapt-a-css-template-to-web2py-layouthtml
imho, it better to have the response.menu and auth.navbar manually in your
layout template, because what i tried before it will be replace by web2py
css class. test doing
i think you can stick with the old web2py layout (css and js) and use the
new version of web2py (pydal, etc)
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
44 matches
Mail list logo