[web2py] Ordering a dropdown in SQLFORM alphabetically

2015-12-16 Thread Evan Caldwell
I am having a hard time ordering a dropdown in a SQLFORM alphabetically. In my model: db.define_table('departments', Field('name', notnull=True, unique=True), Field('college_id','reference college', label='College'), Field('department_rep_user_id','reference auth_user',

[web2py] Re: Ordering a dropdown in SQLFORM alphabetically

2015-12-16 Thread Evan Caldwell
5 at 8:33:06 PM UTC+1, Evan Caldwell wrote: >> >> >> I am having a hard time ordering a dropdown in a SQLFORM alphabetically. >> >> In my model: >> db.define_table('departments', >> Field('name', notnull=True, unique=True), >> Field('

[web2py] Re: Importing a csv I get type 'exceptions.NameError'(name 'step' is not defined)?

2015-06-09 Thread Evan Caldwell
I'm getting this same error and cannot figure it out. Any help would be much appreciated. On Wednesday, July 16, 2014 at 4:12:28 PM UTC-6, Jakob Hartman wrote: type 'exceptions.NameError' name 'step' is not definedVersionweb2py™Version 2.9.5-stable+timestamp.2014.03.16.02.35.39PythonPython

[web2py] cannot figure out class 'cPickle.UnpicklingError' invalid load key, ''.

2013-12-13 Thread Evan Caldwell
I got this error today after doing a git pull from my repo (there is one other person working on this code as well). I'm sure I'm missing something small but I don't know what. I also cannot get into database administration due to the same error. Thanks in advance for the help. class

[web2py] getting a dynamic total for a smartgrid

2013-11-01 Thread Evan Caldwell
I am new to web2py so please excuse any obvious questions. I have the following table: db.define_table('timeclock', Field('project','string', required=True, label='Project'), Field('work_date','date', required=True, label='Work Date'), Field('time_in','time', required=True,

Re: [web2py] web2py on Google Drive

2013-08-14 Thread Evan Caldwell
Johann, apparently I'm not sure.. I'll check it out. Thank you. On Wednesday, August 14, 2013 6:03:43 AM UTC-6, Johann Spies wrote: On 13 August 2013 19:29, Evan Caldwell daw...@gmail.com javascript:wrote: Johann, I didn't realize you had responded. I am using MySQL Are you sure

Re: [web2py] web2py on Google Drive

2013-08-13 Thread Evan Caldwell
Johann, I didn't realize you had responded. I am using MySQL and getting the error :class 'sqlite3.OperationalError' no such table: auth_user On Thursday, August 8, 2013 1:41:52 AM UTC-6, Johann Spies wrote: On 08/08/2013 01:10, Evan Caldwell wrote: I use Google Drive on all my machines

[web2py] Re: Performing database inserts with FORM( )

2013-08-13 Thread Evan Caldwell
Ross, I am currently trying to build a time clock app as well but I'm new to web2py (and fairly new to programming in general), I would love to be able to ask some questions. On Thursday, March 10, 2011 7:18:34 AM UTC-7, Ross Peoples wrote: Let's not forget about SQLFORM.factory either. This

[web2py] web2py on Google Drive

2013-08-07 Thread Evan Caldwell
I use Google Drive on all my machines to keep things synced up. I installed web2py on my windows laptop in a folder in my Google Drive (I use the windows client). Then I opened up web2py on my windows machine at work from the same synced folder. I can open up the admin page an all but when I