Hi!
I'm trying to create a very simple upload field, without any complex
mechanism. A user just uploads a file to a folder in the server (apache),
without web2py changing the file name, and without any db. I have some
dozens of files already in a folder in the server, I just need an upload
for
:01 UTC, Massimo Di Pierro escreveu:
>
> You cannot do:
>
> open(...,'wb').write(form.vars.myfile.file.read())
>
> because this read the entire file in memory before writing it. You need to
> use
> http://docs.python.org/2/library/shutil.html
> and do
>
> shutil.c
stable
version to upgrade instead of using the trunk?
Thanks a lot for all your time.
Sexta-feira, 30 de Novembro de 2012 16:11:48 UTC, Paulo escreveu:
>
> Hi!
>
> I'm trying to create a very simple upload field, without any complex
> mechanism. A user just uploads a fil
Thanks for the awesome work with this awesome framework all this time :)
Quinta-feira, 6 de Junho de 2013 16:59:30 UTC+1, Massimo Di Pierro escreveu:
>
> CHANGELOG
>
> - New style virtual fields in grid
> - Conditional fields (experimental) ``db.table.field.show_id =
> db.table.otherfield==True`
It's indeed a good question, because I cannot imagine how much time and
effort have been invested by a lot of people in this great wonder called
web2py! It helped me a lot jumping from PHP to Pyhon world, I tried some
frameworks but web2py was love at first sight, it is so well designed that
it
('mysql://username:password localhost:/tmp/mysql5.sock')?Thanks.
>
>
>
>
>
>
Hello There,
I have tried to do this to connect to a postgres 9.4 and it did not work.
I received the error bellow:
File "psycopg2/__init__.py", line 164, in connect
OperationalError
I have done/worked in some projects running also in web2py. Don't know how
to add to the list (if anyone can feel free to add), here are some:
-News website about Braga city: http://www.bragatv.pt/
-Institutional website for the XIV International Congress of the Spanish
Society of Didactics of
I have the exact same question and can't find an easy solution in the web :/
Fields of the type list:reference with multiple choices don't show up in
the smartgrid search engine. Any easy fix for this?
Example in: http://cehum.ilch.uminho.pt/microrrelatos_xaquinnunez
(The "Repertorio" field is a
Hi
I think it must be a bad configuration of the virtualhosts in the Apache
conf file, maybe a problem with AliasMatch part. I had similar problems in
the past when trying to tune it and configure. There are a some scripts in
the net and in the web2py manual with examples (but the majority is f
If usefull for someone googling, found the problem: after upgrading Fedora,
for some stupid reason it changed the user permissions of the
folder /var/lib/nginx/tmp/uwsgi/ (or nginx changed how it works with uwsgi
and and created it for 1st time, not sure, don't remember).
A simple "sudo chown -
I'm taking the first steps in web2py but I have a question that for me is
very important as to continue or not with web2py.
Does web2py have a admin dashboard as Wordpress, Textpattern, etc, so the
client can update the site like they will normally do in a cms?? I know
web2py it's not a CMS, but
Hello guys,
I am new here.
Is there a full e-commerce web2py app like Sachmo, LFS, Cartridge
(Mezzanine) or oscarCommerce?
Is there a blog app?
I would be glad if you have live site examples.
Thanks in advance,
--
---
You received this message because you are subscribed to the Google Gro
web2py. The site
looks awesome. Does anybody know what app was used or if it was made from
scratch?
Thanks in advance,
Paulo
Em quarta-feira, 26 de junho de 2013 04h42min17s UTC-3, encompass escreveu:
>
> I am thinking of building one as part of my business. Just starting to
> look
og. No changes, the error continue, albeit the multiple success word
in the end of sql.log.
The solution I found was delete the storage.sqlite. After that everything
went smooth.
I'm almost sure that this is a bug in DAL module.
HTH,
Paulo
--
Resources:
- http://web2py.com
-
Hello everyone!
I'm querying a legacy database and for performance issues I can't do an
orderby and the end of the SQL (HUGE table).
If I do:
db().select(db.table.ALL, orderby=db.table.some_key, limitby=(0,1000))
It will issue as supposed: SELECT * FROM table ORDER BY *some_key* LIMIT
1000 O
che
> <http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=orderby_on_limitby#orderby--groupby--limitby--distinct--having-orderby_on_limitby-left-cache>
>
> Anthony
>
> On Wednesday, January 13, 2016 at 10:08:13 AM UTC-5, Paulo Serrão wrote:
>
Hi!
I have a table on a Postgres database that has a field of type integer[]
Is there a way to use this directly in web2py/pydal and interact with it as
a python integer list?
I want to be able to select that field and get a list with [1,2,3,4,5] and
I want to be able to update the field and p
I did, it returns an error from pydal trying to apply a split.
On the documentation it says: On relational databases lists are stored as a
text field. The items are separated by a | and each | in string item is escaped
as a ||.
So I guess it is expecting the returned field to be a string and ra
Hi!
I was previously (web2py 2.18.5) using postgres:pg8000 adapter and a dummy
connection string with the parameter do_connect=False in order to be able
to generate SQL query strings without actually connecting to any database.
I see that with the latest version (2.20.4) the "do_connect" was
I'm having my first steps on web2py and python and would really benefit
from a "dummy" tutorial...
Thanks,
--
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)
-
I just uploaded my first app do production under apache and following the
manual, I wrote a routes.py as follows:
routers = dict(
BASE = dict(
default_application = 'vendasexpress',
default_controller = 'default',
default_function = 'index',
domains = {
'venda
Hi Jonathan,
It is working now as I restarted apache.
Many thank´s for your response.
On Wednesday, August 8, 2012 6:13:08 PM UTC-3, Paulo Junqueira da Costa
wrote:
>
> I just uploaded my first app do production under apache and following the
> manual, I wrote a routes.py a
27;request_reset_password']
auth.settings.login_form = RPXAccount(request,
api_key='...',
domain='condomniovip',
language=request.vars._language or session._language,
url = "http://localhost:8000/%s/default/user/login"; %
request.application)
Thanks in advance.
Paulo
Em
Hi,
I´m having the same problem. The whilw atuh is working fine, except for
plugin_wiki.
from gluon.contrib.login_methods.rpx_account import RPXAccount
auth.settings.actions_disabled=['register','change_password','request_reset_password']
auth.settings.login_form = RPXAccount(request,
api_ke
Maximo,
Thanks for the example, but could you please post an example of how to get
json from web2py to be used with fullcalendar? I´ve tried a lot, but still
getting an error from fullcalendar. Tried even returning a string like:
{{id: 2, start: "2012-05-28 10:24:17", end: "2012-05-31 10:24:00"
hi, I am starting to use web2py and I am very impressive with his
facilities. I am a visualy empaired user and this framework is helping
me.
my dought is: How can I use pagination with web2py?
thanks in advance!
paulo
--
26 matches
Mail list logo