Ignore:
Timestamp:
Sep 8, 2011, 1:31:12 AM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage, test-hooks
Children:
aa31d18
Parents:
bb674c2
git-author:
Alex Dehnert <adehnert@…> (09/08/11 00:51:05)
git-committer:
Alex Dehnert <adehnert@…> (09/08/11 01:31:12)
Message:

Support basic start-of-year form

  • Anti-hazing acknowledgement
  • Group membership information
  • Group membership confirmation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/models.py

    rbb674c2 r5b834ab  
    135135            preview.update_time = cls.never_updated
    136136            preview.save()
     137
     138
     139class GroupMembershipUpdate(models.Model):
     140    update_time = models.DateTimeField(default=datetime.datetime.utcfromtimestamp(0))
     141    updater_name = models.CharField(max_length=30)
     142    updater_title = models.CharField(max_length=30, help_text="You need not hold any particular title in the group, but we like to know who is completing the form.")
     143   
     144    group = models.ForeignKey(groups.models.Group, help_text="If your group does not appear in the list above, then please email asa-exec@mit.edu.")
     145    group_email = models.EmailField(help_text="The text of the law will be automatically distributed to your members via this list, in order to comply with the law.")
     146    officer_email = models.EmailField()
     147
     148    membership_definition = models.TextField()
     149    num_undergrads = models.IntegerField()
     150    num_grads = models.IntegerField()
     151    num_community = models.IntegerField()
     152    num_other = models.IntegerField()
     153
     154    membership_list = models.TextField(help_text="Member emails on separate lines (Athena usernames where applicable)")
     155
     156    compliance_statement = "By checking this, I hereby affirm that I have read and understand Chapter 269: Sections 17, 18, and 19 of Massachusetts Law. I furthermore attest that I will distribute to group members, pledges, and/or applicants, copies of Massachusetts Law 269: 17, 18, 19 and that our organization, group, or team agrees to comply with the provisions of that law. (See below for text.)"
     157    no_hazing = models.BooleanField(help_text=compliance_statement)
     158
     159
     160class PersonMembershipUpdate(models.Model):
     161    update_time = models.DateTimeField(default=datetime.datetime.utcfromtimestamp(0))
     162    username = models.CharField(max_length=30)
     163    groups = models.ManyToManyField(groups.models.Group, help_text="By selecting a group here, you indicate that you are an active member of the group in question.<br>If your group does not appear in the list above, then please email asa-exec@mit.edu.<br>")
Note: See TracChangeset for help on using the changeset viewer.