few more errors:
ImportError: cannot import name redirect
ImportError: No module named validators
This is weird. Is it just me?
On Mon, Sep 12, 2011 at 1:15 PM, Marin Pranjić marin.pran...@gmail.comwrote:
Traceback (most recent call last):
File web2py.py, line 16, in module
import
Hi Massimo,
you can ignore this. I unintentionally ran python3 instead python2.
My mistake, sorry about that.
Marin
On Mon, Sep 12, 2011 at 2:28 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
can you try again please? What os?
On Sep 12, 6:15 am, Marin Pranjić
evaluates to
false.
On Aug 17, 3:48 pm, Marin Pranjic marin.pran...@gmail.com wrote:
Repeating the question :)
On Tue, Aug 16, 2011 at 10:21 AM, Marin marin.pran...@gmail.com wrote:
Also, I noticed that accessible_query raises an exception if user is
not logged in.
It's
On Wed, Aug 17, 2011 at 11:54 AM, Marin Pranjić marin.pran...@gmail.comwrote:
I tried to create an issue on code.google.com/p/web2py but it crashed
and are currently not working. I'm not sure if issue is created or
not.
Here is c/p:
What steps will reproduce the problem?
1. import
Hi Massimo,
It works now :-)
Regards,
Marin
On Wed, Aug 17, 2011 at 8:50 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
The reason for the change was to avoid records populated with the zero
option ('').
I think I fixed the problem, please check it.
On Aug 17, 1:44 pm, Marin
Repeating the question :)
On Tue, Aug 16, 2011 at 10:21 AM, Marin marin.pran...@gmail.com wrote:
Also, I noticed that accessible_query raises an exception if user is
not logged in.
It's because of a line 2805 (trunk) in gluon/tools.py:
user_id = self.user.id
What is expected behavior if
It should not be an issue with mixing environments.
Can you provide more information?
Marin
On Mon, Aug 15, 2011 at 6:27 PM, Carlos carlosgali...@gmail.com wrote:
Hi,
I'm having some weird errors about web2py/python not finding classes /
objects in my models when multiple simultaneous
They will not if you set writable = false.
Marin
On 11 Aug 2011 17:16, vapirix vapi...@gmail.com wrote:
The only problem with that is that then the clients will be able to
edit that in their profile. =D
It's ok, I'll just roll my own registration page, it's not much work.
On Aug 10, 11:06
On Aug 11, 10:41 am, Marin Pranjic marin.pran...@gmail.com wrote:
They will not if you set writ...
On 11 Aug 2011 17:16, vapirix vapi...@gmail.com wrote:
The only problem with that is that ...
No, but it would not help me.
I want to implement dynamic queries, actually support adding some
WHERE and SELECT parts in query (extending original queries).
And iteration through Rows object should work without knowing did
query had JOINs or not.
Problem is when original query does not have
Thanks
Marin
On 9 Aug 2011 20:18, Massimo Di Pierro massimo.dipie...@gmail.com wrote:
Now I understand:
rows = db(...).select(...)
rows.compact = False
and now you always have the rows[i].table.field syntax. no more
rows[i].field shortcuts.
Massimo
On Aug 9, 1:06 pm, Marin Pranjic
It looks good.
How to add a task which will repeat infinite times?
What are Start time and Stop time used for? Just to clarify...
On Mon, Aug 8, 2011 at 4:28 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
Please let me know what you think.
Massimo
https://bitbucket.org/PhreeStyle/web2py_ckeditor
2011/8/7 António Ramos ramstei...@gmail.com:
Where can i download this pluging from?
It is not in the plugin area of web2py
Thank you
António
2011/8/6 tomt tom_tren...@yahoo.com
Hi,
I was having trouble editing existing data with
Hi,
you can do:
array = [1,3,6]
db(db.tablename.fieldname.belongs(array)).select(db.tablename.ALL)
On Sun, Aug 7, 2011 at 3:05 PM, guruyaya guruy...@gmail.com wrote:
Hi guys.
Is there a way to use a SELECT... IN... syntax in dal? Something like
SELECT * FROM auth_user WHERE id IN (1,3,6)
If
On Thu, Aug 4, 2011 at 10:21 PM, Anthony abasta...@gmail.com wrote:
On Thursday, August 4, 2011 4:25:49 AM UTC-4, Ramos wrote:
That is the way of an enterprise framework.
Note, web2py is no longer an enterprise framework
(http://www.web2py.com/). ;-)
Anthony
Source:
titleweb2py
Congratulations Timothy!
rows = db(db.blog.title.contains('search_entry').select()
where 'search_entry' is string that you want to seach for.
On Sat, Jul 30, 2011 at 7:14 PM, Web2Py Freak
halna...@gardeniatelco.com wrote:
hey guys ,
is there anyway to do a search but other that the crud.search or a
way to control
On database level, NULL can be anything. DBMS defines it as an unknown
value. If you query non-True records, you'll be given only those
records that have defined not-True value (since it's boolean it has to
be False). NULL means I'm not sure if this is True or False, value is
missing.
If you want
still not working 4me.
works now :D
On Tue, Jul 26, 2011 at 9:22 PM, Marin Pranjic marin.pran...@gmail.com wrote:
still not working 4me.
On Wed, Jul 13, 2011 at 7:45 AM, nic nicbythe...@gmail.com wrote:
A Wiki / Blog / CMS / Forum
An Online Store
A Personal Accounting System
A Media Center
etc ...
This is great idea, I had it few months ago, but never wrote it here.
Next week I'll start programming a Forum software (with
you can customize select / option tags layout with CSS
On Wed, Jun 15, 2011 at 5:16 PM, wdtatenh wdt...@comcast.net wrote:
I could really use an answer to this question.
Using SQLFORM is there a simple notation to set the width of a
select with IS_IN_SET defined in the model.
Inserting
I think that template app should be minimal.
On Mon, Jun 13, 2011 at 2:33 PM, Martín Mulone mulone.mar...@gmail.comwrote:
I prefer the way to select the application you want to install, only
welcome in main web2py and the others over a repository.
New: You want to install?
- welcome
You can leave it empty and use onvalidation function:
http://web2py.com/book/default/chapter/07#onvalidation
On Sun, Jun 12, 2011 at 9:54 AM, Neveen Adel nevo.a...@gmail.com wrote:
Hello,
I have a field in database that can accepts float numbers or time.
so i need to have OR-ing between
Yes, it is.
It should be something like
db(db.shirts.color.belongs(['red', 'white', 'blue']).select()
On Tue, Jun 7, 2011 at 2:18 AM, DJ sebastianjaya...@gmail.com wrote:
Is this query possible in web2py?
SELECT * FROM `shirts` WHERE `color` IN ('red','white','blue')
-Sebastian
We will be angry at bus driver :)
On Thu, May 26, 2011 at 4:48 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
LOL...
What if the CEO of a company gets hit by a bus? They get another CEO!
I can assure there are many web2py experts on this list
Not sure if i understood, but
if you have multiple forms, you can use SQLFORM with form.accepts(formname =
'form_'+str(i), ...)
each form has it's own formname, so form.accepts will know which one is
submitted.
Is that your problem?
On Sun, May 22, 2011 at 10:02 AM, 黄祥
You can use
T.force('en')
T.force('it')
T.force('es')
based on request.vars or arguments
ex:
http://myapp/?lang?es
T.force(request.vars.lang)
not sure how to do it with routes
On Sun, May 8, 2011 at 11:47 PM, Miguel Morillo Iruela
asellus2...@gmail.com wrote:
Hello,
I wonder if it is
Something like db(db.tablename.id0).count() ?
On Tue, Apr 12, 2011 at 5:22 PM, mart msenecal...@gmail.com wrote:
Hi,
is there a shortcut to check if a table is empty? (not look to see
what the content is, just if it has any at all)
Thanks,
Mart :)
I can join if you need idlers :P
On Mon, Apr 4, 2011 at 12:46 PM, Mengu whalb...@gmail.com wrote:
also people are not couraged to join the irc room. that's one of the
reasons.
On Apr 4, 12:26 pm, selecta gr...@delarue-berlin.de wrote:
ah i was just about to complain that the main page
On Fri, Mar 25, 2011 at 10:09 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
Ideally this color scheme
http://127.0.0.1:8000/examples/static/img/logo_db.png
this: http://web2py.com/examples/static/img/logo_db.png :)
On Tue, Mar 22, 2011 at 2:09 PM, villas villa...@gmail.com wrote:
You are really saying that is provocative?! Please explain and suggest
a less provocative title. Perhaps something like 'Programming video -
please don't get upset or anything' might be better.
LOL
Which version of web2py are you using?
On Mon, Mar 21, 2011 at 3:56 PM, rif feric...@gmail.com wrote:
Hi guys,
Is the default lost password working for you?
In my deploy I always get an Invalid email validation warning.
It will create *.table files in your apps /database/ folder, but will not
try to create those tables in database.
In other words, it will fake creation of tables in db.
I think :) Someone should confirm
On Sun, Mar 20, 2011 at 3:40 PM, VP vtp2...@gmail.com wrote:
What does this do exactly?
works for me :)
On Sat, Mar 19, 2011 at 5:07 AM, Anthony abasta...@gmail.com wrote:
+1 :D
On Sun, Mar 6, 2011 at 11:48 PM, villas villa...@gmail.com wrote:
speaks better than me.
LOL, no way -- we missed the accent! :)
http://web2py.com/book/default/chapter/08#Customizing-Auth
On Tue, Mar 1, 2011 at 10:16 AM, Werner Gillmer werner.gill...@gmail.comwrote:
Hi
Very new to web2py, how would I go about extending the registration
page? I want to capture phone numbers etc. during registration as
well.
Thanks
If you used script to install, then your web2py folder is /var/web2py and
user is www-data
run this as root:
chown -R www-data:www-data /var/web2py
then permissions will be set
On Sun, Feb 20, 2011 at 9:45 AM, LightOfMooN vladsale...@yandex.ru wrote:
I increased memory to 512mb from 256, so
p.s. i have the same problem, permissions are set, apps cannot be created
im using latest stable version
On Sun, Feb 20, 2011 at 12:22 PM, Marin Pranjic marin.pran...@gmail.comwrote:
If you used script to install, then your web2py folder is /var/web2py and
user is www-data
run this as root
I use this for helper functions.
On Fri, Feb 18, 2011 at 11:03 PM, VP vtp2...@gmail.com wrote:
This is an interesting idea. I am wondering if by doing this, we
can:
+ treat controllers as regular Python functions, which have
parameters.
+ implement some type of automatic type checking on
It's because of pythons limitations in overloading operators.
You can change behavior of , |, ~ in python, but cannot change and, or,
not.
On Thu, Feb 17, 2011 at 7:00 PM, Paul Gerrard p...@gerrardconsulting.comwrote:
On more than one occasion, I've been caught out by a slip in my select
Restarting web server does not restart web2py, i think.
Not sure if it should restart it or not, but... same here
On Thu, Feb 17, 2011 at 11:30 PM, Jonathan Lundell jlund...@pobox.comwrote:
On Feb 17, 2011, at 2:21 PM, pbreit wrote:
The stop server and start server buttons on the Tcl console
I wanted to update from admin app but it gives me neverending Checking for
upgrades...
Not sure what is the problem, so better to report it :)
Using 1.91.6 source code on windows, python2.7.1
I tried restarting web2py and update in 2 browsers but no success.
On Wed, Feb 16, 2011 at 3:52 PM,
MAYBE this?
{{include 'includes/header.html'}}
On Sun, Feb 13, 2011 at 9:25 PM, stargate kyoukh...@gmail.com wrote:
I am trying to include the following file but it gives me a error
{{include 'includes/header.html'}}
The file and folder exist but it doesn't work what I am doing wrong.
, Marin Pranjic marin.pran...@gmail.com wrote:
MAYBE this?
{{include 'includes/header.html'}}
On Sun, Feb 13, 2011 at 9:25 PM, stargate kyoukh...@gmail.com wrote:
I am trying to include the following file but it gives me a error
{{include 'includes/header.html'}}
The file
I set it as a wallpaper on my mobile, hope your daughter won't mind :)
On Sat, Feb 12, 2011 at 8:51 AM, Changju rooki...@gmail.com wrote:
How sweet:)
On 2월12일, 오전2시36분, Anthony abasta...@gmail.com wrote:
My 4-year-old daughter has been practicing her writing recently.
Yesterday,
she
sweet :)
On Fri, Feb 11, 2011 at 6:36 PM, Anthony abasta...@gmail.com wrote:
My 4-year-old daughter has been practicing her writing recently. Yesterday,
she handed this to me (she must have found the book on my desk and copied
the title). Apparently web2py makes her think of hearts and
Cannot. Still in beta.
On 11 Feb 2011 21:53, pbreit pbreitenb...@gmail.com wrote:
Where can qa-stack be downloaded?
Add this after define_table
for t in TAGS:
... db.tag.insert(name = t)
run once and then comment / delete the lines.
On Thu, Feb 10, 2011 at 10:57 PM, Sascha Peilicke sasc...@gmx.de wrote:
Hi guys,
I'd like to know how to best populate a table with a given set of default
values. I could
+1 for dropping support
If shared hosting providers want web2py users, they will enable python
=2.5.
There are many cheap VPS hosting services with root access.
There is also web2pyslices.com with some easy setup scripts.
If dropping support leads to code improvement and faster/easier
+ you can use ~ to reverse order.
http://web2py.com/book/default/chapter/06#orderby,-groupby,-limitby,-distinct
On Thu, Feb 3, 2011 at 2:21 PM, dederocks dediro...@gmail.com wrote:
Hi Johann,
Just use |:
orderby=db.table.name|db.table.surname
On 3 fév, 13:56, Johann Spies
not sure if something like that is implemented, but here's what you can do:
before validating form:
1. check if email is given in post vars (instead of username)
2. if it is, make select query to db to find out username related to given
email
3. change variable (if email is given in username
### this happens because FROM has no knowledge of writable
### and thinks that a missing boolean field is a None
if self.table[fieldname].type == 'boolean' and
self.vars[fieldname]==None:
del self.vars[fieldname]
these are in red
attachment
On Sat, Jan 29, 2011 at 6:51 AM, Anthony abasta...@gmail.com wrote:
Where is it?
It's not web2py related, but I hope someone can help me.
I'm sending data via ajax, which is urlencoded JSON object (I used
jquery-json).
Then, I use json.loads(variable) to load the object.
Everything works good for normal ASCII characters, but if I send non-
ascii chars, i get the following:
implementation that screws something up.
On 26 Gen, 20:51, Marin Pranjic marin.pran...@gmail.com wrote:
It's not web2py related, but I hope someone can help me.
I'm sending data via ajax, which is urlencoded JSON object (I used
jquery-json).
Then, I use json.loads(variable) to load
Problem solved!
Browser issue.
On Wed, Jan 26, 2011 at 10:26 PM, Marin Pranjic marin.pran...@gmail.comwrote:
I think urlencoding is the problem.
If I run
http://example.com/cont/func?var=šhttp://example.com/cont/func?var=%C5%A1
it encodes into
http://example.com/cont/func?var=%9A
No permission for graphic.
On Thu, Jan 13, 2011 at 1:54 PM, Luis Díaz diazluis2...@gmail.com wrote:
Results for 13/01/2011
Chrome
1648% Firefox
1339%Explorer
1 3%Safari
13%Otros
13%opera
13%-
total 33100%
graphic:
I think it's number of users in this group.
On Jan 11, 9:15 pm, Anthony abasta...@gmail.com wrote:
Very cool. For some reason, the attached graph doesn't show up in the new
Google Groups interface for me -- had to go to the old version.
Do you keep any stats on number of downloads or
Slice is ok and your problem is not web2py related.
Try restarting ssh demon (i googled, not sure if it'll work).
On Mon, Jan 10, 2011 at 7:13 PM, Offray Vladimir Luna Cárdenas
off...@riseup.net wrote:
Hi all,
I have being testing cherokee + uWSGI for serving web2py. Locally they
work
.
Thanks for the help Marin.
On 29 dic, 18:39, Marin Pranjic marin.pran...@gmail.com wrote:
You can ignore current first_name or last_name (or both) fields, and
add
other fields, as you like.
Add custom fields, and for current (first_name, last_name) set readable =
False and writable
application.
I hope I be clear :P
On 30 dic, 16:46, Marin Pranjic marin.pran...@gmail.com wrote:
It's all in the book :)
Not sure what do you want to set by trigger.
First solution is to leave first_name and last_name empty. Just don't use
them, don't set them... ignore.
Second is to update
Hi,
you can use *label* like described here:
http://www.mail-archive.com/web2py@googlegroups.com/msg28123.html
but you can still reference it only by its name ['first_name', 'last_name'].
On Wed, Dec 29, 2010 at 2:44 PM, Lisandro rostagnolisan...@gmail.comwrote:
Hi everyone.
I'm customizing
Hi,
I need to customize Auth:
1. use username instead of e-mail for login
2. remove first_name and last_name fields
3. make username case_insensitive
I decided to use first_name field to store the real username, and
username field to store lowercase username (for case-insensitive
login).
Used
, Marin Pranjic marin.pran...@gmail.com wrote:
Hi,
you can use *label* like described here:
http://www.mail-archive.com/web2py@googlegroups.com/msg28123.html
but you can still reference it only by its name ['first_name',
'last_name'].
On Wed, Dec 29, 2010 at 2:44 PM, Lisandro
Download and install as a Plugin.
On Sat, Dec 25, 2010 at 1:08 PM, Martin Weissenboeck mweis...@gmail.comwrote:
Hi,
I have downloaded a new layout from web2py.com/layout and I want to active
it.
There should be a link, but I cannot find it.
Any ideas?
Thx, Martin
?
2010/12/25 Marin Pranjic marin.pran...@gmail.com
Download and install as a Plugin.
On Sat, Dec 25, 2010 at 1:08 PM, Martin Weissenboeck
mweis...@gmail.comwrote:
Hi,
I have downloaded a new layout from web2py.com/layout and I want to
active it.
There should be a link, but I cannot
try this:
html
head
script
function remove()
{
var a = document.getElementById('id');
var b = (a.parentNode).removeChild(a);
}
function add(x,y){
alert(x+y);
return x+y;
}
/script
/head
body
span id=idtext/span
br /
input type=button
=# and that will have the same effect as return false.
but i prefer return false
On Fri, Dec 24, 2010 at 10:26 PM, Marin Pranjic marin.pran...@gmail.comwrote:
try this:
html
head
script
function remove()
{
var a = document.getElementById('id');
var b = (a.parentNode).removeChild
Key was the same in app1, app2 ,and app3, but not in shared (don't
know why).
I've set the same key in all apps and it seems to be working now.
Thanks!
On Thu, Dec 23, 2010 at 7:57 AM, mdipierro mdipie...@cs.depaul.edu wrote:
Yes if they are providing registration/login/change password. If
Hi there,
I need to make few apps that will share sessions.
For testing purposes, i have applications shared, app1 and app2.
In application shared, i have:
db = DAL('sqlite://storage.sqlite')
session.connect(request, response, db = db)
(...)
in applications app1 and app2 i have:
db =
still have the problem I will try reproduce the problem and fix
it.
Massimo
On Dec 22, 5:40 pm, Marin Pranjic marin.pran...@gmail.com wrote:
Hi there,
I need to make few apps that will share sessions.
For testing purposes, i have applications shared, app1 and app2.
In application
No prob.
I deleted all Recent history in browser, and tried again with the same
result.
Pretty sure it's not about cookies :)
On Thu, Dec 23, 2010 at 1:20 AM, mdipierro mdipie...@cs.depaul.edu wrote:
I cannot today but I will tomorrow. ;-)
On Dec 22, 6:18 pm, Marin Pranjic marin.pran
73 matches
Mail list logo