Hi!
Is there a way to include this url as a script using
response.files.append method (or something similar)?
script
src=http://maps.google.com/maps/api/js?v=3amp;sensor=false;/script
The problem seams to be that it got no extension so it's not recognized
from the include_files method of the
HI Massimo,
It is working on a virtual machine using Ubuntu.. this is the steps that I
have followed:
I have built the image and tagged as web2py1 using:
sudo docker build -t web2py1 .
So an image has been generated called web2py1.
To run in on an exposed port I have ran:
docker run -i -P -t
Hi all,
I've realized web2py uses 'app/static/images/glyphicons-halflings.png' (and
the white version) in a CSS way.
For example, the edit button on a grid is rendered to something like:
span class=icon pen icon-pencil glyphicon glyphicon-arrow-pencil/span
I want to use those icons that way,
Not really response.files is for local files. I just add that script tag to
my layout.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)
---
You received
Maybe using a block in the head of template?
On Wed, Dec 24, 2014 at 10:54 AM, Manuele Pesenti manuele.pese...@gmail.com
wrote:
Hi!
Is there a way to include this url as a script using response.files.append
method (or something similar)?
script
I just wanted to say hi to the community.
Hi!
The framework looks magical currently and I want to reduce that magic.I
don't feel that I am in control of the framework.
I just started learning and building apps with web2py.I have some
competitive programming experience and I have built a few apps
Hi William,
Thanks for the information!
Regards,
2014-12-23 8:33 GMT+00:00 William Chen williamch...@gmail.com:
Hi Chris, I had the same problem and found this thread when I was
searching for a solution.
The solution is to simply create 1 or more comments using app admin.
If table B
I would like to cache the model data i.e., caching the selects and update
the cache whenever the data is updated. Putting simply a caching layer has
to present before the database layer and any changes to the database should
be reflected in cache too.
--
Resources:
- http://web2py.com
-
:-)
On Wednesday, 24 December 2014 07:04:48 UTC-6, mcamel wrote:
Hi all,
I've realized web2py uses 'app/static/images/glyphicons-halflings.png'
(and the white version) in a CSS way.
For example, the edit button on a grid is rendered to something like:
span class=icon pen icon-pencil
Il 24/12/14 14:22, Leonel Câmara ha scritto:
Not really response.files is for local files. I just add that script
tag to my layout.html.
Thank you Leonel and Massimiliano,
that's what I've done... but I wanted to load this script only where needed.
No way to do it programmatically?
M.
--
I wish a happy holidays to everybody in this community.
As a Christmas present and mostly the work of Giovanni Barillari we have
re-released the web2py DAL as a separate Python package under the BSD
license:
https://pypi.python.org/pypi/pyDAL
https://github.com/web2py/pydal
Now you can more
Feel free to ask questions. It is magical but not as much as it may seem.
On Wednesday, 24 December 2014 03:55:46 UTC-6, Gyanendra Mishra wrote:
I just wanted to say hi to the community.
Hi!
The framework looks magical currently and I want to reduce that magic.I
don't feel that I am in
Hello
Is it possible to add html (span) to SQLFORM.grid. I have a color picker
widget and it works ok but it colors the whole field. I would like to add a
new html tag inside a table where color picker would be presentet. It is
possible to do this inside web2py or do I have to write JS code.
Hi,
You can do DOM parsing at web2y level with something like:
grid = SQLFORM.grid(...)
table = grid.element(table) # or grid[1][0]
table.insert(0, TR(LABEL('label1:'), INPUT(_name='_myname', _type=
'text', )))
0 for the first, -1 for the last...
More at
Iso format like:
day_and_time = 2000-01-01 00:00:00
Must be ISO and UTC regardless you are using (and seeing) localized format
and/or timezone (at least just now). Related question:
https://groups.google.com/forum/?fromgroups=#!topic/web2py/fDP4mrIFdXg
Regards.
El martes, 20 de mayo de 2014
Thank you very much Tim, excelent info. I will use web2py's Scheduler,
because it will be easy to write some code and let the user change the
configuration from the webapp.
However, I have one last concern about system resources on production.
As I'm going to use this in production, my webapp
Hello,
I wanted to share an issue that has come up after upgrading to 2.9.11 on
CentOS.6.6/Apache.
a) First the existing applications broke after the upgrade
b) Admin interface would not load up properly (no icons and unable to login)
In the served html pages, an additional folder _2.9.11 is
Congrats Massimo and happy holidays!
On Wednesday, December 24, 2014 8:48:18 AM UTC-5, Massimo Di Pierro wrote:
I wish a happy holidays to everybody in this community.
As a Christmas present and mostly the work of Giovanni Barillari we have
re-released the web2py DAL as a separate Python
Massimo
Seems to be an issue trying to install using pip install.
Getting the following trying to install:
Downloading/unpacking pyDAL
Could not find any downloads that satisfy the requirement pyDAL
Cleaning up...
No distributions at all found for pyDAL
-Jim
On Wednesday, December 24,
pyDAL +10
I wish you merry christmas and happy new year Massimo and everybody of this
community.
Fernando
On Wednesday, December 24, 2014 12:48 PM, DJ sebastianjaya...@gmail.com
wrote:
Congrats Massimo and happy holidays!
On Wednesday, December 24, 2014 8:48:18 AM UTC-5, Massimo
Happy holidays everyone!
Great job on the DAL!
--
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
*Happy holidays! Awesome gift!*
On Wed, Dec 24, 2014 at 2:39 PM, Leonel Câmara leonelcam...@gmail.com
wrote:
Happy holidays everyone!
Great job on the DAL!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
since 2.1.0 (almost an year ago) we have static asset management (you can
read about it here
http://web2py.com/books/default/chapter/29/04/the-core?search=static_version#Static-asset-management)
. you need to alter your
AliasMatch ^/([^/]+)/static/(.*)
a)
Some people never consider this as a possibility, but if you have 3 apps,
e.g. app1, app2 and app3, you can run one scheduler for all applications.
The default mode is built to process by default tasks coming from the
same app that queues them, but the switch is still there:
No way to do it programmatically?
unless you code something of your own, from that url (or any other without
extension) web2py can't figure out what type of script to generate.
on a totally (un)related note, this seems to work fine
so, what's the issue you're facing ?
On Wednesday, December 24, 2014 12:29:24 PM UTC+1, harsha tanguturi wrote:
I would like to cache the model data i.e., caching the selects and update
the cache whenever the data is updated. Putting simply a caching layer has
to present before the database
How can avoid this? What I'm missing from the documentation?
the render parameter ?!
--
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
On Tuesday, December 23, 2014 1:16:52 PM UTC-2, Alan Evangelista wrote:
It might be easier if you provide a concrete example of what you are
trying to achieve (perhaps using the syntax of an existing ORM or using
pseudo-code) and explain how the DAL falls short.
Using SQLAlchemy as
To all web2py users and developers,
Merry X-mas and a happy New Year.
Richard D
On Wednesday, December 24, 2014 2:48:18 PM UTC+1, Massimo Di Pierro wrote:
I wish a happy holidays to everybody in this community.
As a Christmas present and mostly the work of Giovanni Barillari we have
Il 24/12/14 19:13, Niphlod ha scritto:
How can avoid this? What I'm missing from the documentation?
the render parameter ?!
the render parameter is fixed to HTML but I've tryed 'html' with the
same result...
This is my controller:
def wiki(): return auth.wiki(render=HTML)
and this is
Thank you so much for that quick answer. This is why I love the web2py
community!!
On Wednesday, December 24, 2014 12:41:51 PM UTC-5, Niphlod wrote:
since 2.1.0 (almost an year ago) we have static asset management (you can
read about it here
+1
Merry X-mas and a DAL dominated 2015!
2014-12-24 20:45 GMT+01:00 Richard D richard.dijks...@planet.nl:
To all web2py users and developers,
Merry X-mas and a happy New Year.
Richard D
On Wednesday, December 24, 2014 2:48:18 PM UTC+1, Massimo Di Pierro wrote:
I wish a happy holidays
In DAL it can be done like one single command:
db.define_table('my_items',
Field('name', 'string', length=100),
Field('description', 'string', length=400),
Field('priority', 'integer'),
Field('creator_id', 'reference user'),
Field('dept_id', 'reference
I use Sublime Text 3 and installed
Pakage Manager, SublimeLinter and Pylint as indicated in
http://www.sublimelinter.com/en/latest/installation.html
Then, in Sublime Text | Preferences | Package Settings | SublimeLinter |
Settings - User
I have set linters / pylint / paths as follows
{
The links on https://pypi.python.org/pypi/pyDAL are brokens
El miércoles, 24 de diciembre de 2014 08:48:18 UTC-5, Massimo Di Pierro
escribió:
I wish a happy holidays to everybody in this community.
As a Christmas present and mostly the work of Giovanni Barillari we have
re-released the
I wish you merry Christmas and happy New Year Massimo and everybody of this
community.
Web2py changed my mind and now all my projects are lovengly built with
web2py!
Thank you...
On Wednesday, December 24, 2014 4:48:18 PM UTC+3, Massimo Di Pierro wrote:
I wish a happy holidays to everybody
36 matches
Mail list logo