new feature in trunk, for teachers mostly

87 views
Skip to first unread message

Massimo Di Pierro

unread,
Mar 26, 2012, 11:32:31 PM3/26/12
to web...@googlegroups.com
edit applications/admin/models/0.py and set

MULTI_USER_MODE = True

then register and login in the admin. The first user to login is the "teacher".
You will see two new buttons "manage students" and "bulk register". You can use the bulk register page to give accounts to all your students. They can create projects and see only their projects. You see them all.

Every time they edit/delete a file, web2py keeps track of the number of functional lines that have been added-removed. When you click on the about page for a project of one of your students you see a "progress" chart that shows how the added lines over time. X is time (negative, in days until today) and Y is lines (not including empty lines and # comments).

Please help me test it and suggest improvements.

Massimo

Jurgis Pralgauskis

unread,
Dec 22, 2012, 9:52:04 PM12/22/12
to web...@googlegroups.com
How can I setup EMAIL_SERVER to use gmail?

default is:
EMAIL_SERVER = 'localhost'

and what is the meaning of 
EMAIL_LOGIN = None

?
Thanks in advance :)

Massimo Di Pierro

unread,
Dec 22, 2012, 10:30:12 PM12/22/12
to web...@googlegroups.com
Yes


mail.settings.sender = 'smtp.gmail.com'
mail.settings.login = 'y...@gmail.com:password'
Reply all
Reply to author
Forward
0 new messages