Changeset 6fa456d for asadb


Ignore:
Timestamp:
Nov 13, 2012, 6:46:20 AM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
4d79976
Parents:
c7b6a3a
git-author:
Alex Dehnert <adehnert@…> (11/13/12 06:46:20)
git-committer:
Alex Dehnert <adehnert@…> (11/13/12 06:46:20)
Message:

forms:0013: note that MySQL ignores the default...

Fortunately, we don't really care...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/migrations/0013_add_cycle_deadlines.py

    rc7b6a3a r6fa456d  
    1010       
    1111        # Adding field 'GroupConfirmationCycle.deadlines'
     12
     13        # In reality, MySQL doesn't appear to support default values for TEXT
     14        # columns, so this doesn't actually matter. Fortunately, we don't
     15        # actually care about the form for old cycles contain the correct form.
     16        # We leave in the default text (from Fall 2011) anyway, because why
     17        # not...
     18
    1219        initial_deadline = "This form is due by Friday October 7th at 11:59PM. This is very important for confirming that your group is active, so groups that don't submit this form by that date will be fined $50. Groups that still haven't submitted this by Friday October 21st will be fined an additional $50 and will be suspended. Finally, groups that haven't submitted this by November 4th will be derecognized."
    1320        db.add_column('forms_groupconfirmationcycle', 'deadlines', self.gf('django.db.models.fields.TextField')(default=initial_deadline, blank=True), keep_default=False)
Note: See TracChangeset for help on using the changeset viewer.