On Fri, 4 Nov 2011 12:36:18 +0630
Phyo Arkar
wrote:
> Due to the fact of web2py's Single step deployment , many
> not-so-technical users will want to adopt it . If theres a stable ,
> active CMS , developed using Web2py , it will change the future of
> both python and web2py in web development.
seems to happen all the time on google groups, nevermind!
On Nov 4, 5:39 am, BrendanC wrote:
> Ignore my previous qn - they just showed up again - so it's probably some
> sort of refresh issue with my broswer settings.
Hi Phylo,
On 04/11/2011 06:06, Phyo Arkar wrote:
We really need a CMS/Blog that the developer really cares ., It have a
lot of potential to become top CMS/Blog.
I agree, in principle, but we need to define our terms here. If by
CMS/Blog we're referring to something like Wordpress, then that
On Fri, 04 Nov 2011 09:47:22 +
Philip Kilner
wrote:
> I agree, in principle, but we need to define our terms here. If by
> CMS/Blog we're referring to something like Wordpress, then that is
> realistic. The first step would probably be to define some sort of
> spec., as "CMS/Blog" can mean
Think of it as any normal database application.
As far as Web2py doesn't create indexes, you must take care of it by yourself.
If your IS_IN_DB() validator refers to a field that isn't indexed,
your performance will suffer.
--
Vinicius Assef.
On Fri, Nov 4, 2011 at 1:33 AM, Pystar wrote:
>
it is true,
Can Instant Press developer define goals and roadmaps so that we know
what to work on and submit patches or allow some of us Developer
access?
Or should we fork it if hes busy to manage this project ?
Regards,
Phyo
On 11/4/11, Gour wrote:
> On Fri, 04 Nov 2011 09:47:22 +
> Phil
Lets Keep it simple , mature first instead of rushing it loaded with features.
Lets start with Main feature of WordPress , A blog , Layout/Theme
management , Posting news , Tagging , comments (Instant-press should
have to features)
Make those features works well stable and robust.
Add more feat
Does anyone have a simple example on how to receive a server response
sent back to a web2py URL ("status_url"), and store that response as a
text message (e.g so that data can be programmatically processed
later)?
The server response sent back is an HTTP post array and it is sent
from a payment pr
please check dateutils.
It works will almost all date-time formats, it intelligently convert
to datetime object .
labix.org/python-dateutil
On 11/3/11, Omi Chiba wrote:
> Vineet,
>
> Thanks for sharing.
> It works like a charm !
>
> On Nov 2, 10:27 am, Vineet wrote:
>> Recently, I wrote this f
Plone itself is a beast of its own, even tho web2py is a lot easier
than Zope and can create something that beats Plone , alot easier
than doing it with zope, we should not try to go that way.
On 11/4/11, Philip Kilner wrote:
> Hi Phylo,
>
> On 04/11/2011 06:06, Phyo Arkar wrote:
>> We really
Is there a way to force a certain column order in SQLFORM.grid when
the grid includes a foreign table?
If not, how do I submit a request for it?
In the following grid setup, the products.name column is last in the
grid. It would be more usable to put it first.
query = ((db.products.id==db.p
Thank you Anthony !!!
BC
On 4 nov, 01:52, Anthony wrote:
> On Thursday, November 3, 2011 8:31:10 PM UTC-4, Bianca Cadaveri wrote:
>
> > Thank you very much to both of you.
>
> > Is this way to write formats specific to Web2py : '%(first_name) %
> > (last_name) (%(id))' ?
>
> > I have never met b
Hi,
On 04/11/2011 12:39, Phyo Arkar wrote:
Plone itself is a beast of its own, even tho web2py is a lot easier
than Zope and can create something that beats Plone , alot easier
than doing it with zope, we should not try to go that way.
There are things that Zope & Plone do with acquisition,
Massimo
I am playing around with this more this morning and found some issues
with what I'd been working on. Will continue to refine and let you know
when I have something working better.
-Jim
On 11/3/2011 8:00 PM, Massimo Di Pierro wrote:
Please make sure you apply your change to the
I am trying to retrieve a datetime.date type out of the request.vars,
but it comes out as str
Is this normal, or is there a way to parse from str back to datetime?
I think it's normal...
You can convert it back to datetime :
http://docs.python.org/library/datetime.html#strftime-and-strptime-behavior
Richard
On Fri, Nov 4, 2011 at 11:19 AM, petrasadi wrote:
> I am trying to retrieve a datetime.date type out of the request.vars,
> but it comes out as str
>
Hi, i need to put this code in new form from the add button of smartgrid:
$(document).ready(function() {
$('#beneficiarios_cedula_personal__row').hide();
});
I can edit the edit and delete links, but i need a custom new link. How i
can do this?
Thanks.
This got solved by using the fact that Field.default could be
manipulated *after* the Field has been created (following the above
line of examples):
def build_form(readonly=False):
#create fields or get from
db
field1=Field('test')
field2=db.my_table.best
#set
defaults
field1.d
Hello,
i need something to group fields based on a rule
for example i have 30 database fields
the first 10 should be editable in condition 1. the remaining 20 fields
should be blocked
the next 10 in the condition 2 also the remaining 20 should be blocked
and the last 10 in condition 3
What is t
db.table.field.writable and .readable = False
You will have to implement not null into the controller...
Just need to
if your condition:
# SET your different fields to whatever you need
db.table.field.writable and .readable = False
form = SQLFORM(db.table)
You will have to manage also the
what is the field.update for?
Thank you
2011/11/4 Richard Vézina
> db.table.field.writable and .readable = False
>
> You will have to implement not null into the controller...
>
> Just need to
>
> if your condition:
> # SET your different fields to whatever you need
> db.table.field.writabl
perhaps we should make a list of desired features.
On Nov 4, 9:10 am, Philip Kilner wrote:
> Hi,
>
> On 04/11/2011 12:39, Phyo Arkar wrote:
>
> > Plone itself is a beast of its own, even tho web2py is a lot easier
> > than Zope and can create something that beats Plone , alot easier
> > than doi
db.table.c.update = lambda row: row.a+row.b
is a function that compute the value of field c if you have field a
and field b.
On Nov 4, 12:04 pm, António Ramos wrote:
> what is the field.update for?
>
> Thank you
>
> 2011/11/4 Richard Vézina
>
>
>
>
>
>
>
> > db.table.field.writable and .readabl
SQLFORM.smartgrid(, links=dict(tablename=[lambda row:
A('hi',_class='button')])
links is a dict(tablename=[...]) the list (for each table) contains
functions that take a row and make the button.
On Nov 4, 11:15 am, Roberto Perdomo wrote:
> Hi, i need to put this code in new form from the add
I wish to make a Drupal alternative based on web2py
Jquery 1.7
http://blog.jquery.com/2011/11/03/jquery-1-7-released/
Twitter Bootstarp 1.4
https://github.com/twitter/bootstrap/wiki/Changelog
Hi Russell,
Have you defined nyroModalRemove somewhere? I'm getting
"parent.$.nyroModalRemove is not a function" when using your suggested
three lines.
Kenneth
return_script = ['parent.$.nyroModalRemove();']
return_script.append('parent.window.location.reload();')
On Fri, 4 Nov 2011 10:38:06 -0700 (PDT)
Massimo Di Pierro
wrote:
> perhaps we should make a list of desired features.
I believe that WordPress is quite etablished as Blog engine and CMS
platform, so making Instant Press as "Python's WordPress" would be
cool, iow, stable blog/CMS + support for ea
Hi
Testing some stuff with SQLFORM.smartgrid. When using the query/search
on a related table, the query doesn't present any fields in the dropdown
list and no matter what I put in the search field, it returns 'Invalid
query'.
Is anyone else seeing this problem as well?
-Jim
--
Jim Ste
I'm trying to figure out how to accept an image upload from a form that was
not generated by Web2py.
So for example:
http://pb-dev.pricetack.com:8001/mobilepost>
How do I process the image?
more or less as long as this one:
"bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla"
if it looks good but not chee
Wouldn't request.vars.image.file be the file object and
request.vars.file.filename the name?
On Friday, November 4, 2011 7:02:30 PM UTC-4, pbreit wrote:
>
> I'm trying to figure out how to accept an image upload from a form that
> was not generated by Web2py.
>
> So for example:
>
> http://pb-de
The error says "image" does not have an attribute "file":
image = db.item.image.store(request.vars.image.file,
request.vars.image.filename)
AttributeError: 'str' object has no attribute 'file'
Am I doing it right? Do I need to use FORM() or SQLFORM.factory()?
This seems to work:
http://pb-dev.pricetack.com:8001/mobilepost/index3";
enctype="multipart/form-data" method="post">
def index3():
form = SQLFORM.factory(
Field('title'),
Field('price'),
Field('image', 'upload',
uploadfolder=request.folder+'static/uploads'))
The problem was that you need this to upload images
< form enctype="multipart/form-data" method="post">
On Nov 4, 7:28 pm, pbreit wrote:
> This seems to work:
>
> http://pb-dev.pricetack.com:8001/mobilepost/index3";
> enctype="multipart/form-data" method="post">
>
>
>
>
>
>
>
> def in
Can you post your code? I cannot reproduce your problem. Which web2py
version?
On Nov 4, 4:26 pm, Jim Steil wrote:
> Hi
>
> Testing some stuff with SQLFORM.smartgrid. When using the query/search
> on a related table, the query doesn't present any fields in the dropdown
> list and no matter what
This is not a web2py error. You are declaring
Field('user', gae.UserProperty()),
what are you putting into this field? You seem to be re-implementing a
lot of the auth logic yourself.
On Nov 3, 10:07 pm, Richard Baron Penman wrote:
> from trunk, now a different error:
>
> Traceback (most rece
Yes the app uses a customized auth.
That user field stores google accounts:
from google.appengine.api import users
google_user = users.get_current_user()
The error is raised from GAE but doesn't happen when I use the same
version of GAE with an older version of web2py.
Do you know what might have
hello one and all,
hopefully this is simple. i read a few of the previous posts
concerning login_next and i believe my weirdness is much more simple.
i did a lot of work with downloading. and now when a user logs in, it
immediately comes up with a "Open File..." dialog box where you can
chose t
On Fri, 4 Nov 2011 16:08:33 -0700 (PDT)
Massimo Di Pierro
wrote:
> more or less as long as this one:
>
> "bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
> bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
> bla bla bla bla bla bla bla bla bla bla bla bla bl
40 matches
Mail list logo