It worked!
I had to use "title" as "centered" seems to be used but something else, but
in the end it worked just great :)
Thank you a lot, you saved my day!
-rif
joi, 14 februarie 2019, 23:28:02 UTC+2, Val K a scris:
>
> Yes, just pass it:
> auth.wiki(extra = di
hey guys,
I am using auth.wiki and I would like to center things (e.g. titles,
images) horizontaly on the page.
I didn't find any documentation on this, does anybody have any hints for me?
thanks,
-rif
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http
Thank you, Leonel. I will try to do that.
I am just thinking that maybe a class should be added by the default
formstyles and left to the users whether to use it or not.
joi, 23 februarie 2017, 18:31:55 UTC+2, Leonel Câmara a scris:
>
> Just make your own formstyle which adds the required class
Hi guys,
Was there any conclusion for this thread:
https://groups.google.com/d/topic/web2py/lwKcjC-j__A/discussion ?
Is there a standard/recommended way to add a class to the required form
fields?
Thanks,
-rif
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http
able=False),
Field('tva_activ', 'boolean'),
auth.signature,
format='%(numar)s')
miercuri, 30 martie 2016, 00:25:58 UTC+3, Massimo Di Pierro a scris:
>
> I cannot tell what the query is.
>
> On Tuesday, 29 March 2016 02:06:43 UTC-5, rif wrot
The gae query is this: http://11.firmoasa.appspot.com/facturi
I have this route:
routers = dict(
# base router
BASE=dict(
default_application='firmoasa',
),
)
And the full log is this:
/facturi 500 952ms 0kb Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36
(KHTML, like
Unfortunately __init__ is present in my case. Moreover when I start the app
using local development server I get another stacktrace (pasted below).
File "/home/rif/Documents/webframeworks/firmoasa/gluon/restricted.py",
line 227, in restricted
exec ccode in environment
File
After a long while of not updating one app running on gae I tried 2.14.3
and I have the error below. Can anyone suggest a fix?
Thanks,
-rif
Unable to store in FILE:
/base/data/home/apps/s~firmoasa/11.391689743844727003/applications/firmoasa/models/db.py
Traceback (most recent call last
:28:38 UTC+2, rif wrote:
I fixed this by deleting the welcome app and replacing it with the one
from the latest version.
miercuri, 1 aprilie 2015, 13:29:24 UTC+3, Najtsirk a scris:
Hi,
i get this error with Web2py 2.10.1 on all applications:
syntaxError: define_table argument
It looks there is something else that does not get updated properly. Moving
the apps in a freshly unzipped web2py instance fixes this issue.
miercuri, 1 aprilie 2015, 14:30:19 UTC+3, rif a scris:
If you performed an update make sure you have the latest welcome app code.
miercuri, 1 aprilie
If you performed an update make sure you have the latest welcome app code.
miercuri, 1 aprilie 2015, 12:22:37 UTC+3, Najtsirk a scris:
*When I create new simple application, i get this error:*
SyntaxError: define_table argument is not a Field or Table: no
table.is_active
On Wednesday, 1
I fixed this by deleting the welcome app and replacing it with the one from
the latest version.
miercuri, 1 aprilie 2015, 13:29:24 UTC+3, Najtsirk a scris:
Hi,
i get this error with Web2py 2.10.1 on all applications:
syntaxError: define_table argument is not a Field or Table: no table.
It was exactly the previous one.
miercuri, 1 aprilie 2015, 16:45:09 UTC+3, Massimo Di Pierro a scris:
What version were you upgrading from?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
The releases from here https://github.com/web2py/web2py/releases look
different from what we have, a little confusing.
miercuri, 1 aprilie 2015, 16:45:09 UTC+3, Massimo Di Pierro a scris:
What version were you upgrading from?
--
Resources:
- http://web2py.com
- http://web2py.com/book
I can't reproduce the issue using zipped releases from github.
miercuri, 1 aprilie 2015, 17:00:59 UTC+3, rif a scris:
The releases from here https://github.com/web2py/web2py/releases look
different from what we have, a little confusing.
miercuri, 1 aprilie 2015, 16:45:09 UTC+3, Massimo Di
I reproduced the issue and opened a ticket on github.
miercuri, 1 aprilie 2015, 17:44:39 UTC+3, Niphlod a scris:
beware of the dog: since now pydal is a subrepo, releases on github don't
carry the subrepo in it.
On Wednesday, April 1, 2015 at 4:07:17 PM UTC+2, rif wrote:
I can't reproduce
Just want to let you guys know that web2admin
(https://github.com/rif/web2admin), the django like admin interface for
web2py just got a lot easier to install.
I was watching this video http://vimeo.com/113800965 and found out about
this new way to put the first logged in user that uses
by:
$ boot2docker ip
Typically, it is 192.168.59.103:2375, but VirtualBox's DHCP implementation
might change this address in the future.
marți, 9 decembrie 2014, 04:29:53 UTC+2, Massimo Di Pierro a scris:
Could be a firewall. I am using a mac.
On Sunday, 7 December 2014 10:02:22 UTC-6, rif
I tested that before I wrote. Are you sure it's not some firewall or
something? What OS did you use?
duminică, 7 decembrie 2014, 17:59:43 UTC+2, Massimo Di Pierro a scris:
Done that but no response. :-(
On Saturday, 6 December 2014 11:37:04 UTC-6, rif wrote:
As far as I can tell the only
As far as I can tell the only thing you have to do is to run the container
like this:
docker run -p 8080:80 web2py
and you will be able to connect at http://localhost:8080
Of course you can change the 8080 to any other port.
-rif
vineri, 5 decembrie 2014, 05:11:22 UTC+2, Massimo Di Pierro
Thank you a lot, Quint. Will be testing/using this!!!
-rif
vineri, 21 februarie 2014, 00:51:55 UTC+2, Quint a scris:
https://code.google.com/p/w2p-social-auth/
On Tuesday, February 18, 2014 7:19:15 AM UTC+1, Quint wrote:
I'm working on a plugin. I expect to have an initial version
Hi guys,
If I lost the content of datatbases directory can I restore a web2py
application having only the pg_dump of the application datatbase?
-rif
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
Thanks a lot LightDot,
That was exaclty what I needed :)
-rif
luni, 10 februarie 2014, 12:56:38 UTC+2, LightDot a scris:
Sure, shouldn't be complicated either, assuming your database definitions
and the actual database structure is the same.
Restore your database and it's contents
M-x package-list-packages right now.
Thanks a lot!
marți, 4 februarie 2014, 23:22:14 UTC+2, François-Xavier Bois a scris:
Hi,
I would like to announce that web-mode.el, an emacs major mode for editing
web templates, is now compatible with web2py templates.
web-mode.el is available on
a pull request to add it
in the book example as well.
However it does not make too mutch sense as the name of the field is
already specified in the db.testtable.testfield part.
-rif
vineri, 10 ianuarie 2014, 17:00:52 UTC+2, Manuele a scris:
Il 10/01/14 12:47, rif ha scritto:
I meant a few
I am checking it right now, be back soon.
-rif
vineri, 10 ianuarie 2014, 01:28:37 UTC+2, Manuele a scris:
Il 10/09/12 15:49, rif ha scritto:
I started the development of a new django-like admin interface.
You can find it here: https://github.com/rif/web2admin
It is very basic
):
return 'foo'
db.testtable.virtualfields.append(MyVirtualFields())
I'll make a few updates to web2py with this occasion :)
Thanks,
-rif
vineri, 10 ianuarie 2014, 01:28:37 UTC+2, Manuele a scris:
Il 10/09/12 15:49, rif ha scritto:
I started the development of a new django-like admin
I meant a few updates to web2admin :)
vineri, 10 ianuarie 2014, 13:46:24 UTC+2, rif a scris:
Unfortunately it seems to be a web2py grid/smartgrid bug. I opened a
ticket here: http://code.google.com/p/web2py/issues/detail?id=1851
Meanwhile please note that defining an old style virtual field
It sure looks like it, the more options the better :)
Anyhow if there are any features in A-Plus missing in web2admin please let
me know, I'll try to keep up.
-rif
vineri, 10 ianuarie 2014, 11:26:48 UTC+2, Alan Etkin a scris:
El lunes, 6 de enero de 2014 18:19:54 UTC-3, samuel bonill
You can clone the repo
git clone https://github.com/pyner/admin_plus.git
And you will have the w2p file available in the cloned directory.
vineri, 10 ianuarie 2014, 14:13:06 UTC+2, Remco Boerma a scris:
Github complains about the file being to big? Can i download it somewhere
else?
https://github.com/rif/web2admin it's something like a django admin. Maybe
it can help.
-rif
joi, 2 ianuarie 2014, 03:54:43 UTC+2, samuel bonill a scris:
when it's ready i'll let you know
2014/1/1 Massimo Di Pierro massimo@gmail.com javascript:
I look forward to see more
I try to deploy on openshift with Version
2.7.4-stable+timestamp.2013.10.14.15.16.29 and I could not get application
to run on the server.
What I did:
1. Created an opesnhift python 2.7 application
2. Cloned the resulted repo with git
3. Used web2py's Deploy to openshift button
4. Used
try https://github.com/rif/web2admin and post back your impressions.
-rif
miercuri, 13 martie 2013, 15:33:49 UTC+2, RunSky ruan a scris:
I want to use the web2py because it easy to use,
but the appadmin is not easy to use.
is there some beautiful appadmin like the django?
--
---
You
try this:
{{='auth' in globals() and auth.navbar(mode=dropdown) or ''}}
you can also remove the mode=dropdown parameter.
-rif
duminică, 17 februarie 2013, 07:24:11 UTC+2, 黄祥 a scris:
hi,
i've create the custom layout using
http://www.cssportal.com/layout-generator/ and also the menu
then it has all permissions for
all tables except auth tables (no changing permissions for other users).
So you must create at least one of the groups and add a membership for a
user to that group. You can do that via old admin or in the shell.
-rif
sâmbătă, 16 februarie 2013, 17:04:17
Yes, AFAIK it was never tested on windows.
-rif
vineri, 8 februarie 2013, 21:38:11 UTC+2, Derek a scris:
It shouldn't be the default because it doesn't work for everyone (at
least, it doesn't work for me)
class 'pyodbc.ProgrammingError' ('42000', [42000] [Microsoft][ODBC SQL
Server
At the time when it was announced there were not many feature suggestions.
However if many users find it useful we will find a better place for it.
-rif
vineri, 8 februarie 2013, 20:34:00 UTC+2, Ramos a scris:
Also why is this not the default admin?
2013/2/8 António Ramos ramst
I'd love to work on it again :)
vineri, 8 februarie 2013, 22:05:41 UTC+2, rif a scris:
At the time when it was announced there were not many feature suggestions.
However if many users find it useful we will find a better place for it.
-rif
vineri, 8 februarie 2013, 20:34:00 UTC+2, Ramos
http://m.linuxjournal.com/content/web-development-poll
Most of my prefernces were not listed...
--
Corrected link http://goo.gl/gOIJP
--
Thanks Ron, the main point I was trying to make is that it seems that I am
not main stream :)
duminică, 20 ianuarie 2013, 19:42:56 UTC+2, Ron McOuat a scris:
You can write in your preference under Other, a text box opens when it is
selected.
On Sunday, 20 January 2013 01:38:31 UTC-8, rif
Unfortunately it doesn't seem to work in internet explorer (except 10).
Hopefully it will be usable in the next few years.
-rif
luni, 3 decembrie 2012, 06:20:12 UTC+2, Don_X a scris:
Hello Web2py users :
I had so much trouble with previewing an image before upload or submit, I
have
I've been using trunk for the last three weeks and I didn't notice any problems.
-rif
--
Yes, the support for redis depend on
python-redishttps://github.com/andymccurdy/redis-pypackage for python.
-rif
joi, 29 noiembrie 2012, 02:06:00 UTC+2, Ralo Tannahill a scris:
I have tried to make some tests using redis to store cache and sessions
but there is no module redis.
I am using
Do you have any insights on this:
https://groups.google.com/forum/m/?fromgroups#!topic/web2py/cPvuY4mnzs0
--
reloads the page containing the link and clicks
on it again that she/he can access the page.
Is there a workaround to this behavior? I want to be redirected directly to
the protected page after login.
-rif
--
@auth.requires_signature() really means?
Wouldn't it be @auth.requires_login()?
On Thu, Nov 22, 2012 at 6:19 AM, rif feri...@gmail.com javascript:
wrote:
If you create a link with user_signature=True and a controller with
@auth.requires_signature() and a user clicks on it while not yet logged
I created today a sql cloud database. And I got the same error.
I changed to path VARCHAR(255) and now it works. Anybody else having the
same problem?
-rif
marți, 7 august 2012, 18:27:13 UTC+3, Massimo Di Pierro a scris:
Why does 512 result in Specified key was too long; max key length
Done (http://code.google.com/p/web2py/issues/detail?id=1172)
Are the migrations issues to GoogleSQL still present?
-rif
vineri, 16 noiembrie 2012, 12:57:14 UTC+2, Massimo Di Pierro a scris:
Please open a ticket and we will fix this asap.
On Friday, 16 November 2012 04:49:35 UTC-6, rif wrote
I was referring to http://web2py.com/books/default/chapter/29/06#Gotchas
vineri, 16 noiembrie 2012, 15:04:47 UTC+2, Massimo Di Pierro a scris:
On Nov 16, 2012, at 5:17 AM, rif wrote:
Done (http://code.google.com/p/web2py/issues/detail?id=1172)
Are the migrations issues to GoogleSQL still
Constrained by some performance requirements I am developing a web app
using Go http://golang.org/, Gorilla http://www.gorillatoolkit.org/, The
Goods http://thegoods.biz/ and MongoDB http://labix.org/mgo.
While I enjoy the beauty of go and the lightweight feeling of minimal
libraries I stop
as it is and web2admin should only be an optional plugin
Either way I hope more people would find out about it.
-rif
vineri, 19 octombrie 2012, 06:39:31 UTC+3, rochacbruno a scris:
To don't let this issue to get lost, I created a ticket about this:
http://code.google.com/p/web2py/issues/detail
I guess two out of the three cons would be eliminated by web2admin.
Please take some time to review it and give it some visibility.
joi, 18 octombrie 2012, 00:58:24 UTC+3, Massimo Di Pierro a scris:
http://www.pythondiary.com/reviews/web2pyV2.0.html
--
One query support coming up!
joi, 18 octombrie 2012, 14:47:11 UTC+3, rochacbruno a scris:
+1 web2admin is awesome! if we include query support it will be perfect to
replace appadmin
Em 18/10/2012 03:23, rif feri...@gmail.com javascript: escreveu:
I guess two out of the three cons would
It works fine here. I get two cookies (listed below):
How can we set a longer expiration?
Name: session_id_w2a
Content: None
Domain: localhost
Path: /
Send for: Any kind of connection
Accessible to script: Yes
Created: Tuesday, October 16, 2012 4:51:00 PM
Expires: When the browsing session ends
I'd go for this if the session is small and does not contain critical
information. So it is good to have this option.
marți, 16 octombrie 2012, 22:27:01 UTC+3, Niphlod a scris:
On Tuesday, October 16, 2012 7:46:16 PM UTC+2, VP wrote:
I think one advantage of moving session data to the
It is working for me and the performance is very close to session.forget()
Good work,
-rif
sâmbătă, 13 octombrie 2012, 20:05:24 UTC+3, Niphlod a scris:
it's in trunk. Docs will be available shortly but just looking at the
docstring it should be painless.
On Saturday, October 13, 2012 2:49
Thank you Ovidio. Do you mean like auth.enable_record_versioning? Can you
give more details?
-rif
vineri, 12 octombrie 2012, 00:55:00 UTC+3, Ovidio Marinho a scris:
It really is a great job and I think it definitely will be incorporated as
a standard interface for administration
, there is an error:
ERROR:web2py:Traceback (most recent call last):
File /home/rif/Documents/webframeworks/web2py/gluon/main.py, line 614,
in wsgibase
BaseAdapter.close_all_instances('rollback')
File /home/rif/Documents/webframeworks/web2py/gluon/dal.py, line 529,
in close_all_instances
## connect to Google BigTable (optional 'google:datastore://namespace')
db = DAL('google:datastore')
## store sessions and tickets there
session.connect(request, response, db = db)
## or store session in Memcache, Redis, etc.
The last line above misled me. so it is possible to
I find it better than memcache because the sessions would survive a
restart. So while I can settle on using memcache but I feel like I am
loosing something.
I really see no reason to store them on the disk or in db (except limited
memory).
-rif
luni, 8 octombrie 2012, 18:44:09 UTC+3, Niphlod
Thank you and take your time. I will report any issues I find with it.
Right now after Massimo's fix I get this:
Traceback (most recent call last):
File /home/rif/Documents/webframeworks/web2py/gluon/main.py, line 541,
in wsgibase
session._try_store_in_db(request, response)
File /home
Added django like filters to web2admin.
I will stop adding new features for a while and declare the current build
as beta. Please test it and report issues on
githubhttps://github.com/rif/web2admin/issues
.
Currently the GAE is not supported due to some dal issues.
Please test,
-rif
marți
for the 1.1 release.
-rif
marți, 25 septembrie 2012, 15:22:06 UTC+3, Massimo Di Pierro a scris:
Let me add... appadmin was never developed to be a production tool.
Something better like web2admin is very much welcome. I will review and we
will discuss on this list whether to replace appadmin
Lots of new customization options and features. Check it out and please
report bugs.
-rif
duminică, 16 septembrie 2012, 13:31:55 UTC+3, rif a scris:
Check out the new global search, feedback most welcomed.
Features still to come:
- Custom Links
- Custom Left join
-rif
sâmbătă
Check out the new global search, feedback most welcomed.
Features still to come:
- Custom Links
- Custom Left join
-rif
sâmbătă, 15 septembrie 2012, 15:38:14 UTC+3, rif a scris:
I just thought that one might want to use the manager (without prefix)
role for a different propose so I
I have added initial multi-db support and now I am working on your
suggestion. It should be ready in a couple of hours. I will let you know.
-rif
sâmbătă, 15 septembrie 2012, 02:33:49 UTC+3, rochacbruno a scris:
@rif I have some suggestion
Screenshot: http://i.imgur.com/3t2kv.png
You can pull from my devel branch for multi-db support. Please give me
feedback.
I am merging your pull request. An I think I will use ajax.
-rif
sâmbătă, 15 septembrie 2012, 13:11:14 UTC+3, rochacbruno a scris:
I did the modal part, now need to do the shortcuts.
also as you are working
I bow before what you showed in modules/html.py, yet I preferred a much
simpler solution even if it is not reusable (hopefully it will give a
chance to less-python-gurus like me to understand :).
I will focus on the rest of the suggestions now.
-rif
sâmbătă, 15 septembrie 2012, 13:31:52 UTC+3
reach a conclusion
I am happy to change.
Also the the plugin_web2admin-plugin_admin is OK, especially if it will
become official :)
To others: please give feedback on this.
-rif
sâmbătă, 15 septembrie 2012, 15:25:27 UTC+3, Alan Etkin a scris:
Shouldn't this be called plugin_admin or similar
it in the release today, thank you.
The fields feature is ready and today I will work on action history (to
keep a log of actions in the admin) and filters.
-rif
vineri, 14 septembrie 2012, 00:45:57 UTC+3, rochacbruno a scris:
Nice work!
the select2.js is the same as choosen? I really like it! should
Does anybody know why do I get App does not exist or your are not
authorized when I install https://github.com/rif/web2admin ?
The plugin install fine, though.
-rif
--
bug report is
appreciated). However there are more features in the pipeline so whenever
you consider it to have enough features you can start using it.
About the place for visibility: well, my goal is to make it stand near
plugin_wiki ;)
-rif
vineri, 14 septembrie 2012, 16:39:50 UTC+3, Massimo
Excellent suggestion. dbs will be available in the next version.
-rif
vineri, 14 septembrie 2012, 20:34:16 UTC+3, rochacbruno a scris:
There is Pyodel (learning tool), I dont know about the status of QAStak
and PyForum.
@rif what about multiple databases and databases named differently
of displayed rows)
- Inline tables (related tables on a single row)
- Your suggestion here
-rif
miercuri, 12 septembrie 2012, 19:07:10 UTC+3, rif a scris:
There was a problem with the installation from master tip tar gz. Created
plugin archive for download
herehttps://github.com/downloads
Added plugin configuration options (inspired by sramana's instant-admin):
- items per page
- extra links in sidebar
Every day when I get some free time I am adding some new features. If you
have requests or bug reports please don't hesitate :)
Thanks,
-rif
--
There was a problem with the installation from master tip tar gz. Created
plugin archive for download
herehttps://github.com/downloads/rif/web2admin/web2py.plugin.web2admin.w2p
.
miercuri, 12 septembrie 2012, 18:50:20 UTC+3, rif a scris:
Added plugin configuration options (inspired
I started the development of a new django-like admin interface.
You can find it here: https://github.com/rif/web2admin
It is very basic but still usable because it uses SQLFORM.smartgrid.
I am announcing it early because I need your feedback and feature requests
so that I can find out if grid
Maybe the otherwise param should appear in the cheatsheet:
@auth.requires_login(otherwise=URL(...))
--
Also the cast parameter. Are the sources for the cheatsheet available so we
can make patch suggestions?
-rif
miercuri, 5 septembrie 2012, 18:53:45 UTC+3, Massimo Di Pierro a scris:
It should
On Wednesday, 5 September 2012 09:57:30 UTC-5, rif wrote:
Maybe the otherwise param should appear
Another small patch to chapter with to changes:
postrgresql:// - postgres://
hocalhost - localhost
sâmbătă, 1 septembrie 2012, 20:00:49 UTC+3, Massimo Di Pierro a scris:
The web2py book app has been rewritten
http://www.web2py.com/book
and the source of the app and the book itself is
After a succesful login from janrain running on GAE I get the following
error:
Traceback (most recent call last):
File /home/rif/Documents/webframeworks/homepage/gluon/restricted.py,
line 209, in restricted
exec ccode in environment
File
/home/rif/Documents/webframeworks/homepage
Another mistake is here:
http://web2py.com/books/default/chapter/29/6#Copy-data-from-one-db-into-another
hocalhost - localhost (multiple times)
And I also thing that this is wrong:
postgresql:// - postgres:// (multiple times)
-rif
miercuri, 15 august 2012, 16:33:18 UTC+3, Anthony a scris
There are some (scripts/setup-web2py-nginx-uwsgi-ubuntu.sh and
scripts/setup-web2py-nginx-uwsgi-on-centos.sh) that automate the processes
of setting up web2py with nginx+uwsgi.
You can start by analyzing these scripts and then consult the upstream
documentation.
-rif
vineri, 24 august 2012
The Search Pages is also not working. If I enter a page title and hit
Submit I get:
Traceback (most recent call last):
File /home/rif/Downloads/web2py/gluon/restricted.py, line 205, in
restricted
exec ccode in environment
File
/home/rif/Downloads/web2py/applications/hopa/controllers
Thank you very much, Ionel!
-rif
sâmbătă, 2 iunie 2012, 18:30:30 UTC+3, ionel a scris:
Hello Massimo,
This is the language file for appadmin in Romanian.
Thank you,
i.a.
I had the same issue and I solved by adding plugin python in the uwsgi
web2py configuration:
uwsgi
pluginpython/plugin
--HERE
socket127.0.0.1:9001/socket
pythonpath/home/www-data/web2py//pythonpath
app
Please check that your python version is 2.5. If this is not the case,
change the app.yaml to use python2.7 runtime.
-rif
luni, 9 aprilie 2012, 20:57:21 UTC+3, waglik a scris:
Hi guys.
I try playing with web2py on GAE but on a very beginning I fail with
running my app. when I start my
recommended workarount to this kind of search on gae?
Moreover http://web2py.appspot.com/friends/default/home will issue a crash
ticket after login. Maybe it should be checked and fixed if the application
is still online on web2py appspot.
-rif
Thank you for your answers.
-rif
miercuri, 7 martie 2012, 06:06:32 UTC+2, howesc a scris:
1. i think they just promoted it to be generally available in the last
couple of weeks.
2. there is also the files API. check out the google docs for writing
directly to a blob. for end-user
hitting the 10Mb limit so I need to experiment some more with
create_upload_url.
-rif
miercuri, 7 martie 2012, 11:36:40 UTC+2, Sushant Taneja a scris:
Hi,
I am trying to use the Google Blobstore API for uploading images. I also
checked the link: http://www.web2pyslices.com/main/slices
1. What is the status of mysql database for gae?
2. Is there any better solution than this (
http://www.web2pyslices.com/main/slices/take_slice/63) to write blobs to
blobstore?
Thank you,
-rif
I can do that:. Is the following environment relevant?
- ubuntu 11.10 on a kvm virtual instance (mod_wsgi 3.3 - latest)
- web2py with the default setup from scripts/setup-web2py-ubuntu.sh
- ab -n1000 -c20 http://localhost/ and ab -n1000 -c20 http://localhost:8000/
I also have to report two
Environment
machine: libvirt kvm instance: *512Mb 1cpu* on a acer aspire 5100 laptop
os: ubuntu 11.10, mod_wsgi3.3
web2py: 1.99.3
apache config: default resulted from scripts/setup-web2py-ubuntu.sh
Rocket: v1.2.4 python web2py.py -Na test -i 0.0.0.0
Commands:
- run from the host system
ab
And now the weirdest thing:
Enabling two CPUs on the virtual machine gave me the following weird
results:
nginx: 31.92 [#/sec]
apache: 10.63 [#/sec]
rocket: 10.36 [#/sec]
So 1000 request with a concurrency of 20 on 2 CPUs actually slows down
apache and rocket. I thought that apache and rocket
This comparison was intended to help writing the why web2py paragraph from
the book (https://groups.google.com/d/topic/web2py/29jdfjejwZo/discussion )
Compiled uwsgi 0.9.9.3 (the 0.9.8.1 did not now about pythonpath)
uwsgi --pythonpath /opt/web-apps/web2py --module wsgihandler --http :80 -s
/tmp/we2py.sock uwsgi.log 21
1 CPU: 17.83 [#/sec] (better than rocket)
2 CPUs: 17.98 [#/sec]
uwsgi --pythonpath /opt/web-apps/web2py --module wsgihandler
One of the reasons to use web2py mentioned in the book is the following:
web2py has a small footprint and is very fast. It uses the Rocket WSGI web
server developed By Timothy Farrell. It is 30% faster than Apache with
mod_proxy.
I don't really understand the second sentence. Should it say
I really tried to switch from hg to git (several times) but did not
find sufficient reasons to stick with it.
I use SASS provided by compass http://compass-style.org/ and it really
makes CSS more pleasant. I never used CoffeeScript as I stay on jQuery
syntax 95% of javascript code.
1 - 100 of 120 matches
Mail list logo