Changeset c060d8c for asadb/util


Ignore:
Timestamp:
Dec 12, 2011, 1:25:50 AM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage, test-hooks
Children:
4d6fe00
Parents:
1f4cc3c
git-author:
Alex Dehnert <adehnert@…> (12/12/11 00:23:27)
git-committer:
Alex Dehnert <adehnert@…> (12/12/11 01:25:50)
Message:

Use fixtures for categories, and track changes

  • Remove the old import_categories.py script, and associated legacy-categories.txt file
  • Add fixtures for:
    • Creating the groups.ActivityCategory? objects (formerly the role of the import_categories.py script, see above)
    • Creating the forms.FYSMCategory objects (formerly done by hand)
  • Diff those fixtures in the diff_static_data.sh script

This partially fixes Trac #29 and fixes Trac #30.

Location:
asadb/util
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/util/diff_static_data.sh

    r1f4cc3c rc060d8c  
    1010git add group-perms.py
    1111
     12../../manage.py dumpdata --format=xml --indent=4 groups.ActivityCategory > groups_initial_data.xml
     13../../manage.py dumpdata --format=xml --indent=4 forms.FYSMCategory > forms_initial_data.xml
     14git add {groups,forms}_initial_data.xml
    1215
    1316echo
Note: See TracChangeset for help on using the changeset viewer.