if you have set up eclipse to be foolish you can't follow the warnings it
outputs. It's treating generic.xml as something with valid XML markup
inside, while web2py's generic.xml is filled with templating functions that
are NOT static xml.
On Tuesday, January 13, 2015 at 10:38:00 AM UTC+1,
Right, I'm using Windows 2012 64bit and MSSQL 2012 on cloud. Tried python
64 bit with pyodbc first then go back 32 bit. It works fine.
On Tuesday, January 13, 2015 at 6:06:37 PM UTC-6, Pbop wrote:
Spent days trying to track down an error with a Web2Py app and SQL Server
2008 R2 running 64
No, web2py templates do not have to be valid html. If we used TAL then that
would be different, but we don't.
On Tuesday, January 13, 2015 at 2:45:45 AM UTC-7, Carl Hunter Roach wrote:
Eclipse's standard HTML parser kicks our errors and warnings when
validating Web2py HTML template files.
I'd like to use more javascript in my form grid apps, to get more use of
ajax. This won't work unless I can get equivalent to SQLFORM.grid, which is
great for someone as lazy as me.
It seems from my research that backbone.js may be what I want. (It also
seems that I am at least four years
easy-peasy...
given myfunc(row) something that returns True only if the button needs to
be generated.
lambda row: myfunc(row) and themarkup_to_generate_the_button or ''
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
You can also just do it in a model file -- you can change
request.controller and request.function before the controller is called.
Anthony
On Wednesday, January 14, 2015 at 12:29:31 PM UTC-5, Derek wrote:
So it looks like you'd need to implement this closer to the webserver than
web2py. it
first and foremost, web2py doesn't need an odbc source defined at system
level.
That being said, it can, but if you're running the source with a 32-bit
python or the executable (32-bit too) it's pretty obvious that a 64-bit
defined odbc source won't be available...
On Wednesday, January 14,
I suppose you haven't seen 'DataTables.net' ?
On Wednesday, January 14, 2015 at 2:06:54 PM UTC-7, Tim Richardson wrote:
I'd like to use more javascript in my form grid apps, to get more use of
ajax. This won't work unless I can get equivalent to SQLFORM.grid, which is
great for someone as
On Thursday, 15 January 2015 11:19:04 UTC+11, Derek wrote:
I suppose you haven't seen 'DataTables.net' ?
I looked at it a while ago. It looks very nice, but it's only partially
open source (the edit plugin is not)
--
Resources:
- http://web2py.com
- http://web2py.com/book
I tried to use Eclipse (with Pydev) for Web2py. Fixing the mismatch seemed too
difficult. I switched to Pycharm. Web2py support is not perfect, and does take
some getting used to. Support for all kinds of files like Plantuml, JSON, etc.
Developers version not free but worth it.
Nico de Groot
Hi Dexter,
I am facing the same issue. I've posted a question here
https://groups.google.com/forum/#!topic/web2py/P2avEkVVeZg
It is throwing an exception because of following the line
* dbset = dbset(SQLFORM.build_query(*
*sfields,
Spent days trying to track down an error with a Web2Py app and SQL Server
2008 R2 running 64 bit ODBC drivers.
Switched to 32 bit drivers and problem solved.
The problem is not in Web2Py but in the actual PyOdbc driver.
--
Resources:
- http://web2py.com
- http://web2py.com/book
web2py dev needed for membership/scheduling software development contractor
position. Pretty straight up line of business app with schedules, invoices,
lots of pretty average reports and a gorgeous UI (not designed by you,
unless you dig that kind of thing)
- App will be reactive, using
I have a smartgrid, thus:
grid = SQLFORM.smartgrid(db.exsystem,linked_tables=['exsystem',
'disks'],
user_signature=False,
deletable=False,
links = [
lambda row:
A(
SPAN(_class='icon
@everybody. Please twit something new about #web2py and we'll link them.
On Tuesday, 13 January 2015 10:16:07 UTC-6, Ramos wrote:
These comments have bad links or too old to be taken into consideration
in my opinion.
They should be updated by newer...
*Please use www.web2py.com
no because the language is not determined until the end of the routing.
On Wednesday, 14 January 2015 04:58:01 UTC-6, alex wrote:
Is it possible to use current.T in routes.py, to recognize an incoming
request based on current.T.current_language and reroute it to the correct
controller /
Thanks for your great work! :-)
вторник, 6 мая 2014 г., 19:57:47 UTC+4 пользователь Stefan van den Eertwegh
написал:
Dear users,
I have created a web2py forum software, now currently only in the Dutch
but wil be ported to english.
The current features are:
- Categories and forums
In today's Web2py source I get a for the contents of
applications/x/views/generic.xml
with the default content: {{from gluon.serializers import
xml}}{{=XML(xml(response._vars,quote=False))}}
The error is: Content is not allowed in prolog
This error doesn't prevent the application from working
Eclipse's standard HTML parser kicks our errors and warnings when
validating Web2py HTML template files.
e.g., appadmin.html line 66
{{if stopnrows:}}{{=A(T('next %s rows')...
The default validator see
stopnrows:
and expects a closing delimiter.
But this is {{embedded}} Python
Any tips
Hi!
I need to ask for a page of my application from a simple python script
using requests (or urllib2 or whatelse) but the requested page requires
authentication.
I tryed something like the following code but I always get the
authentication page instead of my page.
r =
In models
auth.settings.allow_basic_login = True
On Wednesday, 14 January 2015 10:46:38 UTC-6, Manuele wrote:
Hi!
I need to ask for a page of my application from a simple python script
using requests (or urllib2 or whatelse) but the requested page requires
authentication.
I tryed
http://www.quora.com/Anthony-BastardiHi All,
I've used a SQLFORM.grid for displaying table content. I've provided
export to CSV option in grid.
My app settings are as below:
*models/db.py*
db.define_table('company',
Field('name', 'string', length=128, notnull=True,
So it looks like you'd need to implement this closer to the webserver than
web2py. it is available in a header, Accept-Language. You could build a
middleware and run web2py as a WSGI app.
On Wednesday, January 14, 2015 at 3:58:01 AM UTC-7, alex wrote:
Is it possible to use current.T in
i dont have time to twit!
2015-01-14 16:41 GMT+00:00 Massimo Di Pierro massimo.dipie...@gmail.com:
@everybody. Please twit something new about #web2py and we'll link them.
On Tuesday, 13 January 2015 10:16:07 UTC-6, Ramos wrote:
These comments have bad links or too old to be taken into
Il 14/01/15 17:52, Massimo Di Pierro ha scritto:
In models
auth.settings.allow_basic_login = True
great! Thank you Massimo :)
M.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
So have you tried to use pypyodbc? If that doesn't work, you could use
pytds and bypass odbc altogether.
On Tuesday, January 13, 2015 at 5:06:37 PM UTC-7, Pbop wrote:
Spent days trying to track down an error with a Web2Py app and SQL Server
2008 R2 running 64 bit ODBC drivers.
Switched to
Hello All,
I've used a SQLFORM.grid for displaying table content. I've provided
export to CSV option in grid.
My app settings are as below:
*models/db.py*
db.define_table('company',
Field('name', 'string', length=128, notnull=True,
unique=True),
On Wednesday, January 14, 2015 at 1:27:59 AM UTC+1, Richard Penman wrote:
http is stateless
do you mean because the decoding is handled at the server layer before
reaches web2py?
I mean that web2py doesn't store anywhere how to send the data in. As long
as it's valid, it's parsed.
Is it possible to use current.T in routes.py, to recognize an incoming
request based on current.T.current_language and reroute it to the correct
controller / function?
Can you give me an example using pattern-based routing?
--
Resources:
- http://web2py.com
- http://web2py.com/book
29 matches
Mail list logo