Works nice :)
Richard D
On Friday, December 5, 2014 5:46:50 PM UTC+1, Enrique Conci wrote:
Hi There!
My name is Enrique and I work for Terminal.com, a cloud computing provider.
We were playing a little bit with web2py and we think it's a really good
product, so we decided create a new
Postgres: Yes, there is almost all.
But I think you can install what you want, not only use predefined
installations (snaps).
Example: apt-get -y install lighttpd
Btw current web2py snap run with Rocket 1.2.6.
If somebody will make (or describe) snap with Lighttpd or Nginx, it would
be great.
Or
Hello
In my SQLFORM.grid I have fields of type integer (as in database) and if
they are null the presentation in my view is None. I would like to change
them to be presented as empty
Any suggestions?
thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
These are my settings.
Are you using standard form for registration or custom form?
## configure email
mail = auth.settings.mailer
mail.settings.server = 'mx.fdff.si:25'
mail.settings.sender = ''
mail.settings.login = 'ix'
mail.settings.tls = False
auth.messages.verify_email = T('Click
Field('myfield', 'integer', represent=lambda v, r: v if v is not None else
'')
Maybe we should add an option to the grid for this, as it seems to be a
common need.
On Thursday, December 11, 2014 7:38:40 AM UTC-5, Yebach wrote:
Hello
In my SQLFORM.grid I have fields of type integer (as in
something like this may help:
db.table.field.represent = lambda value, row: DIV(value if value else '-',
etc...)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
Thank you,
I think
mail.settings.tls = False
did it :)
Richard D
On Wednesday, December 10, 2014 9:34:56 PM UTC+1, Richard D wrote:
Hi,
In my app standard email can be send using mail.send(to=['ric
The registration email is not sent however.
db.py:
## configure email
Is there a way to know if a field is involved in a query inspecting the
query object?
Thank you
--
Massimiliano
--
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
Maybe something like this:
def query_fields(query):
from gluon.dal import Query
fields = []
for element in (query.first, query.second):
if isinstance(element, Field):
fields.append(element)
elif isinstance(element, Query):
El miércoles, 10 de diciembre de 2014 16:54:17 UTC-3, Niphlod escribió:
BTW, what you are experiencing is totally predictable, but you're barking
at the wrong tree.
now:
migrate=True, fake_migrate=False
I start with a database empty.
db = DAL('postgres://usr:psw@localhost/sisteq2',
I find that usually {{super}} is enough for my needs.
You can make something like this
{{extend 'file_1.html'}}
pThis is file_2.html/p
{{block jquery_code}}
{{super}}
//Some jquery code here
{{end}}
Then you just include file_2.html and it will have both its jquery_code and
file_1.html
ProgrammingError: column f2 of relation mi_tabla does not exist
Once again.. this exception is raised when some piece of code
references f2 from mi_tabla. I'd be happy to find that piece of code for
you if you pack an app that reproduces the issue.
--
Resources:
-
Hello all.
One of my customers have took a 11 dedicated server and want to install
inside web2py.
I've got only a web2py Webfaction experience so I don't know exactly how
can I help him.
He have install web2py in a apache2 mod_wsgi.
The welcome application run but don't find css files:
The
On Thursday, December 11, 2014 11:53:04 AM UTC-8, Gael Princivalle wrote:
Hello all.
One of my customers have took a 11 dedicated server and want to install
inside web2py.
I've got only a web2py Webfaction experience so I don't know exactly how
can I help him.
He have install web2py in
My suggestion is to use nginx with uwsgi, I use it on VMs hosted on
ip-exchange
On Thursday, December 11, 2014 8:53:04 PM UTC+1, Gael Princivalle wrote:
Hello all.
One of my customers have took a 11 dedicated server and want to install
inside web2py.
I've got only a web2py Webfaction
Thank you very much for your answers.
For what I need, I will have to go with Massimo's approach. That's
because I need to include several files (file1.html, file2.html,
file3.html, etc...) from index.html. The ugly thing is that I will
end up with several {{block ..}} in the layout.html file,
If you want to check user activity history, how do you normally do that?
Is it using a combination of record versioning, then going to server to see
access_log to get ip_address of user if needed?
Am seeking to avoid having to add fields like ip_address of user on records
that are created or
what is the difference between record versioning and this?
http://www.web2pyslices.com/slice/show/1362/audit-trail
--
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
depends on what you need to track, and what report you need to run on user
activity.
If you need to store the info about who changed what at what time, it's not
going to be easier than simply using the battery-included versioning.
If instead you want to show something as userA started following
@gael: aside from suggestions of using something else, that are not useful
for someone telling that I find myself stucked with provider X all that
it takes is to tune apache2 config accordingly to what is needed,
specifically a rewrite rule that you can find everywhere in scripts/setup*
On Thursday, December 11, 2014 3:10:16 PM UTC-8, Niphlod wrote:
@gael: aside from suggestions of using something else, that are not useful
for someone telling that I find myself stucked with provider X all that
it takes is to tune apache2 config accordingly to what is needed,
I've discovered that is not only the icon is not displayed, but other
controls aren't themed correctly, by example the buttons. Is web2py css
blocking the jquery ui css?
What's the better way to include jquery ui in web2py?
Regards.
--
Resources:
- http://web2py.com
- http://web2py.com/book
El jueves, 11 de diciembre de 2014 16:52:48 UTC-3, Niphlod escribió:
ProgrammingError: column f2 of relation mi_tabla does not exist
Once again.. this exception is raised when some piece of code
references f2 from mi_tabla. I'd be happy to find that piece of code for
you if you
Hello!
What's the correct way to include jquery ui in my web2py application?
Actually I use the following:
link rel=stylesheet href={{=URL('static',
'jquery-ui-1.11.2.custom/jquery-ui.css')}} type=text/css media=all/
script src={{=URL('static', 'jquery-ui-1.11.2.custom/jquery-ui.js')}}
A few days ago I reported this [1] fault.
I understand that failure, to happen to everyone, had reported long ago. I
wonder if maybe I have something in my environment that causes these
failures occur as illogical.
[1] https://code.google.com/p/web2py/issues/detail?id=2023start=100
--
the crickets are the sound of people saying 'whats this got to do with
web2py'.
Try opening your javascript console and developer tools of your browser to
find out what's wrong.
On Thursday, December 11, 2014 4:22:21 PM UTC-7, José Eloy wrote:
I've discovered that is not only the icon is
If instead of removing the field, create a new one, so does
db.define_table('mi_tabla',
Field('f1', 'integer'),
#Field('f2', 'integer'),
Field('f3', 'integer'),
Field('f4', 'integer'),
Field('f5', 'integer'),
migrate='mi_tabla.table'
)
First run, works
Hi Jose, two comments. 1) forget jquery UI ... move to Bootstrap. I used
jquery UI for a long time and moved to Bootstrap because it's easier to use
and better at what it does. And it's better to start with Bootstrap than to
have to migrate to it later on. 2) Regarding your question, your code
28 matches
Mail list logo