le to type /create and it redirects to
/init/default/create. But it is still possible to type
/init/default/create and the function executes. It is not
errored out. I want to block /init/default/create. So how do
I block the default URLs? Are you saying I define a URL rewrite
mapping /init/default/
I don't know what the issue was. But it went away when I rebooted.
On Apr 3, 7:37 pm, mdipierro wrote:
> Did you edit the app.yaml file? It does not see to be uploading the
> VERSION file.
>
> On Apr 3, 8:24 am, Joseph Jude wrote:
>
> > Hi all,
> > I'm not
any other js that I need to include?
2) in login, the password is sent in plain text. how to rectify
3) should the users so registered be inserted into any groups (as part
of auth framework)? If so, do I do this in the register controller
function?
Thank you,
Joseph
--~--~-~--~~
got the web2py
book & slides too.
Thx,
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, se
I thought of sharing this article:
http://blogs.forrester.com/appdev/2009/10/my-dream-stack-for-developing-web-applications.html
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" grou
Basically what I have is the description and I want to get the
corresponding id stored in the database.
Thank you in advance,
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users"
it does. I did the below & it worked in gae
def index():
sm="HELO"
print sm.lower()
return
It should be something else. Also is there any other way achieve this:
having a description (the user can input in upper or lower) finding
out the id?
Thx,
Joseph
On Oct 9, 10:33
) are exposed. is it possible to hide functions in the
controller file or should I take such functions to another file?
Thank you,
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" gr
ield in db
model, the error is back. It is not only with null value; even when I
try to insert a value, I get the same error.
Any help?
Thank you,
Joseph
On Feb 23, 3:34 pm, Cephire wrote:
> All,
> I'm trying out with web2py. It worked okay in the local web2py server;
> however when
8 21:49:34)
on GAE: release: "1.1.9" / timestamp: 1232676672 / api_versions: ['1']
on kubuntu
thanks,
Joseph
On Feb 23, 9:05 pm, mdipierro wrote:
> Can you tell me how to reproduce it?
>
> On Feb 23, 9:50 am, Robin B wrote:
>
> > It looks like a problem conve
web2py admin is not supported in GAE. However you can access GAE's
admin from _ah/admin
On Feb 26, 6:04 am, Jarod Liu wrote:
> I followed the linkhttp://mdp.cti.depaul.edu/AlterEgo/default/show/186
> to deploy web2py on local GAE, but failed.
>
> my platforms:
> 32bit linux
> gae_sdk 1.1.9
> we
can that be
done?
3) At logout, control goes back to login page. Can it be routed to
index.html?
I've other questions too. I will throw them as I progress along.
Hopefully I'll be able to contribute to the growth of web2py, even in
a smaller way.
Thanks
If I buy the book now, will there be any discounts for the 2nd
edition; or it is better to wait for the 2nd edition.
Thx,
Joseph
On Mar 15, 9:12 am, Jeffield wrote:
> I just posted a amazon review with the correct page count.> but I am shooting
> for a second edition by summer.
&g
I hope I can say the below with the hope of raising some healthy
discussions rather than hurting anyone (which is not my intention)
1) web2py should be hosted on its own (like web2py.org / web2py.com or
something like that). Current URL gives a 'first impression' that it
is a college project
2) op
ng days.
Rgds,
Joseph
On Mar 17, 9:14 am, Jason Brower wrote:
> I agree... THAT is what we need. Cool apps and a clean plugin
> framework. (And a better homepage. :P)
> Regards,
> Jason
>
> On Mon, 2009-03-16 at 11:55 -0700, Jeffield wrote:
> > just my 0.2
> &
also shared in
google code. You can pick it up.
Hope this helps.
Joseph
On Mar 20, 7:09 am, NguyendHEX wrote:
> You can use user class from google
>
> from google.appengine.api import users
> user = users.get_current_user()
> if user:
> #user.email()
>
But what about long term maintenance and also to call the application
truly MVC? What are your thoughts basis of your experience.
Thank you for sharing your thoughts on this,
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Yarko,
Thank you for the detailed explanation. :-)
Joseph
On Mar 24, 12:22 pm, Yarko Tymciurak wrote:
> Let's look at what is meant by the term "business logic" ---> this is what
> implementspart of a solution for a problem statement. If we were talking
> 4-tier
Is there any guide/documentation on how to create stand-alone
applications of web2py (on windows/mac)?
Thanks,
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To po
Massimo,
I understood the license part. I believe using web2py, I could
create .exe & .apps. Is there any documentation on how to go about -
like steps to use setup.py?
Thx,
Joseph
On Mar 24, 7:38 pm, mdipierro wrote:
> You can get the current binary versions, create your app and r
Thx Massimo. My confusion was because I saw setup_exe.py &
setup_app.py. I assumed that using these two files, I'll be able to
create executables.
Joseph
On Mar 24, 11:50 pm, mdipierro wrote:
> I am not sure I understand what you want to do.
>
> If you name your app in
gle
appengine, I get Closed. I am not able to figure this out. Can anyone
help me?
I want to display the first value.
Thanks,
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework"
All,
I have used routes.py for URL mapping and it is working as expected.
However I can type the default URLs (/init/default/index, /init/
default/*) on the browser and it still accepts it. How can these
default URLs be blocked?
Thank you,
Joseph
_version = open(os.path.join(web2py_path, 'VERSION'),
'r').read()
Don't know how to resolve this. Any idea?
Thank you,
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework
Hi All,
What is needed to have userid rather than email in the user
registration page of Auth?
Thank you,
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to
Hi,
What are the testing tools available within web2py? I know doctests
can be used. Is there a client test tool too (something like what
Django has)?
Thank you,
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I was one of the guys who lamented lack of blogs on web2py. So here
I've written a blog post:
http://www.jjude.com/2009/04/07/why-i-chose-web2py-for-developing-yatsy/.
Feel free to comment/digg/stumble/twit.
Joseph
On Mar 22, 11:04 pm, Kent Borg wrote:
> Datapoint: I have been stud
that this is okay, I've figured out how to do all the
steps except reading http headers (step 1 at server). Can someone
throw some light?
Thank you,
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
= urllib.urlencode(data)
response = urllib2.urlopen(request,data).read()
There is no input parameter (fields). When I examine the
request.vars.fields, it shows like the below:
There are \r\n at the begining and % at the end. Is there a reason for
this? How can I test my function using
ding
parameters.
data = {'fields': {'case_id': 16, 'assign_to': 'age...@example.com'}}
data = urllib.urlencode(data)
response = urllib2.urlopen(request,data).read()
Hope you can help me out. Thanks,
Joseph
On Apr 19, 8:10 pm, mdipierro wrote:
> The "
Json indeed :)
On 16 Apr 2012, at 15:44, Jonathan Lundell wrote:
> On Apr 16, 2012, at 6:24 AM, Massimo Di Pierro wrote:
>> Because IE browsers, when they receive a error page (HTTP x!=200) and the
>> content is less than a certain size, they choose to ignore the content and
>> display an uninf
Happy to help.
Indeed content should also, for now I json.dumps things..
Just a question, where is the tracker ? This one seems ... not functional ?
http://code.google.com/p/web2py-issuetracker/updates/list
Br.
On 16 Apr 2012, at 16:19, Jonathan Lundell wrote:
> On Apr 16, 2012, at 7:02 AM, Ma
Actually, I was looking at custom validator but didn't think about request.vars.
Excellent suggestion, it works perfectly :)
For inI do not need server generated forms as I use extjs as client frontend.
Thanks again !!!
On 22 Apr 2012, at 18:42, Anthony wrote:
> There are no full row validators.
Could someone give me a link pointer ? :)
Thanks.
On 16 Apr 2012, at 16:19, Jonathan Lundell wrote:
> On Apr 16, 2012, at 7:02 AM, Massimo Di Pierro wrote:
>> Shame on me. Than it is a bug. Please open a ticket on google code. web2py
>> sets the content-type correctly in gluon/main.html but it
No problem, I'll send you a diff patch :)
Thanks !
On 19 May 2012, at 21:42, Massimo Di Pierro wrote:
> yes please. Following this mailing list is getting more and more difficult
> and number of posts increases.
>
> On Friday, 18 May 2012 17:26:22 UTC-5, howesc wrote:
> you could submit a pat
Massimo,
here is the patch.
Thanks !
On 19 May 2012, at 21:42, Massimo Di Pierro wrote:
> yes please. Following this mailing list is getting more and more difficult
> and number of posts increases.
>
> On Friday, 18 May 2012 17:26:22 UTC-5, howesc wrote:
> you could submit a patchit's
Thanks for the gift of great work...
On Tue, Jun 12, 2012 at 10:54 AM, Arvind Gupta
wrote:
> Thanks a lot..
>
>
> On Tue, Jun 12, 2012 at 11:23 PM, Jason (spot) Brower > wrote:
>
>> Thank you. It will be a great reference while I am not online.
>>
>>
>> On Tue, Jun 12, 2012 at 7:58 PM, Rich
Still broken ...
On Fri, Mar 1, 2013 at 3:10 PM, John Ho wrote:
> The link to the online engish book is broken (Invalid request).
>
>
>
> On Thursday, February 28, 2013 3:40:22 PM UTC-8, Massimo Di Pierro wrote:
>>
>> web2py.com is moving to pythonanywhere.com. There may be disruptions but
>> we
Let it be..
Be yourself...
Have fun...
On Fri, Mar 15, 2013 at 8:20 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Somebody suggested web2py.com should look more like http://nodejs.org/
> It would not be difficult to do. Should it be done?
>
> Massimo
>
> -
States:
"Using appadmin create a group "manager" and make some users members of the
group."
I can not figure out how to do this...
And no details are given in the book...
Please provide a specific example...
This is my first time working through the book...
Thanks for your help
Joe
--
Thanks for the quick and helpful reply...
It works for me now...
Have fun,
Joe
On Sat, Apr 6, 2013 at 8:46 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> In appadmin click on [db.auth_group:new record], type "manager" and press
> [submit]
> back to the main appadmin page click o
I am working with mysql, there's no way to do this without an alter table ?
(Which would be executed at each request moreover)
On Nov 16, 2012 5:25 PM, "Marin Pranjić" wrote:
> You can use integer for development. In production, you can alter the
> database with raw sql to change the field.
> DAL
BigInt -> twice the same space required, I'am not sure that's why they exists..
sql.log -> indeed, could do it this way, but, why is everything else possible
with the DAL (up to now)?
On 17 Nov 2012, at 14:09, Niphlod wrote:
>
> I know 2**31, I meant the value: 2147483648 :)
> And while the I
Finally I will go with something hand made but would be great to think on this
:)
Just a thing, in mysql unsigned exists, that's one of the column properties.
On 17 Nov 2012, at 15:57, Niphlod wrote:
> ps: checked a little and probably found out because web2py doesn't have a
> default type for
Or post multiple on-line tutorials that cover web2py.
Then create a communications plan to educate the target audience.
The information would be available, everyone with web access could share
the information.
On Mon, Dec 12, 2011 at 1:24 PM, Ovidio Marinho wrote:
> web2py does not have anyt
There should be an option in google groups to like a reply which brings a
bit of smile :-)
Module import work in standalong web2py but not in gae. Version: 1.99.2
(2011-09-26 06:55:33). Help appreciated.
Thanks,
Joseph
I upgraded to 1.99.4 and it works :-)
But there is another issue.
from gluon.contrib.markdown import markdown2 as markdown
in gae it throws error no module named markdown :-(
What are the ways in which such multiple layouts and choosing one at the
run time work? Something like wordpress themes? Modifying views/layout fix
the layout to the one that was deployed. But as in wordpress, if more
themes are installed how can a different one be chosen?
Thank you,
Joseph
hieved via parameter based
routes or should it be only by pattern-based?
Thank you,
Joseph
default_controller = 'default',
default_function = 'index',
),
)
which gives me the error:
invalid function (default/2011)
fair enough. I could traverse /index/2011
But can I drop index too from the url?
Thx,
Joseph
yes anthony
Thx Jonathan & Anthony. Following works:
routers = dict(
BASE = dict(default_application = 'init',
default_controller = 'default',
default_function = 'index',
functions = ['index'],
),
)
Regards,
Joseph
fter that the control goes to /admin/site and it
throws an error 'This webpage has a redirect loop'.
How to resolve this?
Thx,
Joseph
is a problem with routes or not.
I have a feed() function. If I browse to feed.rss it works fine. But I
would like /feed/ as the url (without.rss). How to achieve it?
Thanks again guys,
Joseph
look at the code and if there are any areas for improvement, pl let
me know (I haven't yet put in a license but it will be a permissible one)
Happy Christmas everyone.
Regards,
Joseph
Looks nice Martin. Isn't routes.py needed to run this?
Joseph
bapp/applications/init/controllers/default.py
here is the final application: minnaedu.appspot.com
Hope these help
Joseph
Power of web2py is in running the same code base both in GAE & webfaction.
Here is the blog engine (with imported wordpress entries) in webfaction:
http://www.jjude.biz
I wrote about it here: http://goo.gl/zidxe
Let 2012 be a great year.
Joseph
is
here:
https://bitbucket.org/id804097/minnaedu/src/ad58ea9a5a20/webapp/applications/init
Any suggestions are welcome.
Thank you,
Joseph
Christian,
Did you manage to write this? I am looking for optimizing the GAE. Would
appreciate your inputs.
Thanks,
Joseph
ables
for every request)
Objective is to optimize application on GAE.
Thank you,
Joseph
To use this do you need APIs both from dropbox & janrain?
Thank you,
Joseph
Paul,
What kind of error are you getting?
I'm also starting to play with dropbox. Got two functions in default
controller (one is a callback function) but it works. BTW, I'm storing the
dropbox session as current.session.dsession
Joseph
http://www.jjude.biz
If anyone is interested, you can look into the code for dropbox connection
here:
http://goo.gl/QYT2y
This is my default.py. Look at dropbox_connect and process_dropbox.
Question: How can I automate this with cron? When I do it, it stops with
the redirect.
Thank you,
Joseph
I'm using this logging module with logging.conf. It works fine in
controllers & models. How to make it work in modules?
Regards,
Joseph
;t go to my public repo.
P.S: since I run the site on webfaction where request.is_local returns true
so I had to use the first line shortcut.
Joseph
http://www.jjude.biz
You may want to change the metadata author. Site looks good.
BTW, what plan of GAE are you on?
alues (though there are rows in db).
db: sqlite; web2py: 1.99.4
Thank you,
Joseph
'
Regards,
Joseph
I went into shell in a new web2py directory and tried the below.
Surprisingly, I get empty output. Any explanations?
python web2py.py -S init -M
db.define_table('entries',
Field('title', type='string'),
Field('tags', 'list:string'))
>>> db.entries.insert(title='hello',tags='one,two,three')
1
of is to create a pain the form with individual
fields and then process the form submission. But I hope I could handle this
with crud, since it is so easy.
Thank you,
Joseph
Thank you. It works.
Just for completeness: I had designed a layout from scratch and hence had
left out web2py_ajax.html. For this widget to work, it is essential that
this file is included.
Regards,
Joseph
. Does that help and if so,
how?
Thank you,
Joseph
http://www.jjude.biz
oh my god. The memory usage dropped from 71 mb from 120 mb. webfaction
should use this as their default for installing web2py.
I can't thank you enough.
Just one more question:
1. I'm assuming there is no need to restart uwsgi; it automatically does I
suppose?
Thank you,
Joseph
sorry it is midnight here and i am too relieved that it is solved and too
excited that now i can get back to 'real' development.
dropped to 71 mb from 120 mb
use uwsgi.
Ref: https://groups.google.com/d/msg/web2py/LOdYk1C7B0I/JiMA_HzNqBQJ
can I rotate log (uwsgi.log) with this command? I don't want the log file
to go on increasing in size
What tools / code snippets are you using to monitor memory leaks?
There is an option -F while starting web2py. Is there any
documentation (or pointers) about how to use it?
Thank you,
Joseph
http://www.jjude.biz
Nice!
I am gonna try that !
On 02 Apr 2012, at 14:50, Anthony wrote:
> If you want the default app removed from static URLs, you have to set
> map_static=True in your router (see
> http://code.google.com/p/web2py/source/browse/router.example.py#64). However,
> if your web server (e.g., Apache
Indeed, makes sense.
Thanks for the confirmation :)
On 02 Apr 2012, at 16:02, Jonathan Lundell wrote:
> On Apr 2, 2012, at 3:27 AM, Joseph.Piron wrote:
>> Ah, and another simple question, maybe dull.. :)
>>
>> Does the domains option have any use when web2py's app is served from a
>> apache or
Web2py Team:
Brilliant software architecture and ingenuous code can be greatly enhanced
by up-to-date documentation.
The documentation associated with Web2py is what attracted me to the
framework.
The documentation is a significant discriminator and provides high value to
individuals that are ne
able to find why it happens and
also how to fix it. (there is a reason why I use the _name="items[]" - user
should be able to add as many items as possible at the client side). Any
clues and solution is appreciated. Thank you.
Joseph
#x27;checklist_id', db.checklists),
Field('item_name')
)
5) there is only one field in the form which is mandatory; others (about 5
other fields) are not. so I can't use keepvalues=false
Hope to hear.
Thanks again,
Joseph
me="citems"),
IMG(_class="add", _src=URL('static', 'images/add.png')),
IMG(_class="remove",_src=URL('static', 'images/delete.png'))),
),
hidden=dict(totalitems='1')
))
Thank you,
Joseph
dynamically
added fields).
How do I handle this?
Thanks in advance,
Joseph
Thanks to forum members (Anthony & Cliff), I was able to develop an
application which I hope to serve as a repository of checklists. It is
hosted at http://123-check.appspot.com/. This is just a first version and
I'm still learning. Your comments / suggestions are appreciated.
Jo
Just a not to check of the current status of:
The basket book listed below and
The Official Version 4 Web2py book.
Would it be best to buy the Web2py 3.1 edition in paper ...
Or wait for version 4...
Take care,
Joe
On Thu, Aug 18, 2011 at 4:41 PM, Massimo Di Pierro <
massimo.dipie...@gmail.
Cool.
On Tue, Oct 4, 2011 at 3:07 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Wait
>
>
> On Oct 4, 1:15 pm, joseph simpson wrote:
> > Just a not to check of the current status of:
> >
> > The basket book listed below and
> &
Thank you for trying out.
I've noted down all of your suggestions. Will implement in the days to come.
I am not planning to open source the app though I will post my
experience in developing with code.
Thanks again,
Joseph
On 10/4/11, guruyaya wrote:
> Nice.
> The list does not g
Hello All,
As much as I wanted to avoid, eventually I had to add two columns and rename
a column to an existing table in GAE which contain data. Is there a way
(after much search, I'm not even asking for an easy way) to do that?
Thanks,
Joseph
Thank you for your reply. Is there a way to run gae specific code (with gae
objects) within web2py? or should this be executed only within gae
environment (may be I need to modify app.yaml too then?)
Thank you in advance,
Joseph
/123-check.appspot.com/
Regards,
Joseph
As much as I like backward compatibility, I believe the (web2py) code will
become unmanageable and bloated too. So at some point in time, it is better
to overhaul and not provide backward compatibility.
choosing a license type as liberal as web2py would be preferred. as far as I
could read and understand, foundation is not that liberal.
Just checking on the current state of the Web2py online book update as well
as the rumored "Packt Web2py book."
Any new projected release dates?
Have fun,
Joe
On Tue, Sep 27, 2011 at 7:00 AM, Jim Steil wrote:
> +1 for keeping in the book format. Definitely helped attract me to Web2py.
>
>
;
> The packt book is in the hands of the publisher.
>
> Both book shout be available berofe christmas
>
> On Oct 19, 2:16 pm, joseph simpson wrote:
> > Just checking on the current state of the Web2py online book update as
> well
> > as the rumored "Pac
-unittesting-doctesting.html
However, is there any open source project with test modules that I can look
into how the testing is done in real projects and learn?
Thank you,
Joseph
Amazing.
by the same token, is there any site which collects all the sites developed
in web2py? I couldn't find any. Not the appliances but the real sites built
with web2py. That might be a good booster for new comers into web2py to be
convinced that web2py is not just for learning but for real
1 - 100 of 166 matches
Mail list logo