Changeset 016afb4


Ignore:
Timestamp:
May 11, 2010, 5:55:19 AM (16 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, fysm-4-1, iframe, space-access, stable, stage, test-hooks
Children:
0c5539a
Parents:
5be39cc
git-author:
Alex Dehnert <adehnert@…> (05/11/10 05:55:19)
git-committer:
Alex Dehnert <adehnert@…> (05/11/10 05:55:19)
Message:

Add ~schema of the real DB

Location:
asadb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • asadb/groups/models.py

    r5be39cc r016afb4  
    22
    33# Create your models here.
     4class Group(models.Model):
     5    name = models.CharField(max_length=50)
     6    abbreviation = models.CharField(max_length=10, blank=True)
     7    description = models.TextField()
     8    activity_category = models.ForeignKey('ActivityCategory')
     9    website_url = models.URLField()
     10    constitution_url = models.URLField()
     11    meeting_times = models.TextField(blank=True)
     12    advisor_name = models.CharField(max_length=50, blank=True)
     13    num_undergrads = models.IntField()
     14    num_grads = models.IntField()
     15    num_community = models.IntField()
     16    num_other = models.IntField()
     17    group_email = models.EmailField()
     18    officer_email = models.EmailField()
     19    main_account_id = models.IntField()
     20    funding_account_id = models.IntField()
     21    athena_locker = models.CharField(max_length=14)
     22    recognition_date = models.DateField()
     23    update_date = models.DateTimeField()
     24    updater = models.CharField(max_length=30) # match Django username field
     25
     26class ActivityCategory(models.Model):
     27    name = models.CharField(max_length=50)
  • asadb/manage.py

    • Property mode changed from 100644 to 100755
Note: See TracChangeset for help on using the changeset viewer.