Re: [web2py] web2py received 2011 BOSSIE Award by InfoWorld.com

2011-09-07 Thread appydev
[?]


2011/9/7 wwwgong wen.g.g...@gmail.com

 Congratulations!

 more details from here:

 http://www.infoworld.com/d/open-source-software/bossie-awards-2011-the-best-open-source-application-development-software-171759-0current=10last=1#slideshowTop

330.gif

Re: [web2py] Re: Cannot operate on a closed database

2011-09-06 Thread appydev
Why not so with: request = current.request?

Is it safe to use the following?

# modules/myobjects.py
from gluon import *
request,session,response,T,cache =
current.request,current.session,current.response,current.T,current.cache

and then use some class method :

if form.accepts(request, session):

Or rather it is better to use directly:

if form.accepts(current.request, current.session):



Do not think of something analogous to this affirmation made for the db
object?

the problem is that the latter statement is done at top leve therefor

it is only executed once when the module is imported by the first http

request. The module is then cached in ram and that line is no longer

executed. Therefore db is not the current thread local database

object but it is a reference to the db object of the first http

request which by now may be closed. You cannot extract objects from

the thread local current when you import the module, you have to do

it inside functions called when a controller is executed.


I apologize for my English.



2011/6/26 Massimo Di Pierro massimo.dipie...@gmail.com

 I found the cause it this problem. It is not a bug in web2py but
 something to be careful about in your programs.

 You have a models/meteo.py which imports modules/meteo.py.

 models/meteo.py does

   current.database = db

 and modules/mete.py does

   db = current.database

 the problem is that the latter statement is done at top leve therefor
 it is only executed once when the module is imported by the first http
 request. The module is then cached in ram and that line is no longer
 executed. Therefore db is not the current thread local database
 object but it is a reference to the db object of the first http
 request which by now may be closed. You cannot extract objects from
 the thread local current when you import the module, you have to do
 it inside functions called when a controller is executed.

 Hope this makes sense.



 On Jun 24, 10:31 am, Manuele Pesenti manuele.pese...@gmail.com
 wrote:
  dear all,
  I've added a unique field to some existing tables and w2p gave me an
  error saing that he cannot add unique fields to a table so I deleted my
  db and restarted as a new application but I obtained this:
 
  ProgrammingError: Cannot operate on a closed database.
 
  it's sufficient to comment out the property unique=True and no errors
  occurs.
 
  Here under you can find the complete traceback.
  Any suggestion??
 
  Thanks a lot
 
  Manuele
 
  Traceback (most recent call last):
 File
  /home/manuele/Dropbox/sviluppo/web2py-1.96.4/gluon/restricted.py, line
  192, in restricted
   exec ccode in environment
 File
 
 /home/manuele/Dropbox/sviluppo/web2py-1.96.4/applications/wind2pow2/contro
 llers/appadmin.py,
  line 410, in module
 File /home/manuele/Dropbox/sviluppo/web2py-1.96.4/gluon/globals.py,
  line 137, in lambda
   self._caller = lambda f: f()
 File
 
 /home/manuele/Dropbox/sviluppo/web2py-1.96.4/applications/wind2pow2/contro
 llers/appadmin.py,
  line 126, in insert
   form = SQLFORM(db[table], ignore_rw=ignore_rw)
 File /home/manuele/Dropbox/sviluppo/web2py-1.96.4/gluon/sqlhtml.py,
  line 817, in __init__
   inp = self.widgets.options.widget(field, default)
 File /home/manuele/Dropbox/sviluppo/web2py-1.96.4/gluon/sqlhtml.py,
  line 206, in widget
   options = requires[0].options()
 File
  /home/manuele/Dropbox/sviluppo/web2py-1.96.4/gluon/validators.py, line
  438, in options
   self.build_set()
 File
  /home/manuele/Dropbox/sviluppo/web2py-1.96.4/gluon/validators.py, line
  426, in build_set
   records = self.dbset.select(*fields, **dd)
 File /home/manuele/Dropbox/sviluppo/web2py-1.96.4/gluon/dal.py,
  line 5382, in select
   return self.db._adapter.select(self.query,fields,attributes)
 File /home/manuele/Dropbox/sviluppo/web2py-1.96.4/gluon/dal.py,
  line 1159, in select
   rows = response(sql)
 File /home/manuele/Dropbox/sviluppo/web2py-1.96.4/gluon/dal.py,
  line 1149, in response
   self.execute(sql)
 File /home/manuele/Dropbox/sviluppo/web2py-1.96.4/gluon/dal.py,
  line 1234, in execute
   return self.log_execute(*a, **b)
 File /home/manuele/Dropbox/sviluppo/web2py-1.96.4/gluon/dal.py,
  line 1229, in log_execute
   ret = self.cursor.execute(*a,**b)
  ProgrammingError: Cannot operate on a closed database.



[web2py] Incompatibility with web2py 1.95.1.

2011-05-26 Thread appydev
Regards.

Some time ago I took my first steps with web2py and web programming. Make a
small application that works perfectly in web2py Version 1.89.5 and earlier,
but today after spending some time away due to college, I resumed my
training and I upgraded to web2py 1.95.1, and I realize that my application
and is not compatible because SQLFORM.factory no longer works when the
tables have fields with common names.

The following can be read in the book:

SQLFORM.factory
One form for multiple tables
This only works when to the tables Do not Have field names in
common. 


My question is:

How I can make my application compatible with new versions of web2py without
having to change the field names in common?



Translated from Spanish with the help of Google translator.


Re: [web2py] Re: The stability of web2py releases

2010-12-29 Thread appydev
I totally agree with Jonathan Lundell,

I think the changes he proposes, would provide stability web2py, and I'm
sure will appeal to users (both new and existing).

My humble opinion is that the way they attack the bugs, is one of the
weaknesses ofweb2py, I think it is
messy and I'm sure many have decided not to use web2py for it.



2010/12/22 Jonathan Lundell jlund...@pobox.com

 On Dec 22, 2010, at 7:47 AM, Branko Vukelić wrote:
 
  2010/12/22 Luis Díaz diazluis2...@gmail.com:
 
  in particular whenever new versions come out ... I always say ... have
  to wait 1 week or 2 to becomestable ...
 
  Not become stable, but be proven stable. You release, wait for
  everyone to give it a go. If everyone is happy, then it's considered
  stable, and move to stable box on the downloads page. If someone
  complains, it stays in unstable indefinitely, and a new release is
  made fixing the bugs.

 The problem is that become stable is in conflict with add new features,
 and the new release that fixes the bugs also gets new (and buggy) features.

 Linux has a similar problem, that gets addressed a couple of ways. One is
 that we have Linux distributions independent of (and lagging) the core
 kernel releases: Red Hat, Ubuntu, etc. The other, somewhat more recent, is
 that certain kernel releases are maintained by the core kernel developers as
 stable points.

 The web2py equivalent would be something like this. Massimo releases
 1.91.1, and we (for some we) decide that that's a good feature/stability
 set for a stable release point. We then create a stable branch, and somebody
 (for some somebody--this is the catch) back-ports bug fixes to the stable
 branch, so we have 1.91.1.1, 1.91.1.2, etc, with *only* confirmed bug fixes,
 no new features, being back-ported. Meanwhile, trunk development proceeds
 with 1.91, 1.93, etc.

 Problem is, maintaining stable branches requires real work, and in this
 environment it means volunteer work.


Re: [web2py] The stability of web2py releases

2010-12-22 Thread appydev
Regards,

Sometimes I notice that when an error is
detected in the stable,this is fixed in the trunk. On the
other hand, all the new featuresare included in the
trunk. New features bring new bugs, thus thetrunk will always have some
errors that are passed to the stable.

I think there should be a version, not to call it ... ,
Something likeUbuntu LTS (Long Term Support). and that
this version receiveimmediate bug fixes. and other critical updates that do
notprovide new features mean, for a considerable time until thestable
version and has been sufficiently tested.


2010/12/21 Luther Goh Lu Feng elf...@yahoo.com

 I have started using web2py a few months ago and I have noticed that
 some of the releases might actually be far from stable. Take for
 instance, the 1.90 release. There were unfortunately quite a few
 uncaught bugs and this was followed by a flurry of bug fix releases. I
 understand that this is because there are not enough people testing
 trunk.

 Given that web2py is supposed to be an enterprise web framework, I
 wonder if it will be better if stable release versions are identified,
 so that existing users of web2py can do upgrades without having
 serious worries about breakage. Or are there some existing practices
 that existing web2py users have to address such issues?


Re: [web2py] The stability of web2py releases

2010-12-22 Thread appydev
I have not talked for 3 years. not, I did not say which should be LTS.
I said that there should be a stable release, and is receiving immediate bug
fixes. and other critical updates that do not provide new features mean, for
a considerable time until the new features are sufficiently tested. but did
not know how to call because there is already a stable version.

Let me make clear that what I propose, is one of stability, no way I'd like
to see decrease the wonderful pace with evolving web2py.

2010/12/22 Branko Vukelić stu...@brankovukelic.com

 On Wed, Dec 22, 2010 at 3:44 PM, appydev appy...@gmail.com wrote:
  I think there should be a version, not to call it ... ,
  Something likeUbuntu LTS (Long Term Support). and that
  this version receiveimmediate bug fixes. and other critical
 updates that do
  notprovide new features mean, for a considerable time until thestable
  version and has been sufficiently tested.

 LTS is a completely different ting. It means a lot of backporting of
 stuff that's fixed in later releases, and keeping it supported for 3
 years. I don't think any framework does it. It's sufficient that we
 have a stable and unstable (or edge, or whatever) versions. The latter
 would be a _released_ version, but is not considered thoroughly
 tested. It's like Debian's unstable-testing-stable cycle.


 --
 Branko Vukelic

 stu...@brankovukelic.com
 http://www.brankovukelic.com/



Re: [web2py] web2py 1.91.1 is OUT (LGPLv3)

2010-12-21 Thread appydev
Thank you very much!

2010/12/21 mdipierro mdipie...@cs.depaul.edu

 web2py 1.91.1 is out, the first version with a new license.

 Main changes are the license, bug fixes (compared to 1.90.*) and a new
 shell that runs better than before and runs on GAE too, if you choose
 to deploy it.

 Massimo




Re: [web2py] Re: it case you missed it...

2010-12-17 Thread appydev
Greetings.

I am a new member of the community, however, I will take the dare to
give my humble opinion:

I think that a license of type BSD or MIT would be beneficial for web2py.

I think the GPL license, frighten off the business and other potential
users. Some do not understand the exception and others did not read it.

Do not get me wrong, I love Free Software, moreover, are said to permissive
licenses given the total freedom.

I think that a license of type permissive favor the growth of the
community web2py and I think we should
not fear, because, as stated above, we take the example of
communities of Django and Ruby on Rails, two very large
communities, and very active communities that have facilitated the evolution
of free software.


2010/12/16 mdipierro mdipie...@cs.depaul.edu

 GPL2 creates the loophole. The AGPL closes the loophole. The GPL3 was
 supposed to incorporate language from AGPL and close the loophole but
 did not. It is not clear to me whether GPL3 closes the loophole or
 not. If it does not (like GPL2 does not).

 I have no objection to move to GPL3.

 Yet that does not help in clarifying the web2py license.

 As a hypothetical question. Who here would oppose to moving to BSD or
 MIT or other more permissive license?

 Massimo

 On Dec 16, 2:54 pm, Branko Vukelic branko.vuke...@gmx.com wrote:
   - Original Message -
   From: mdipierro
   Sent: 12/16/10 07:56 PM
   To: web2py-users
   Subject: [web2py] Re: it case you missed it...
   If we were to move from GPL2 to GPL3 people would not be allowed to
   modify web2py running on their servers without making available the
   source code of their changes. I do not see any reason for requiring
   this.
 
  What's AGPL for then? Wasn't _AGPL_ supposed to prevent that? Anyway, I
 think GPLv3 makes i possible to use code licensed under licenses like MIT
 and BSD in a GPLv3 project, which is otherwise a bit incompatible. Or did I
 miss something?
 
  --
  Branko Vukelic
 
  branko.vuke...@gmx.com
 
  http://www.brankovukelic.com/http://flickr.com/photos/foxbunny



Re: [web2py] Vote in web2py for PyCon 2011 Tutorials

2010-12-16 Thread appydev
One more vote for web2py!

2010/12/15 Bruno Rocha rochacbr...@gmail.com

 PyCon is made up of a number of different parts, each with its own goals.
 For the talks presented during the conference portion of PyCon, we go for
 both breadth and quality. There are enough different sessions and different
 tracks that each person can customize their PyCon experience according to
 their interests. For tutorials, the goal is slightly different. We want to
 present tutorials that help developers deal effectively with their most
 common day-to-day challenges. Accordingly, the following topics have been
 generally proposed for tutorials at PyCon 2011. Which of these topics would
 be the most useful for you? If tutorials were held on all these topics,
 which ones would you or your organization pay to attend?


 https://spreadsheets0.google.com/viewform?formkey=dF9wdHV0SHhMLWVKV1MzX0hpYW9XZnc6MQ#gid=0

 --

 Bruno Rocha
 http://about.me/rochacbruno/bio



[web2py] even I have this doubt.

2010-12-07 Thread appydev
Greetings.

I disable the registration form that generated auth:
auth.settings.actions_disabled = ['register']
I made a new registration form that stores information in two tables
(auth_user and teacher), with the help of this recipe:
http://www.web2pyslices.com/main/slices/take_slice/102
But I realized that to do it myself, my form loses functionality when
compared to that generated by default for auth.

To be more specific, I realized that I do not think the unique group for
each user (that's no problem because they can easily solve it.)

The question is: Am I missing some other functionality? Am I doing my
registration form less safe?

If there is a better way to do this, your suggestions will be welcome.
Thanks.


Re: [web2py] Re: even I have this doubt.

2010-12-07 Thread appydev
Thanks.
But,
Am I missing some other functionality?
Am I doing my registration form less safe?

My fear is that by making myself the registration form, perhaps this making
it less safe.

Is it so?


2010/12/7 mdipierro mdipie...@cs.depaul.edu

 I do not see a problem. You do not really need to have a group for
 every user, unless you use

 has_permission

 and you want to give a specific permission to a single user. Anyway
 you can create the groups manually too using db.auth_group.insert(...)

 Massimo

 On Dec 7, 7:52 pm, appydev appy...@gmail.com wrote:
  Greetings.
 
  I disable the registration form that generated auth:
  auth.settings.actions_disabled = ['register']
  I made a new registration form that stores information in two tables
  (auth_user and teacher), with the help of this recipe:
 http://www.web2pyslices.com/main/slices/take_slice/102
  But I realized that to do it myself, my form loses functionality when
  compared to that generated by default for auth.
 
  To be more specific, I realized that I do not think the unique group
 for
  each user (that's no problem because they can easily solve it.)
 
  The question is: Am I missing some other functionality? Am I doing my
  registration form less safe?
 
  If there is a better way to do this, your suggestions will be welcome.
  Thanks.



[web2py] Registration form

2010-12-06 Thread appydev
Greetings.

I disable the registration form that generated auth:
auth.settings.actions_disabled = ['register']
I made a new registration form that stores information in two tables
(auth_user and teacher), with the help of this recipe:
http://www.web2pyslices.com/main/slices/take_slice/102
But I realized that to do it myself, my form loses functionality when
compared to that generated by default for auth.

To be more specific, I realized that I do not think the unique group for
each user (that's no problem because they can easily solve it.)

The question is: Am I missing some other functionality? Am I doing my
registration form less safe?

Thanks.


[web2py] Safety in my registration form

2010-12-03 Thread appydev
Greetings.

I disable the registration form that generated auth:
auth.settings.actions_disabled = ['register']
I made a new registration form that stores information in two tables
(auth_user and teacher), with the help of this recipe:
http://www.web2pyslices.com/main/slices/take_slice/102
But I realized that to do it myself, my form loses functionality when
compared to that generated by default for auth.

To be more specific, I realized that I do not think the unique group for
each user (that's no problem because they can easily solve it.)

The question is: Am I missing some other functionality? Am I doing my
registration form less safe?

Thanks.


Re: [web2py] Re: accessible_query implement in GAE.

2010-11-30 Thread appydev
And what do you recommend if I have the need to obtain from the database
only records for which the user performing the query has read permission?


2010/11/30 mdipierro mdipie...@cs.depaul.edu

 Not yet.

 On Nov 29, 9:38 pm, appydev appy...@gmail.com wrote:
  Greetings
 
  Is there any way to do something like this in GAE?
 
  rows = db (auth.accessible_query ('read', db.mytable)). select
  (db.mytable.ALL)
 
  Thanks



Re: [web2py] Beginner Auth problem

2010-11-29 Thread appydev
Greetings.

As above. I wanted to build a registration form to fill two tables,
auth_user and teacher.

I use SQLFORM.factory (table1, table2) to create the form.
http://www.web2pyslices.com/main/slices/take_slice/102 to fill the tables.
And auth.settings.actions_disabled = ['register'] to disable the
registration form created by default.
(Thanks again to massimo and to mr.freeze)

But later I realized that this way is no longer created a new group to
contain the user, automatically.
As is indicated by:
auth.settings.create_user_groups = True

My question is:

Is there any other functionality that is lost when working as I am doing?
Am I doing my application less secure, creating myself my registration form?


Re: [web2py] Re: Beginner Auth problem

2010-11-29 Thread appydev
Massimo apology, no understand.

Sorry if poorly formulated question, do not speak English and use google to
translate.

The registration form I made. working, and stored in the database correctly.

My doubts began when I realized I lost functionality with respect to the
registration form by default.

also not to create a group for new users[1], Is there any other
functionality that is lost when working as I am doing?
Am I doing my application less secure, creating myself my registration form?

___

1  Authorization

Once a new user is registered, a new group is created to contain the user.
The role of the new user is conventionally user_[id] where [id] is the id
of the newly created id. The creation of the group can be disabled with

auth.settings.create_user_groups = False

although we do not suggest doing so.




2010/11/29 mdipierro mdipie...@cs.depaul.edu

 Lots.

 this

 form=SQLFORM.factory (table1, table2)
 form.accepts(...)

 will not do any database IO

 On Nov 29, 4:28 pm, appydev appy...@gmail.com wrote:
  Greetings.
 
  As above. I wanted to build a registration form to fill two tables,
  auth_user and teacher.
 
  I use SQLFORM.factory (table1, table2) to create the form.
 http://www.web2pyslices.com/main/slices/take_slice/102to fill the tables.
  And auth.settings.actions_disabled = ['register'] to disable the
  registration form created by default.
  (Thanks again to massimo and to mr.freeze)
 
  But later I realized that this way is no longer created a new group to
  contain the user, automatically.
  As is indicated by:
  auth.settings.create_user_groups = True
 
  My question is:
 
  Is there any other functionality that is lost when working as I am doing?
  Am I doing my application less secure, creating myself my registration
 form?



[web2py] accessible_query implement in GAE.

2010-11-29 Thread appydev
Greetings

Is there any way to do something like this in GAE?

rows = db (auth.accessible_query ('read', db.mytable)). select
(db.mytable.ALL)

Thanks


[web2py] query incompatible in GAE

2010-11-27 Thread appydev
Greetings.

I'm doing a query that returns only some fields.

rows = db(db.theacher.id0).select(db.theacher.subject)

Web2py  server works properly.

theacher.subject
math


But in the GAE development server, it returns all fields.

theacher.id theacher.modified_on theacher.subject
1 2010-11-27 17:12:37.685454 math

Does anyone know the cause of the problem?


Re: [web2py] Re: query incompatible in GAE

2010-11-27 Thread appydev
Thanks Massimo.


2010/11/27 mdipierro mdipie...@cs.depaul.edu

 GAE does not support filtering of fields. We could filter at web2py
 level.
 Shall I implement this? Anybody against?

 Massimo

 On Nov 27, 11:55 am, appydev appy...@gmail.com wrote:
  Greetings.
 
  I'm doing a query that returns only some fields.
 
  rows = db(db.theacher.id0).select(db.theacher.subject)
 
  Web2py  server works properly.
 
  theacher.subject
  math
 
  But in the GAE development server, it returns all fields.
 
  theacher.id theacher.modified_on theacher.subject
  1 2010-11-27 17:12:37.685454 math
 
  Does anyone know the cause of the problem?



[web2py] Actions exposed by auth.

2010-11-24 Thread appydev
Greetings

I have another question from beginner:

In web2py book reads as follows:

By default they are all exposed, but it is possible to restrict access to
only some of these actions.

Referring to the following:

http://.../ [app] / default / user / register
http://.../ [app] / default / user / login
http://.../ [app] / default / user / logout
http://.../ [app] / default / user / profile
http://.../ [app] / default / user / change_password
http://.../ [app] / default / user / verify_email
http://.../ [app] / default / user / retrieve_username
http://.../ [app] / default / user / request_reset_password
http://.../ [app] / default / user / reset_password
http://.../ [app] / default / user / impersonate
http://.../ [app] / default / user / groups
http://.../ [app] / default / user / not_authorized


Is it possible to expose only some of these actions?


Re: [web2py] Re: Actions exposed by auth.

2010-11-24 Thread appydev
Thanks again Massimo.

2010/11/24 mdipierro mdipie...@cs.depaul.edu

 auth.settings.actions_disabled=['groups','impersonate'] # etc etc

 On Nov 24, 12:34 pm, appydev appy...@gmail.com wrote:
  Greetings
 
  I have another question from beginner:
 
  In web2py book reads as follows:
 
  By default they are all exposed, but it is possible to restrict access
 to
  only some of these actions.
 
  Referring to the following:
 
  http://.../[app] / default / user / registerhttp://.../[app] / default /
 user / loginhttp://.../[app] / default / user / logouthttp://.../[app] /
 default / user / profilehttp://.../[app] / default / user /
 change_passwordhttp://.../[app] / default / user /
 verify_emailhttp://.../[app] / default / user /
 retrieve_usernamehttp://.../[app] / default / user /
 request_reset_passwordhttp://.../[app] / default / user /
 reset_passwordhttp://.../[app] / default / user /
 impersonatehttp://.../[app] / default / user / groupshttp://.../[app] /
 default / user / not_authorized
 
  Is it possible to expose only some of these actions?



[web2py] Beginner Auth problem

2010-11-23 Thread appydev
Greetings.

I have a problem, I hope you can help me.

I have two models: Teacher, Student. Each with different attributes.

It occurred to me to implement them, linking tables:

db.define_table('teacher',
Field('person', length=64), requires=IS_IN_DB(db,
'auth_user.uuid')),
 ...

db.define_table('student',
Field('person', length=64), requires=IS_IN_DB(db,
'auth_user.uuid')),
 ...


Maybe not the best way to do it if they think of a better, please I'd like
to hear.


The problem is that I want to make a registration form to Teacher. But
generating Auth, just fields auth_user.

How do I include in a form fields auth_user + fields teacher?


Re: [web2py] Re: Beginner Auth problem

2010-11-23 Thread appydev
Thank you very much for your response.

But I still have a doubt:

Is it possible to modify the registration form to insert data into two
tables?

where one of the tables is auth_user.


2010/11/23 mdipierro mdipie...@cs.depaul.edu



 On Nov 23, 7:40 am, appydev appy...@gmail.com wrote:
  Greetings.
 
  I have a problem, I hope you can help me.
 
  I have two models: Teacher, Student. Each with different attributes.
 
  It occurred to me to implement them, linking tables:
 
  db.define_table('teacher',
  Field('person', length=64), requires=IS_IN_DB(db,
  'auth_user.uuid')),
   ...
 
  db.define_table('student',
  Field('person', length=64), requires=IS_IN_DB(db,
  'auth_user.uuid')),
   ...
 
  Maybe not the best way to do it if they think of a better, please I'd
 like
  to hear.
 
  The problem is that I want to make a registration form to Teacher. But
  generating Auth, just fields auth_user.
 
  How do I include in a form fields auth_user + fields teacher?

 Although this can be done the problem is workflow. When a person
 register, the person cannot decide to be a teacher. Somebody must
 appoint the teacher.

 I would:
 - give the auth_user table a field 'teacher' boolean and default to
 false
 - have an administrator use appadmin to turn the teacher flag to on
 -

 appydev
 View profile
 More options Nov 23, 7:40 am
 From: appydev appy...@gmail.com
 Date: Tue, 23 Nov 2010 09:10:50 -0430
 Local: Tues, Nov 23 2010 7:40 am
 Subject: [web2py] Beginner Auth problem
 Reply | Reply to author | Forward | Print | Individual message | Show
 original | Remove | Report this message | Find messages by this author

 Greetings.

 I have a problem, I hope you can help me.

 I have two models: Teacher, Student. Each with different attributes.

 It occurred to me to implement them, linking tables:


 db.define_table('teacher',Field('person',db.auth_user,writable=False,readable=False,default=auth.user_id),...)
 - add code like:

 if auth.user and auth.user.teacher but not
 db(db.teacher.person==auth.user_id).count():
redirect(URL('page_to_create_teacher_record'))



Re: [web2py] Beginner Auth problem

2010-11-23 Thread appydev
Thank you very much for the help.


2010/11/23 appydev appy...@gmail.com

 Greetings.

 I have a problem, I hope you can help me.

 I have two models: Teacher, Student. Each with different attributes.

 It occurred to me to implement them, linking tables:

 db.define_table('teacher',
 Field('person', length=64), requires=IS_IN_DB(db,
 'auth_user.uuid')),
  ...

 db.define_table('student',
 Field('person', length=64), requires=IS_IN_DB(db,
 'auth_user.uuid')),
  ...


 Maybe not the best way to do it if they think of a better, please I'd like
 to hear.


 The problem is that I want to make a registration form to Teacher. But
 generating Auth, just fields auth_user.

 How do I include in a form fields auth_user + fields teacher?



[web2py] Application developed with web2py like Django People

2010-11-17 Thread appydev
Greetings to everyone.

I recently read about an application developed with web2py like Django
People I get to test it and I read about some suggestions from Massimo.

I've been looking but can not find it. Anyone remember it?


Re: [web2py] Re: Application developed with web2py like Django People

2010-11-17 Thread appydev
Excellent. Thanks for responding.

A much changed. I remember an application that was made just for the map of
the experts. And since I'm beginner, I wanted to see the application to
learn, remember being hosted on Google App Engine.


2010/11/17 mdipierro mdipie...@cs.depaul.edu

 we are taking a different approach

   https://experts4solutions.com

 You can sign up. I will approve those people who I recognize as
 contributors and/or have proven skills by deploying a web2py
 application. After we reach ~50 people new members will have to be
 endorsed by 5 existing members to be approved.

 If you have already signed up but your name is not listed (not
 approved) but you feel you deserve it, please email me and explain
 why. It is possible I did not recognize your name.

 Massimo

 On Nov 17, 9:07 am, appydev appy...@gmail.com wrote:
  Greetings to everyone.
 
  I recently read about an application developed with web2py like Django
  People I get to test it and I read about some suggestions from Massimo.
 
  I've been looking but can not find it. Anyone remember it?



Re: [web2py] Re: Application developed with web2py like Django People

2010-11-17 Thread appydev
Yes! Thanks Anthony.


2010/11/17 Anthony abasta...@gmail.com

 Are you talking about this:

 http://web2pyople.appspot.com/


 On Nov 17, 10:46 am, appydev appy...@gmail.com wrote:
  Excellent. Thanks for responding.
 
  A much changed. I remember an application that was made just for the map
 of
  the experts. And since I'm beginner, I wanted to see the application to
  learn, remember being hosted on Google App Engine.
 
  2010/11/17 mdipierro mdipie...@cs.depaul.edu
 
 
 
   we are taking a different approach
 
https://experts4solutions.com
 
   You can sign up. I will approve those people who I recognize as
   contributors and/or have proven skills by deploying a web2py
   application. After we reach ~50 people new members will have to be
   endorsed by 5 existing members to be approved.
 
   If you have already signed up but your name is not listed (not
   approved) but you feel you deserve it, please email me and explain
   why. It is possible I did not recognize your name.
 
   Massimo
 
   On Nov 17, 9:07 am, appydev appy...@gmail.com wrote:
Greetings to everyone.
 
I recently read about an application developed with web2py like
 Django
People I get to test it and I read about some suggestions from
 Massimo.
 
I've been looking but can not find it. Anyone remember it?- Hide
 quoted text -
 
  - Show quoted text -


Re: [web2py] Re: Application developed with web2py like Django People

2010-11-17 Thread appydev
Thank you very much Anthony, I spend part of the morning trying to find in
the search of the group without any results. with queries like django clone
people. Is rare.

Thank you very much again.

2010/11/17 Anthony abasta...@gmail.com

 Also, there's this one (a little older):

 http://www.appenginepeople.net/users/tag/web2py/

 Discussed here:

 http://groups.google.com/group/web2py/browse_frm/thread/668fade78f5c3d79

 and here:

 http://groups.google.com/group/web2py/browse_frm/thread/aa692ce9bc9c572e

 On Nov 17, 10:57 am, Anthony abasta...@gmail.com wrote:
  Are you talking about this:
 
  http://web2pyople.appspot.com/
 
  On Nov 17, 10:46 am, appydev appy...@gmail.com wrote:
 
 
 
   Excellent. Thanks for responding.
 
   A much changed. I remember an application that was made just for the
 map of
   the experts. And since I'm beginner, I wanted to see the application
 to
   learn, remember being hosted on Google App Engine.
 
   2010/11/17 mdipierro mdipie...@cs.depaul.edu
 
we are taking a different approach
 
 https://experts4solutions.com
 
You can sign up. I will approve those people who I recognize as
contributors and/or have proven skills by deploying a web2py
application. After we reach ~50 people new members will have to be
endorsed by 5 existing members to be approved.
 
If you have already signed up but your name is not listed (not
approved) but you feel you deserve it, please email me and explain
why. It is possible I did not recognize your name.
 
Massimo
 
On Nov 17, 9:07 am, appydev appy...@gmail.com wrote:
 Greetings to everyone.
 
 I recently read about an application developed with web2py like
 Django
 People I get to test it and I read about some suggestions from
 Massimo.
 
 I've been looking but can not find it. Anyone remember it?- Hide
 quoted text -
 
   - Show quoted text -- Hide quoted text -
 
  - Show quoted text -


Re: [web2py] web2py 1.89.1 is OUT

2010-11-12 Thread appydev
Really beautiful!


Re: [web2py] Instant Press in beta

2010-10-18 Thread appydev
Congratulations, it's great.


2010/10/18 Martin.Mulone mulone.mar...@gmail.com

 After almost 3 month of heavy development, i think its mature enough
 to move to beta phase. Well for me was a proof of concept, of what can
 i do in web2py, i have to thank to massimo and the community to
 answered my littles questions. What's new in beta, well i suggest to
 see the page and watch new tour in instant press video, because I made
 a lot of changes, and i test it a lot. What you can do for instant
 press? Test. I know there some little issues, and some others I don't
 know. I made the code clear enough for who's like to read source code,
 and want to start medium size project in web2py.

 new video in:
 http://www.youtube.com/watch?v=gtdJ5JCxiJQ

 http://code.google.com/p/instant-press/

 Instant Press is an open source CMS developed in Web2py Framework.
 Instant Press is simple, easy to use and attractive. Upload to your
 web2py framework or to Google Application Engine and you are ready to
 start!

 thanks,

 Martin.