On Wednesday, March 2, 2016 at 11:23:53 PM UTC-8, ANSHUL BASIA wrote:
>
> I keep getting none in the shell unlike 1:32:00 in the first video of
> lecture. Where is the problem ?
>
Which video?
Can you paste in your reply the commands you've entered in the shell?
/dps
--
Resources:
- http:
the "rented" server supports python ? if yes, how (mod_wsgi, cgi, fastcgi,
etc etc etc) ?
IMHO you should have "rented" pythonanywhere. 0 complications added.
On Thursday, March 3, 2016 at 8:23:54 AM UTC+1, Martin Keyser wrote:
>
> I have created a web2py application and I wish to deploy it on
A damn simple and easy css framework ... stupid.css
https://t.co/9vB48IjYJK
No promise of backward compatibility is made, but comments and suggestions
for improvement are welcome.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (
Hi,
db = DAL(..., migrate_enable=False)
db.define_table('table', Field('fld01'), Field('fld02'),'integer',length=7)
db.fld02 actually is a date field with format CYYMMDD.
I would like to send this field to view and display as normal date format
so that it will work with AJAX calendar.
How co
Hello,
I'd like to use a simple menu to switch between two possible languages for
content. I've got the content separated out following the markmin
get_content() model so want to use a global variable `lang` to direct the
path of the content to be loaded in pages. I've got a couple of URLs
de
I have created a web2py application and I wish to deploy it on the web. I
am new to web development so please be patient.
I am renting a server for my website. Before I started using web2py, I
would upload all my files (HTML, css, js etc) to the server via ftp.
Afterwards I would be able to
Hi group
I am trying to build a db dynamic app but I am stick on the following
problem.
I am able to get the filenames of a table by the syntax ;
fields = list(db.resultats.keys())
But I am unable to find how to get the field types. Is there a special
syntax that i could use ?
Something lik
My friends, I have that code bellow working hell:
CONTROLLER:
def index3():
num1 = ''
if request.post_vars:
num1 = str(request.post_vars.num1)
return locals()
VIEW INDEX3.HTML:
{{extend 'layout.html'}}
Request Vars
O DSLAM pesquisado foi o: {{=num1}}
I o
I like to convert date format field in DAL from CYYMMDD to MMDDYY and use
SQLFORMgrid to present on the view.
How could be done, please help
Thank you very much
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- ht
So I have my table (as seen below) and I want to make it display in the
view below but I don't want it to show all the records, just the records
with the same 'auth_user.teacher_id' as the currently logged in user. How
would I do this?
My Controller:
def default_obs():
obs = db().select(d
Hello!
I use a SQLFORM to enter client data which works perfectly.
The problem: when adding a new record I want the user to confirm that some
of the entered data is also entered into a second database table but I
cant' get the confirmation dialog to run.
The recommended way
form = FORM.conf
I keep getting none in the shell unlike 1:32:00 in the first video of
lecture. Where is the problem ?
--
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
Hi everyone,
I am a very new user of Web2py and just getting to grips with how it works.
One aspect that I would personally find useful is to understand the scale
of the activity graph in the web2py GUI widget that allows you to start /
stop the server.
I am trying to profile the data through
On Wednesday, March 2, 2016 at 6:27:33 PM UTC-8, Dave S wrote:
>
> On Wednesday, March 2, 2016 at 5:35:13 PM UTC-8, Anthony Smith wrote:
>>
>> Hi
>>
>> I am not trying to do anything only following the tutorial, that is the
>> way I have been learning web2py.
>>
>> What other PDF generators does
I have 2 controllers for doing uploads: one is a REST target and one uses
SQLFORM. Is there an easy way to get the actual size of the POST contents
in the SQLFORM version? I tried
request.body.seek(0,os.SEEK_END)
upsize = request.body.tell()
but that seems to get an inflated count (hea
On Wednesday, March 2, 2016 at 5:35:13 PM UTC-8, Anthony Smith wrote:
>
> Hi
>
> I am not trying to do anything only following the tutorial, that is the
> way I have been learning web2py.
>
> What other PDF generators does the group recommend? I do like to follow
> tutorials as I find doing thing
On Wednesday, March 2, 2016 at 7:31:19 AM UTC-8, aetag...@gmail.com wrote:
>
> Yes this is ideal but I didn't think that would be possible to implement,
> because with this way the amount of columns would vary with each row and I
> am unsure of how possible it is to make it work because of that
Hi
I am not trying to do anything only following the tutorial, that is the way
I have been learning web2py.
What other PDF generators does the group recommend? I do like to follow
tutorials as I find doing thing that way I find it easy to learn by
mistakes and correct problem I create.
cheers
Hello,
I have at least 5 controller that I use one view by using response.view =
'default/view.html'. What would be the best advice in using pagination?
Because following this:
http://web2py.com/books/default/chapter/29/14/other-recipes?search=pagination#Pagination
Leads to request.args problem
that problem could be simply related to python process not finding the
openssl shared lib at runtime. So the module can be imported, but the
socket cannot work with ssl.
2016-03-02 9:24 GMT+01:00 Niphlod :
> uhm. this error
>
> :No SSL support included in this Python
>
> is an early exit on smpt
Thank you Val. Appreciate the help.
On Wednesday, March 2, 2016 at 1:51:58 PM UTC-5, Val K wrote:
>
> As I know it's impossible to have 2 "static" (not ajax) SQLFORM.grids at
> the same page, because each of them will treat request.args as its own
>
> Use {=LOAD(... , ajax=True)}
>
> And I th
let's go in order:
1. the scheduler env is the same as your app's. As long as the mailer is
defined and working for the app, you can use it in a queued task
2. as there's no way to let an external process live, and the scheduler
being a totally separate process from the web-related one, the sche
Sounds like you just need some sort of never ending loop (obviously you can
put checks in the loop for stop requests and whatever other complexity you
like / need).
You can pass arguments on the python command line. So for example you could
do something like:
python web2py.py -S your_app -M -A
As I know it's impossible to have 2 "static" (not ajax) SQLFORM.grids at
the same page, because each of them will treat request.args as its own
On Wednesday, March 2, 2016 at 8:12:49 PM UTC+3, Ron Chatterjee wrote:
>
>
> If I have two independent grid, when I search in one grid, it gets
> re
what about web2py id and class selectors ?
Can these work together with bootstrap ?
or is it to replace all built-in selector names with bootstrap names ?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.goog
If I have two independent grid, when I search in one grid, it gets
redirected to the other tab. And I noticed this with other tab panel as
well.
My Projects
My Payments
My Contacts
{{=grid1}}
{{=grid2}}
Lorem ipsum dolor sit amet, consect
I've never seen much of a point in using jquery mobile to be honest.
--
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
Tried your solution but unfortunately didn't work.
But, even if I made it work, isn't it still using executesql in the end?
On Monday, February 29, 2016 at 7:17:24 PM UTC-5, Val K wrote:
>
> Yes, it's impossible by one dal-query, but still you can use web2py power:
>
> args = Storage(
>
Yes this is ideal but I didn't think that would be possible to implement,
because with this way the amount of columns would vary with each row and I
am unsure of how possible it is to make it work because of that
On Wednesday, March 2, 2016 at 5:12:06 AM UTC-5, Dave S wrote:
>
>
>
> On Tuesday,
Hi
I have the following scenario:
A scheduled task runs every T seconds (e.g. 60), and executes a function F()
In function F() I scan some db tables and according to the business logic,
may need to send several email messages.
The book
(http://www.web2py.com/books/default/chapter/29/08/emails-an
So if I use bootstrap it is enough to make my website mobile compatible ?
what about Jquery mobile is it useful or can I just discard it and rely on
standard Jquery ?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- ht
Nowadays you usually just use CSS to make the website responsive, it's
really easy to do so with bootstrap for example (the CSS framework the
welcome application uses).
Otherwise you could change the view in the controller function. Example
if request.user_agent()['is_mobile']:
response.vie
Hi everyone,
what are the steps/general rules to 'translate' this_view.html in
this_view.mobile.html ?
--
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)
---
On Tuesday, March 1, 2016 at 7:33:38 PM UTC-8, aetag...@gmail.com wrote:
>
> That makes so much sense! Thank you for explaining this to me, I did that
> and it finally works!
>
> I also changed the variable name to be nums to make things clearer as well.
>
> I am having trouble with inserting th
I've used PhantomJS in combination with selenium (ghostdriver) and Python
requests. Phantom used a headless browser, so you can make your scraping a task
for the Web2py scheduler on your server.
First analyse the website to get the Ajax urls and the headers, and construct
the correct requests i
If you're using fpdf, this will do the trick:
reload(sys)
sys.setdefaultencoding("latin-1")
2016-03-02 8:47 GMT+01:00 xmarx :
> i haven't find solution yet but i found rigth source to explore.
> http://pyfpdf.readthedocs.org/en/latest/Web2Py/index.html
>
> if i find, i will post here.
>
uhm. this error
:No SSL support included in this Python
is an early exit on smptlib . not at all web2py related: SO is riddled with
same error, and all points to not having SSL available...
On Wednesday, March 2, 2016 at 1:53:05 AM UTC+1, Leonel Câmara wrote:
>
> Have you allowed insecure apps
use the scheduler
http://web2py.com/books/default/chapter/29/04/the-core#web2py-Scheduler
On Wednesday, March 2, 2016 at 8:45:26 AM UTC+1, Bogdan Iancic wrote:
>
> How can i run in background a python script that takes more than 10
> minutes? I have seen that using fork isin't possible in web2py
38 matches
Mail list logo