[web2py] Re: Video site : Should i use AWS cloudfront just web2py?

2012-02-16 Thread Anaconda
Thank you for taking the time out to reply Anthony, i am not running an EC2 instance but will give it a try now with CloudFront. On Feb 16, 6:06 am, Anthony wrote: > On Thursday, February 16, 2012 4:47:52 AM UTC-5, Anaconda wrote: > > > I need some advice, i notice that web2py has

[web2py] Video site : Should i use AWS cloudfront just web2py?

2012-02-16 Thread Anaconda
I need some advice, i notice that web2py has streaming by default, therefore should i just use web2py to stream the video files or use CloudFront? Which option would allow better scalability and pricing? Thanks in advance as it is my first video site!

[web2py] Re: Web2py and Rest

2011-10-22 Thread Anaconda
there is a video tutorial and a post by Massimo on reddit showing how to use this feature, I was not able to make post request but used @services.run to make post requests. The book covers section on services but not the @restful feature. On Oct 21, 12:53 pm, BrendanC wrote: > I know this has pr

[web2py] Re: using request.restful() for POST ?

2011-10-13 Thread Anaconda
, how would i make the POST request using the tutorial example? Thanks in advance. On Oct 13, 4:21 pm, Massimo Di Pierro wrote: > What do you mean does not work. It should work. > > On Oct 13, 1:29 am, Anaconda wrote: > > > > > > > > > I have been going through

[web2py] Re: using request.restful() for POST ?

2011-10-13 Thread Anaconda
If this method no longer works, is there another way to post data to the database using services? On Oct 12, 11:29 pm, Anaconda wrote: > I have been going through the video tutorial on this at "http:// > vimeo.com/21133657" and i can get everything to work except the Post >

[web2py] using request.restful() for POST ?

2011-10-12 Thread Anaconda
I have been going through the video tutorial on this at "http:// vimeo.com/21133657" and i can get everything to work except the Post requests. I may be calling it incorrectly in my browser, has anyone done the tutorial and done it correctly? @request.restful() def manage_dog(): def GET(id):

[web2py] Re: @request.restful() ??

2011-09-26 Thread Anaconda
http://www.reddit.com/r/programming/comments/g5hxq/web2py_trunk_has_a_new_restful_api_that_writes_db/c1l2ykg Just found this wonderful tutorial on reddit!! Thanks Massimo! Hopefully we can get a reference or snippet in the book. On Sep 26, 11:21 pm, Anaconda wrote: > I have been learning

[web2py] @request.restful() ??

2011-09-26 Thread Anaconda
I have been learning the web services section of the book and did not see @request.restful() in there, i only noticed it in some code Massimo posted in response to one of the questions here. Is there anymore info on this and will it be covered in the book later? Regards

[web2py] Re: web2py with twitter bootstrap - very clean interface ...

2011-09-26 Thread Anaconda
Nice work, i struggled getting it to work, but i did get it to kind of work well. Is there any issue that you ran into that you could give us a heads up about? > > -- > > Massimiliano > > -- > Alvaro Lizama Molina  -http://alvarolizama.net

[web2py] authentication question

2011-09-23 Thread Anaconda
I saw a web app that uses a chrome extension, when you first click on the extension it redirects you to the website to login, then you can use the extension to add bookmarks to the website/your profile on the website. My question is what is the mechanics behind this, is the authentication key store

[web2py] anyone using Google Identity Toolkit?

2011-09-22 Thread Anaconda
I wanted to find out if anyone had an opinion on using this toolkit for authentication?

[web2py] Re: http get requests for google search api

2011-09-15 Thread Anaconda
I missed Anthony's message, thanks I understand it now! On Sep 15, 7:15 pm, Anaconda wrote: > thanks for the reply Eric,I will take a look at the python client > libraries. Is there any web2py examples of making a request to an API > and parsing the returned json? > >  S

[web2py] Re: http get requests for google search api

2011-09-15 Thread Anaconda
n.load(req) > > Atom should be similar -- urllib to access, then some Atom library to > parse the data. > Google offers their own Python client libraries, so you may want to > look into one of those.  The basic procedure should be the same, > however. > > On Sep 15, 5:26 pm,

[web2py] http get requests for google search api

2011-09-15 Thread Anaconda
Its my first time trying to access a webservice/api, would i use feedparser in web2py to to make http requests to a google api. They return their results in atom and json? I just need some guidance...thanks in advance guys. Regards

[web2py] Re: using twitter bootstratp in base.css

2011-09-07 Thread Anaconda
query-ui + html5boilerplate + 960.gs + jquerymobile bootstrap app > made on top of welcome. Something similar needs to be done with twitter app. > > On Wed, Sep 7, 2011 at 9:25 PM, Anaconda wrote: > > would it be wise to use twitterbootstrap in place of base.css for a > > tiny

[web2py] using twitter bootstratp in base.css

2011-09-07 Thread Anaconda
would it be wise to use twitterbootstrap in place of base.css for a tiny app I am building? I am just looking for general opinions as I am a relatively new developer. Regards

[web2py] Crud.read help

2011-08-29 Thread Anaconda
I am using Crud to create a group and read the group, but i get the following error below. The Crud.read for the profile function works fine but not for the group function. ('Auth' object has no attribute 'group_id') My code is: def profile(): user = auth.user_id form = crud.read(db.aut

[web2py] Re: table, grid, smartgrid, getting better

2011-08-22 Thread Anaconda
For us newbe's, will there be a small tutorial or blogpost showing us how to use it. That will be really cool...good work guys!! On Aug 22, 8:29 pm, Massimo Di Pierro wrote: > So you agree this can be done by simply using custom links? > Would be nice to see an example. > > On Aug 22, 9:4

[web2py] Re: Help to understand Roles?

2011-08-22 Thread Anaconda
ble is allowed to > > that group and it what you will generally do I think. > > > Richard > > > On Mon, Aug 22, 2011 at 7:07 AM, Anaconda wrote: > > >> I am trying to fully understand purpose of roles when it comes  to > >> creating groups.  It seems very simple but i need to understand it > >> more to be comfortable with my understanding of it. > > >> Thanks in advance !

[web2py] Help to understand Roles?

2011-08-22 Thread Anaconda
I am trying to fully understand purpose of roles when it comes to creating groups. It seems very simple but i need to understand it more to be comfortable with my understanding of it. Thanks in advance !

[web2py] UserGroups: Extend Auth_Group or Table Inheritance?

2011-08-20 Thread Anaconda
I am looking to allow users to create their own groups and have members. Which is more effecient: Table Inheritance: db.define_table('user_groups', db.auth_group, Field('name') ...ect...)) or Extend auth_group: db.define_table( auth.settings.table_user_group, Field('role', lengt

[web2py] Re: Best way to extend user profiles in web2py?

2011-08-20 Thread Anaconda
Wow, works wonderful, thanks Bruno and thank your for the quick reply!! On Aug 20, 12:12 am, Bruno Rocha wrote: > def user() >   if request.args(0) == 'profile': >       db.auth_user.email.readable = db.auth_user.email.writable = False

[web2py] Re: Best way to extend user profiles in web2py?

2011-08-20 Thread Anaconda
. > > > > > > > On Friday, August 19, 2011 5:30:06 AM UTC-4, Anaconda wrote: > > > > On Aug 19, 12:52 am, pbreit wrote: > > > > To hide them without creating custom forms, set readable = writable = > > > False > > > > in the cont

[web2py] Re: Best way to extend user profiles in web2py?

2011-08-20 Thread Anaconda
On Aug 19, 6:58 am, Anthony wrote: > On Friday, August 19, 2011 5:30:06 AM UTC-4, Anaconda wrote: > > > On Aug 19, 12:52 am, pbreit wrote: > > > To hide them without creating custom forms, set readable = writable = > > False > > > in the controller.

[web2py] Re: Best way to extend user profiles in web2py?

2011-08-19 Thread Anaconda
On Aug 19, 12:52 am, pbreit wrote: > To hide them without creating custom forms, set readable = writable = False > in the controller. Thanks, will that be in the def user(): controller.

[web2py] Best way to extend user profiles in web2py?

2011-08-18 Thread Anaconda
What is the best way to create a user profile page, is it to just extend the auth table and then hide the extra fields during sign up using jquery. Then expose them again when allowing the user edit/ create their profile? I am used to the django way of declaring the auth module in the settings.py f

[web2py] Can i us the new restful api for mobile app backend?

2011-04-10 Thread Anaconda
I was just watching the vid on the new restful api available in web2py, it is just amazing!!! It got me thinking that i can build a native mobile app use this api to to populate my app with data.This way i can have both a website and mobile app which will both have access to the database. I was thi

[web2py] Error while going through web2py book

2010-12-03 Thread Anaconda
Hi, i am currently working through the web2py book and i am getting a an error thrown up even though i am following the books instructions, this is the code below: -- coding: utf-8 -- # This is a samples controller - index is the default action of any application - user is required for authenticat