Re: [web2py] Re: Get date from datetime with DAL

2017-03-31 Thread Alexandre Andrade
I now it was posted a long time ago, but there are a simpler solution: dt = request.now.date() rows = db( (db.events.created_on.date()==dt) ).select() Em sábado, 16 de julho de 2011 09:25:57 UTC-3, AngeloC escreveu: > > > that "dirty hack" fails for the MSSQL adapter in 1.97.1: > > Well

Re: [web2py] Re: DAL Query by Date on Datetime Field.

2017-03-31 Thread Alexandre Andrade
I now it was posted a long time ago, but there are a simpler solution: dt = request.now.date() rows = db( (db.events.created_on.date()==dt) ).select() Em terça-feira, 28 de junho de 2011 17:10:08 UTC-3, Vasile Ermicioi escreveu: > > a bit longer but selects by exact date > > dt = reque

[web2py] Re: record versioning and standalone DAL

2014-03-18 Thread Alexandre Andrade
To record versiong works, you should set db._common_fields.append(auth.signature) after you db.define_tables() but before defining any other table and db.enable_record_versioning(db) after you define all tables Em segunda-feira, 30 de setembro de 2013 17h28min12s UTC-3, JaapP escreveu:

[web2py] custom widget dont work

2013-04-25 Thread Alexandre Andrade
below, but for some reason, the value of json input dont save to database. What i am missing? http://pastebin.com/MAkZAG7b -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos -- --- You received this message because you are subscribed to the Google Groups "web2py-

[web2py] Disable button in /admin

2012-01-30 Thread Alexandre Andrade
While it can be a little obvious what it can do, the button 'Disable' in /admin/site has no documentation at book. The main doubt is what happens if i disable, if I will be able to enable easily again. So its interesting append it to the book. -- Atenciosamente Alexand

Re: [web2py] Many apps but only one needs https.

2012-01-30 Thread Alexandre Andrade
; > > 2012/1/29 Alexandre Andrade > >> while https can be used for everyone, u can force https just to one. >> >> >> >> Em 28 de janeiro de 2012 12:51, António Ramos escreveu: >> >> Hello, if i have 20 apps in the same server of web2py

Re: [web2py] Many apps but only one needs https.

2012-01-29 Thread Alexandre Andrade
t; -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] Re: Is it me or what?

2012-01-20 Thread Alexandre Andrade
tem for > *example*<http://ourway.ir/blog/index?page=2&tag=None&u=rodmena> > . > http://ourway.ir/blog > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] T and internationalization

2012-01-13 Thread Alexandre Andrade
I think u can create a file en_US or en_GB manually Alexandre Andrade 2012/1/13 Niphlod > Hi, > I'm currently researching the possibility to add some translations > using the T helper in a different way then usual. > > Let's say that I wrote all the strings to

Re: [web2py] Re: Routes error

2012-01-13 Thread Alexandre Andrade
e , and then i entered the > admin and clicked reload routes ,and then i restarted the sever , but > nothing happend !! > > what to do ? > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] admin password

2012-01-12 Thread Alexandre Andrade
completing just stop the web2py server (or apache) and run in console: # python web2py it will ask you a new password look at port it runs (like 8000) and copy the file to run in port 443 (https): # cp parameters_8000.py parameters_443.py Alexandre Andrade 2012/1/12 Alexandre Andrade

Re: [web2py] admin password

2012-01-12 Thread Alexandre Andrade
just stop the web2py server (or apache) and run in console: # python web2py it will ask you a new password Alexandre Andrade 2012/1/12 lucas > hello one and all, > > i am stupid. i forgot the web2py admin password on my server and i > can't access the https interface. how

Re: [web2py] Routes error

2012-01-11 Thread Alexandre Andrade
Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] Web2py binary distribution and psycopg2 driver

2012-01-11 Thread Alexandre Andrade
I remember the postgresql driver usually works with the source distribuition of web2py on windows. I think a way u get it working is use the source web2py on windows, and use py2exe or similar to create a executable. Alexandre Andrade 2012/1/10 Álvaro J. Iradier > Hi, > > I was

Re: [web2py] plugin badmin

2012-01-11 Thread Alexandre Andrade
I understand the diferences between grid and smartgrid. thank you anyway for reply. What mean to ask is the diference between them and badmin, in https://github.com/elcio/badmin Alexandre Andrade 2012/1/10 Jim Steil > The other big difference is that you can pass a query (in place of

Re: [web2py] plugin badmin

2012-01-10 Thread Alexandre Andrade
What is the diference to sqlform.grid or sqlform.smartgrid? looks similar 2012/1/10 Bruno Rocha > Just found this > > https://github.com/elcio/badmin > > I am going to test it more, looks very nice! > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

[web2py] SQLFORM.smartgrid i18n

2011-12-30 Thread Alexandre Andrade
I cant found a way to translate the "Submit" button and 'Check to delete' using smartgrid. crud.settings doenst work. Any tips? -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] Re: Some doubts about SQLFORM.smartgrid

2011-12-26 Thread Alexandre Andrade
Great, Massimo! 2011/12/26 Massimo Di Pierro > uploading to trunk > > On Dec 26, 11:42 am, Alexandre Andrade > wrote: > > I could solve most of my problems using the new fantastic smartgrid. > > > > But i have 2 sugestions for the developers: > >

Re: [web2py] Re: Internationalization for DB table field names and DB table content

2011-12-26 Thread Alexandre Andrade
ill need a tool/api to automate translation, and use a function to call it. Alexandre Andrade 2011/12/26 Mathias Van Daele > Hey Anthony, thanks for your answer ! > > Your solution for question 1 working fine ! (with label) > For questions 2 I am still trying... > > Mathias

Re: [web2py] Some doubts about SQLFORM.smartgrid

2011-12-26 Thread Alexandre Andrade
;),_type="button",_id="w2p_query_trigger", to allow i18n and line 1925: from ' ', to: ' > ', to correct separation between first and second steps Regards. Alexandre Andra

Re: [web2py] Some doubts about SQLFORM.smartgrid

2011-12-26 Thread Alexandre Andrade
etSearch}, > searchable=True, > paginate=15, maxtextlength=45) > > All of these work ok for me. Possibly your use cases are different that > mine. Could you share some detail about what you are seeing that isn't > wo

Re: [web2py] Some doubts about SQLFORM.smartgrid

2011-12-26 Thread Alexandre Andrade
Hi Jim, Just to know your example of query worked to me. Thanks again. Alexandre Andrade 2011/12/26 Alexandre Andrade > Hi Jim, > > Thanks for reply. > > 1. I will try your example of query/contraints. > 2. about represent/lambda issue: i get it working with a workaround

[web2py] Some doubts about SQLFORM.smartgrid

2011-12-26 Thread Alexandre Andrade
query in the search field. Could someone provide a example of using constraints? -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] web2py 1.96.2 is OUT & security warning

2011-06-05 Thread Alexandre Andrade
e "gluon/html.py", line 29, in from utils import web2py_uuid, hmac_hash File "gluon/utils.py", line 98, in ctokens = initialize_urandom() File "gluon/utils.py", line 93, in initialize_urandom logging.warn( NameError: global name 'logging'

Re: [web2py] web2py 1.96.2 is OUT & security warning

2011-06-05 Thread Alexandre Andrade
spotted this problem and > suggested rewriting the web2py uuid function used for generating > session names. The new function uses /dev/urandom as entropy source > and falls back to the old method when the entropy source is not > available, issuing a warning. > > 2) appadmin uses admin authentication but failed to detect expires > sessions (60minutes). This has now been corrected. > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] Fwd: Solved -- Problems with special characters and pyfpdf

2011-04-28 Thread Alexandre Andrade
gs in 'utf-8' format. > > So, as a solution, in your python code you just have to convert the > string before passing it topyfpdf, like this: > > txt = 'Hélló wórld' > utxt = unicode('txt', 'utf-8') > stxt = utxt.encode('iso-8859-1') > pdf.cell(50,20, stxt, 0, 2, 'L') > > If anyone has any doubts, just ask. I hope this can help someone... > > kind regards, > Bernardo > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] Re: Alternative for annoying default javascript integer/double/decimal validtors

2011-03-22 Thread Alexandre Andrade
ing > > it :-) > > > > 3. The jquery events listen to both keyup and keydown. keyup is necessary > > because the input.value has not yet been updated when keydown is fired. > But > > listening to keydown is useful if the user holds down the backspace key - > > the background color will be reset as soon as the last offending > character > > has been deleted, rather than waiting for the user to release the > backspace > > key. > > > > 4. I used the class name "w2p_inputerror" in an attept to namespace this > > somewhat web2py-specific class. > > > > I hope some people find this to be useful. If other people have been > annoyed > > by the current default, perhaps we could open discussion to make this the > > new default in web2py? > > > > Cheers, > > Kevin > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] PDF report

2011-03-11 Thread Alexandre Andrade
tp://algoritmizando.com > # http://twitter.com/bruninbsb > # --- > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] web2py 1.92.1 is OUT

2011-02-16 Thread Alexandre Andrade
IS_MATCH(...,strict=True) > URL(...,scheme=,host=,port=), thanks Jonathan > admin in Afrikaans, thanks Caleb > auth.signature (experimental) > many bug fixes > > please test it and report any issue. > > Massimo -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] IS_EMAIL allows upper and lower cases

2011-02-15 Thread Alexandre Andrade
Can I make a proposal to improve it? to me, a email have always to be lower case, specially when it is used to login. The problem is that email in auth_user need to be a unique key, and it allows to be duplicated. 2011/2/15 Jonathan Lundell > On Feb 15, 2011, at 9:06 AM, Alexandre Andr

[web2py] IS_EMAIL allows upper and lower cases

2011-02-15 Thread Alexandre Andrade
. -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] how may I do this (block and unblock buttons for admin dashboard)

2011-02-09 Thread Alexandre Andrade
k_access=A(T('unblock access'),_href=URL(r=request,c='default', > f='unblock_access')) > return dict(block_access=block_access, unblock_access=unblock_access) > > Since I will need to modify the block and unblock function like this : > > def block_access(): > """ > UPDATE auth_user > SET registration_key='blocked' > WHERE auth_user.registration_key = '' > AND auth_user.email <> 'myem...@mydomain.com' > """ > db((db.auth_user.registration_key == '') & (db.auth_user.email != ' > myem...@mydomain.com')).update(registration_key='blocked') > db.commit() > redirect(URL(r=request,c='default', f='index')) > > Is there an other way by not utilising redirection? > > Thanks > > Richard > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos

Re: [web2py] http and https

2011-02-04 Thread Alexandre Andrade
http://www.mydomain.org:80 and https://secure.mydomain.org:443 > > What shall I do: > - start two instances of web2py > - or use URL-rewrite? > > Regards, > Martin > > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes

Re: [web2py] Form to Email

2011-02-04 Thread Alexandre Andrade
like my application to send me the form fields > via email. > > My hosting provider will supply form mail.php files: > On Linux hosting accounts, this will re-install the "gdform.php", > "webformmailer.php", and "gdform.cgi" (this is in the "cgi" directory) > form-mailer scripts for your hosting account > > Can I utilize these? > > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes

Re: [web2py] cascading drop down list not working

2011-01-31 Thread Alexandre Andrade
ain/slices/take_slice/85 > [2] http://ompldr.org/vNzhnMg > > The model has no problem without the widget. > What am I doing wrong? > > Very thanks in advance for your help and time on this. > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes

Re: [web2py] widgets

2011-01-30 Thread Alexandre Andrade
çao > Casa Civil do Governador > 83 3214 7885 - 88269088 > Paraiba > > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes

Re: [web2py] Re: The web of connected p2p web2py apps ? (or a new kind of social network)

2011-01-28 Thread Alexandre Andrade
django's. > > -Bill > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes

Re: [web2py] Speeding up IS_IN_DB

2011-01-28 Thread Alexandre Andrade
divine power has given us everything we need > for life and godliness through the full knowledge of the one who called us > by his own glory and excellence. > 2 Pet. 1:2b,3a > > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes

Re: [web2py] looking for advice on validation

2011-01-17 Thread Alexandre Andrade
there was a way I could do this with SQLFORM. > > I'd appreciate any recommendations and/or examples. > > Thanks, - Tom > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes

Re: [web2py] is there a way to rename a database ?

2011-01-14 Thread Alexandre Andrade
Sorry, it is to migrate a table. To migrate/rename a database, do what is here: http://alexandremas.blogspot.com/2009/11/short-tutorial-to-migrate-web2py.html Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes 2011/1/14 Alexandre Andrade > How to

Re: [web2py] is there a way to rename a database ?

2011-01-14 Thread Alexandre Andrade
How to do it: 1. backup it, exporting to csv - you can use appadmin for it 2. rename 3. restore the csv backup, using appadmin Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes 2011/1/14 Stef Mientki > hello, > > I would like to rename a dat

Re: [web2py] Re: Why the need of return dict() in controller?

2011-01-14 Thread Alexandre Andrade
Wait, so are you saying that instead of return dict(items=items, > blah=blah, > > etc) we can just use return locals() on most or all controllers? What's > the > > downside, memory? Implicitness? > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes

Re: [web2py] country / state / city of the current visitor?

2011-01-14 Thread Alexandre Andrade
I really wanted it! Valeu Bruno! Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes 2011/1/14 Bruno Rocha > > I fund this useful script: http://eternal-todo.com/var/scripts/geoloc > > Bruno Rocha > http://about.me/rochacbruno/bio > --

Re: [web2py] Best practice for including python libraries with my app

2011-01-13 Thread Alexandre Andrade
try to import, and if fails, generate message to user to install it on the system Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes 2011/1/13 Lorin Rivers > I am using tabular <http://www.parsemydata.com/tabular> (which requires > numpy), as well as ps

Re: [web2py] Re: experts

2011-01-12 Thread Alexandre Andrade
and select the team/developer 2. What garanties the organization will give to contractor about time and costs 3. What percentage of project will be retained to maintain the organization? 4. How the organization will follow the project to make it a sucess everytime? Atenciosamente Alexandre

Re: [web2py] Email gateway

2011-01-12 Thread Alexandre Andrade
l adress which my app reads and extracts the PDF > from it > > Has anybody made anything like this? Where should I start? I guess it > should be some kind of pop/imap client polling the postbox and reading and > extrating everything from it. > > > Kenneth > > > > >

Re: [web2py] Re: flush in web2py?

2011-01-10 Thread Alexandre Andrade
ces, have an iterator process the pieces separately, return the > iterator. > > > Massimo > > > On Jan 10, 3:59 pm, Alexandre Andrade > wrote: > > In php, you can flush the data with the flush() function. > > > > It allows to send the data to the browser wi

[web2py] flush in web2py?

2011-01-10 Thread Alexandre Andrade
a way to do this with web2py? -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes

Re: [web2py] Email gateway

2011-01-10 Thread Alexandre Andrade
You can start from http://docs.python.org/library/poplib.html http://docs.python.org/library/imaplib.html http://docs.python.org/library/email.parser.html Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes 2011/1/10 Kenneth Lundström > A gateway t

Re: [web2py] Re: The first code example of the CRUD Methods section of the online web2py book

2011-01-10 Thread Alexandre Andrade
Please forgot my last message. 2011/1/10 Alexandre Andrade > > The problem is supposed to be in this line: > > persons = crud.select(db.person, fields=['name'], > > headers={'person.name': 'Name'}) > > There is a typo, the last line shoul

Re: [web2py] Re: The first code example of the CRUD Methods section of the online web2py book

2011-01-10 Thread Alexandre Andrade
t; > And I just got this error message: > > " > > Error snapshot > > Detailed traceback description > > Exception: ('person') > > " > > > > The problem is supposed to be in this line: > > persons = crud.select(db.person, fields=['name'], > > headers={'person.name': 'Name'}) > > > > What's wrong with that? Thanks. > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos e Inteligentes

Re: [web2py] Re: Another web2py powered site

2011-01-05 Thread Alexandre Andrade
I have turned my main website (hipercenter.com ) from Cycling news agregator (hipercenter.com/ciclismo) into a classifieds website ( hipercenter.com/classificados). Still working in it. Sugestions are welcome. Atenciosamente Alexandre Andrade Hipercenter.com Classificados Grátis e

Re: [web2py] Web2py Application Exhibition 2.0 Winning Entries

2011-01-02 Thread Alexandre Andrade
agement System by Falko Krause > > For more information and to see other entries, > go to http://w2pexhibition.appspot.com/ > > Special thanks goes to Martin Mulone for creating and > hosting the Voting Application and Massimo for a > great framework! > -- Atencios

Re: [web2py] Re: Managing permissions

2010-10-14 Thread Alexandre Andrade
d everything you say but this. You can just say: > > db.auth_permission.table_name.requires = None > > or > > db.auth_permission.table_name.requires = IS_IN_SET(whatever) > -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] Re: Managing permissions

2010-10-13 Thread Alexandre Andrade
blem. Can you provide a test case and > what you expect? > > On Oct 13, 5:07 pm, Alexandre Andrade > wrote: > > The book says about auth_permission: > > > > auth_permission links groups and permissions. A permission is identified > by > > a name and, optionall

[web2py] Managing permissions

2010-10-13 Thread Alexandre Andrade
ciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] Troubleticketing application?

2010-10-06 Thread Alexandre Andrade
n > for implementing such a system? > > Thanks > -- Atenciosamente -- ========= Alexandre Andrade Hipercenter.com

Re: [web2py] Script to generate schema (models) from mysql

2010-10-03 Thread Alexandre Andrade
_tables in class SQLDB. > - some code in __init__ in class SQLDB. > - keys 'show_tables' and 'table_fields' in SQL_DIALECTS['sqlite'] -> > please add keys to other databases and test if you could. > > I'm sure that this code can be optimized. > > What do you think? > > -- > Álvaro Justen - Turicas > http://blog.justen.eng.br/ > 21 9898-0141 > -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] Re: Universal Database Interface - UDI

2010-10-02 Thread Alexandre Andrade
Well, I know I have a long way ahead. 2010/10/2 mdipierro > I do not see an easy solution. > > On Oct 2, 9:48 am, Alexandre Andrade wrote: > > The case is the databases and tables are not similar. > > > > Sample case: > > > > database1: city_population

Re: [web2py] Re: Universal Database Interface - UDI

2010-10-02 Thread Alexandre Andrade
rtswith('a')) > > etc. > > The last 4 operations are performed at the web2py level, not the db > level so they may use lots memory and IO. > > > Massimo > > > > > > On Oct 2, 3:59 am, Alexandre Andrade wrote: > > (this text was translated

[web2py] Universal Database Interface - UDI

2010-10-02 Thread Alexandre Andrade
-- Atenciosamente -- ========= Alexandre Andrade Hipercenter.com

Re: [web2py] Re: Should we have a feature freeze and stability maintenance period in future?

2010-08-25 Thread Alexandre Andrade
dangerous! ;-) > > > > >> ciao, > > >> mic > > > > >> 2010/8/24 mart : > > > > >> > I don't know if you are currently using a specific bug tracking > > >> > system, but they are typically easy to interface with and made part > of > > >> > build/release & test processes/automation. I.e. As part of a release > > >> > process, I would set rules with the source control system where non- > > >> > bugTraking releated changes can either be automatically rejected, or > > >> > moved to another set of prioritiesArea, etc... the build (or > packaged > > >> > fileset, or whatever the output is) contains a detailed inventory of > > >> > bug fixes/features/etc... as part of an automated delivery system > > >> > (these are part of the build notes)... > -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] Re: My editor ...

2010-08-20 Thread Alexandre Andrade
editor I'm > using, you can see it here: > >> > >> http://mientki.ruhosting.nl/movies/web2py_1.html > >> > >> If there's enough interest, I'll make the application available under > BSD license. > >> At this moment, only under windows all features are available. > >> > >> cheers, > >> Stef > > -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] My editor ...

2010-08-19 Thread Alexandre Andrade
g, > you can see it here: > > http://mientki.ruhosting.nl/movies/web2py_1.html > > If there's enough interest, I'll make the application available under BSD > license. > At this moment, only under windows all features are available. > > cheers, > Stef >

Re: [web2py] Bug in URL(..,..,vars={})

2010-08-19 Thread Alexandre Andrade
d_path=target", > > it insert &instead of & > > that screwed up all my sites :D .. > > have not tested with released version .. > -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] global name 'psycopg2' is not defined

2010-08-13 Thread Alexandre Andrade
bz.so.1 => /lib/libz.so.1 (0xb729e000) > /lib/ld-linux.so.2 (0xb7869000) > > Is that what it should be? I've tried extensive Google searches but am > stumped at this point. importing psycopg2 from the python interpreter > works. > > Thanks for any suggestions, > Dave -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

[web2py] Job: Paypal Mass Payment API to web2py

2010-08-09 Thread Alexandre Andrade
I need someone to implement Paypal MassPayment API (SOAP or NVP) into a web2py app. Please respond to alexandrema...@gmail.com -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

[web2py] Help with Paypal Mass Payment, API

2010-08-08 Thread Alexandre Andrade
Someone has experience with Paypal Mass Payment API? I want a working implementation to web2py and want pay to develop it. -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] Sessions

2010-08-07 Thread Alexandre Andrade
he values anywhere, even > inside the cookie. Then you have to check if the cookie exists Am I > wrong? > > > > 2010/8/6 Alexandre Andrade > > You just have to set a time limit to your session/cookie, like a week, >> month or year. >> >> I'm sur

Re: [web2py] Sessions

2010-08-06 Thread Alexandre Andrade
ser does not close. > > Is there anyway to prevent this? Also, how long do sessions last, and > how can I change that? -- Atenciosamente -- ===== Alexandre Andrade Hipercenter.com

Re: [web2py] Re: Example of sending email from database text

2010-08-06 Thread Alexandre Andrade
thanks. 2010/8/6 mdipierro > Look into the render function in the gluon/template.py it can take a > filename or a file stream or template text. > > On Aug 6, 1:33 pm, Alexandre Andrade wrote: > > In the book is a example of sending email using template system. > > &

[web2py] Example of sending email from database text

2010-08-06 Thread Alexandre Andrade
In the book is a example of sending email using template system. Someone has a example of using it from a database field, instead of a file on the system (views) ? -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] Re: Rename a Table

2010-07-14 Thread Alexandre Andrade
well, rename them too 2010/7/14 mdipierro > but references from other tables may be broken. > > On 14 Lug, 16:41, Alexandre Andrade wrote: > > it's not a ideal way, but you can backup your data to a csv file, rename > the > > table, and import the c

Re: [web2py] Rename a Table

2010-07-14 Thread Alexandre Andrade
because of the ID if I > use DAL. > Use SQL so? And .table file? > -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] dynamic database schema based on wsdl

2010-07-02 Thread Alexandre Andrade
document consumed with the SOAPpy library ? > > Stefan -- Atenciosamente -- ===== Alexandre Andrade Hipercenter.com

Re: [web2py] Re: parsehtml

2010-06-07 Thread Alexandre Andrade
wrote: > > This project:http://github.com/gabrielfalcao/dominic#readme > > was created by a Brazilian. > > Maybe it can helps with web2py HTMLParser. > > > > -- > > Álvaro Justen - Turicas > > http://blog.justen.eng.br/ > > 21 9898-0141 > -

Re: [web2py] Re: parsehtml

2010-06-07 Thread Alexandre Andrade
gt; This project:http://github.com/gabrielfalcao/dominic#readme > > was created by a Brazilian. > > Maybe it can helps with web2py HTMLParser. > > > > -- > > Álvaro Justen - Turicas > > http://blog.justen.eng.br/ > > 21 9898-0141 > -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] where is : scripts/web2py-wsgi.conf

2010-05-27 Thread Alexandre Andrade
the preceding answer is yes? > > Thanks > > Jonhy > -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] Planet web2py

2010-05-26 Thread Alexandre Andrade
tp://www.web2py.com.ar > http://www.sistemasagiles.com.ar > http://reingart.blogspot.com > -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] Re: Changes in Development environment

2010-05-26 Thread Alexandre Andrade
) are diferent between local an production environments, and haven't to be overwritten. -- Atenciosamente -- = Alexandre Andrade Hipercenter.com 2010/5/26 mdipierro > How about a flag when replacing an app via admin that preserves the > content of databases/

Re: [web2py] Script to generate schema (models) from mysql

2010-05-22 Thread Alexandre Andrade
Andrade Hipercenter.com 2010/5/21 Nicol van der Merwe > Nice! This is super excellent. > > Just a simple question : will this work on SQL Server? > > > On Fri, May 21, 2010 at 1:37 AM, Alexandre Andrade < > alexandrema...@gmail.com> wrote: > >> Some time ago I

Re: [web2py] Re: bug2py

2010-05-21 Thread Alexandre Andrade
Let me know if you advance in something. This project interest me. Alexandre Andrade 2010/5/21 Abhishek Mishra > Hi Massimo, > > I was thinking of porting BugBase (a base bug tracker written in php > as a college project) to web2py to learn and speed up with it. The > original P

Re: [web2py] Script to generate schema (models) from mysql

2010-05-21 Thread Alexandre Andrade
is like a logical model, to be adapted. 2010/5/21 Jean Guy > Hi, > > Could it be port to all database this way : > http://blog.gmane.org/gmane.comp.python.sqlobject/month=20100101 > > SQLObject > > ?? > > Jonhy > > > > 2010/5/20 Alexandre Andrad

Re: [web2py] Script to generate schema (models) from mysql

2010-05-21 Thread Alexandre Andrade
I will need to be adapted. look my answer to Jonhy email. 2010/5/21 Nicol van der Merwe > Nice! This is super excellent. > > Just a simple question : will this work on SQL Server? > > > On Fri, May 21, 2010 at 1:37 AM, Alexandre Andrade < > alexandrema...@gmail.com>

Re: [web2py] Script to generate schema (models) from mysql

2010-05-21 Thread Alexandre Andrade
be adapt for postgresql, I will change it and return the running > code for postgresql. > > Thanks. > > Jonhy > > 2010/5/20 Alexandre Andrade > > Some time ago I talk about to do it. >> >> Finally I have to do it. >> >> It can be improved to a for

[web2py] Script to generate schema (models) from mysql

2010-05-20 Thread Alexandre Andrade
# -*- coding: utf-8 -*- #script to generate schemas from dbs #by Alexandre Andrade alexandrema...@gmail.com #www.hipercenter.com #config it here passwd="mypass" user="myuser" host="localhost" db = 'mydb' port='3306' def query(bd,sql):

Re: [web2py] MySQL failure to connect

2010-05-19 Thread Alexandre Andrade
oth from the shell and using > a third party MySQL app (Sequel Pro). There are no existing tables in > the 'test' database to begin with. Any ideas why the connection may be > failing? > > Avik > -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] Sending html emails [bug?]

2010-05-18 Thread Alexandre Andrade
message=(message_text, > message_html)) > > Any clues? > -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

[web2py] Who use a VCS - Give examples

2010-05-17 Thread Alexandre Andrade
changes between the development and production? and someone uses a VCS and how? -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] large sites/application.

2010-05-13 Thread Alexandre Andrade
/*.html and so on. -- Atenciosamente -- = Alexandre Andrade Hipercenter.com 2010/5/13 thedangler > I'm confused when to make apps. I'll be making a pretty decent size > website and it has over 30 tables. The site will have different > functionaliti

Re: [web2py] Adding a new domain

2010-05-11 Thread Alexandre Andrade
Please, don't read/use my previous email..., it is for another situation: using php and web2py at same server. Alexandre Andrade. 2010/5/11 Alexandre Andrade > I put a example vhost file at > http://alexandremas.blogspot.com/2010/02/como-configurar-web2py-e-php-no-mesmo.ht

Re: [web2py] Adding a new domain

2010-05-11 Thread Alexandre Andrade
I put a example vhost file at http://alexandremas.blogspot.com/2010/02/como-configurar-web2py-e-php-no-mesmo.html (the original language is portuguese, but you can use the example) Alexandre Andrade 2010/5/11 Andrew Evans > Hello I am using web2py on my server and would like to set u

Re: [web2py] Why am I getting this error ?

2010-04-12 Thread Alexandre Andrade
gt; >return id > > > I've written to a debug file during each part of the function. The > return line is being executed and somewhere something is going wrong. > If anyone could help out that would be great. > > > -- > To unsubscribe, reply using "remove me" as the subject. > -- Atenciosamente -- = Alexandre Andrade Hipercenter.com

Re: [web2py] Re: Using the Template System to Generate Emails

2010-03-19 Thread Alexandre Andrade
> and the templates referred to. I had hoped the view would display > > without trouble, but it doesn't. In all mail clients and web based > > apps, it displays as plain text, so the html is not rendered. I have > > been trying to find out why for two days now, and

[web2py] Plugin useradmin (membership manager)

2010-02-25 Thread Alexandre Andrade
I corrected some functions in the plugin posted before (is no more ajax, but works). to make it work, unzip in your app folder. -- Atenciosamente -- = Alexandre Andrade Hipercenter.com -- You received this message because you are subscribed to the Google Groups

Re: [web2py] auth.settings.registration_requires_approval

2010-02-25 Thread Alexandre Andrade
quot; group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- Atenciosamente -- =

Re: [web2py] Re: Plugin system status

2010-02-25 Thread Alexandre Andrade
>> > > > > > > On Feb 23, 10:18 pm, "mr.freeze" < > nat...@freezable.com> wrote: > > > > >> > >> > > > > > > > What about the second question? Is 'db' a required > naming convention > > >&

Re: [web2py] Re: [web2py:38005] Re: auth.settings.controller

2010-02-24 Thread Alexandre Andrade
Take a look at gluon/tools.py and see all of the settings you can change. > > -Thadeus > > > > > > On Tue, Feb 23, 2010 at 7:50 PM, Alexandre Andrade > wrote: > > I'm using Version 1.75.4 and not solved (always go to default/user) > > > > T

[web2py] Re: [web2py:38005] Re: auth.settings.controller

2010-02-23 Thread Alexandre Andrade
t; > > -Thadeus > > -- > > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr..

Re: [web2py] Re: apache prefork

2010-02-18 Thread Alexandre Andrade
from description of apache2-mpm-worker package: The worker MPM provides the default threaded implementation. It is recommended especially for high-traffic sites because it is faster and has a smaller memory footprint than the traditional prefork MPM. 2010/2/18 Alexandre Andrade > really, y

  1   2   3   >