I would start out making the values static (as part of your view).  As you get annoyed with editing them, put them in a database or make them autogenerate.  In any case, make sure your code is in version control so you have a record of what values where there at what time for auditing purposes.

-tim

Wes James wrote:
I am creating a scholarship application with web2py.  I wondering how
to code or implement these items.

I have several dropdown lists:

Expected Graduation:
Fall 2009 or Spring 2010
Fall 2010 or Spring 2011
Fall 2011 or Spring 2012
Fall 2012 or Spring 2013

Ethnicity:
American Indian
Asian
Black or African American
....
etc.

Gender:
Female
Male

How many overall credits at end of Spring 2008
1-29 (Freshman)
30-59 (Sophomore)
...
etc.

Should I put these in to a database or just make lists out of them
that can be edited each year (as years change)? I'm guessing for the
Expected grad year, I could implement some kind of python code that
does now+1, now+2, now+3, etc... for the years.

thx,

-wj


  

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

begin:vcard
fn:Timothy Farrell
n:Farrell;Timothy
org:Statewide General Insurance Agency;IT
adr:;;4501 East 31st Street;Tulsa;OK;74135;US
email;internet:[EMAIL PROTECTED]
title:Computer Guy
tel;work:(918)492-1446
url:www.swgen.com
version:2.1
end:vcard

Reply via email to