[web2py] Facebook Login

2016-01-17 Thread Anurag Mishra
I am using the following code for implementing login using facebook through OAuth. I am using my app id and app key instead of FB_CLIENT_ID and FB_CLIENT_SERET. *FB_CLIENT_ID='XXX'* *FB_CLIENT_SECRET="YYY"* *## import required modules* *try:* *import json* *except ImportError:* *from gl

[web2py] How to use the HTML tags in slugs created using CKEditor?

2015-07-29 Thread mishra
Hi, My name's Mishra and I just started using Web2Py. I have some basic knowledge in coding (HTML, PHP, CSS and Python.) I don't usually write on forum as answers for most questions are already somewhere on the net, but I don't figure the solution for this problem despite of

[web2py] Grab locations Via Google Maps

2014-12-27 Thread Gyanendra Mishra
Trying to learn web2py via a project. I would like to have a map with multiple places marked out of which a person can select a few places and click the submit button for the data to be processed. How should I proceed with it?A thread about google maps plugin says its old and obsolete.I might be

[web2py] Hello World!

2014-12-24 Thread Gyanendra Mishra
I just wanted to say hi to the community. Hi! The framework looks magical currently and I want to reduce that magic.I don't feel that I am in control of the framework. I just started learning and building apps with web2py.I have some competitive programming experience and I have built a few apps

[web2py] Re: bug2py

2010-05-22 Thread Abhishek Mishra
Just figured out the bug, javascript in href of link tags worked fine on chrome, but failed on firefox, I've changed any such links from wrote: > Great, now I am learning web2py I have a few of them noted at my Mac > desktop. > > There is a little bug athttp://bugs.madetokill.com > Register button

[web2py] Re: bug2py

2010-05-21 Thread 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 PHP code is here - http://github.com/ideamonk/bugbase with demo available at http://bugs.madetokill.com Its a bit buggy and insecure (assume

Re: [web2py] Re: For your knowledge

2010-03-25 Thread Nakul Mishra
@Magnitus check this link out. They have quite decent collections of lectures. You have to search for the course in which u are interested. http://nptel.iitm.ac.in/ On Thu, Mar 25, 2010 at 11:01 PM, Magnitus wrote: > Thanks for the tip :). > > They also have a section on machine learning, nice (

[web2py] Preferred way to update values?

2010-03-24 Thread Abhishek Mishra
I found this to be a little out of conventional way... Initially my app - http://hello-poll.appspot.com used to update tables in this way - method #1 db(db.choice.id==request.vars.cid).update(votes = db.choice.votes + 1) ^ This worked well on local web2py and appengine instance. However on deplo

[web2py] Re: A doubt with SQLFORM

2010-03-24 Thread Abhishek Mishra
Alright I'll try looking for it, Thanks On Mar 24, 9:21 pm, mdipierro wrote: > I wote a plugin for this last month and I posted on this list but I > lost it. If somebody can find it please re-post it. > > Massimo > > -- You received this message because you are subscribed to the Google Groups

[web2py] Re: A doubt with SQLFORM

2010-03-24 Thread Abhishek Mishra
b.table.field.writable=True or False > > form.labels is not defined because according to current design labels > are a property of the individual fields and not of the form object. > > On Mar 24, 10:26 am, mdipierro wrote: > > > > > You do not specify the field

[web2py] Re: A doubt with SQLFORM

2010-03-24 Thread Abhishek Mishra
; WRONG > > You specify them at the level of the fields > > db.table.field.label='...' > form=SQLFORM(db.table) > > Massimo > > On Mar 24, 9:28 am, Abhishek Mishra wrote: > > > > > Hi guys, > > > I am trying to learn/try out web2py fr

[web2py] A doubt with SQLFORM

2010-03-24 Thread Abhishek Mishra
Hi guys, I am trying to learn/try out web2py from scratch. I'm making a simple poll application right now. So, to add a poll, I'm trying to use automatically generated SQLFORMs as in - pollform=SQLFORM(db.poll, fields=['question'], labels={'question':'Poll Question'}) I was looking for a way to

[web2py] Re: Custom 404 pages

2010-03-10 Thread Abhishek Mishra
n' , etc helps out for app specific error pages. Yup using the decorators would invite me to the less maintainable task of adding it above all the controllers defs. Thanks! On Mar 6, 7:58 pm, mdipierro wrote: > On Mar 5, 9:48 pm, Abhishek Mishra wrote: > > > Hi

[web2py] Custom 404 pages

2010-03-06 Thread Abhishek Mishra
Hi I'm trying to implement a decorator for custom error pages in web2py into sahanapy. Ref - http://web2py.com/AlterEgo/default/show/75 I'm trying to keep it as a module in /modules directory so that I can import it into the controllers and place the decorator appropriately. I have kept error han

Re: [web2py] Is the web2py site down?

2010-02-27 Thread nakul mishra
Yes u are right. I also checked but its not responding On Sat, Feb 27, 2010 at 9:30 AM, Neno wrote: > http://www.web2py.com/ doesn't seem to be responding... > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send e