Sunday, June 19, 2011

The End

You can go here to try it out <- If you want to download it.

Monday, June 13, 2011


Get minimal.w2p from web2py-teaching-mode or here
Copy it to /home/user/web2py, rename or delete welcome.w2p and rename minimal.w2p to welcome.w2p.

Friday, June 10, 2011


The package maintainer got back and said that the package was missing a critical file. I tested the new package and it works.

On web development I'm adapting the shopping scripts to use sqlite. It appears to add to the database. Now I need to adapt it to produce a decent looking output.

Thursday, June 9, 2011


Used Kevin's tweaker to make a shopping list program. For improvement I plan on making it total the quantity and price, restrict input in the quantity and price field to numbers only and by default make it one item per "item". I might trying adding a delete function but after I learn some more (SQL?).

I got the latest unstable debian package which is also the latest web2py. I have verified that it does NOT work with math quiz. Still import errors.

I e-mailed Nico about it after his suggestion in IRC and will see his response tomorrow.

Thursday, June 2, 2011

Change default web2py template

To change the default web2py template from the Welcome app to Nico's Minimal app. Copy the minimal.w2p to the root of the web2py directory, delete or backup welcome.w2p and rename minimal.w2p to welcome.w2p.

Courtesy of Nico.

Instructions for the web2py package coming soon...

Wednesday, June 1, 2011

Testing 6/1/11

Running an imported package
You cannot just copy an application from one web2py installation to teaching-mode-web2py. You must package it an import it.
Only the admin can see the app even if another user imported it and even then only the admin can run it, not edit.

I've encountered a problem which I am going to try to see if I can reproduce where trying to access the admin interface I encounter a redirect loop. This occurs in both Firefox and Chrome but is remedied by clearing the cookies.

I also lost all of my test users from yesterday. The teacher was fine though. I have no idea on how it happened.

As a suggestion the teacher should at least be able to uninstall a student's apps if not given full control.

Tuesday, May 31, 2011

Testing 5/31/11

I'll figure out better titles for these posts later but for now...

I created three users. Me and two test users. I was the first user to register. So what I have learned so far...

The first user can see any apps that the test users create, the test users can only see their own apps and the teacher cannot edit the student apps (whether they should be able to I need to find out).

Jeff gave me some apps to test. I copied them to the applications directory and they appear in the admin interface but when I try to run them it gives me an error.

When a student creates an app and then uninstalls it. The app is removed from the applications directory but left in the applist.