Changeset ca9348d


Ignore:
Timestamp:
May 12, 2010, 11:05:08 PM (16 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, fysm-4-1, iframe, space-access, stable, stage, test-hooks
Children:
8913d43
Parents:
1dc5bb9
git-author:
Alex Dehnert <adehnert@…> (05/12/10 23:05:08)
git-committer:
Alex Dehnert <adehnert@…> (05/12/10 23:05:08)
Message:

Import primary key from old DB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/util/import_db.py

    r158cc8d rca9348d  
    3636        print d
    3737        g = groups.models.Group()
     38        g.pk                = d['ASA_STUDENT_GROUP_KEY']
    3839        g.name              = d['STUDENT_GROUP_NAME']
    3940        g.abbreviation      = d['STUDENT_GROUP_ACRONYM']
Note: See TracChangeset for help on using the changeset viewer.