Ignore:
Timestamp:
May 15, 2010, 11:37:31 PM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, fysm-4-1, iframe, space-access, stable, stage, test-hooks
Children:
df381cb
Parents:
2f7114b
git-author:
Alex Dehnert <adehnert@…> (05/15/10 23:37:31)
git-committer:
Alex Dehnert <adehnert@…> (05/15/10 23:37:31)
Message:

Use the name "category" consistently

We want to support ASA-defined "categories" and free-form "tags".
Unfortunately, when originally coding I used the terms interchangeably.
This replaces instances of the "tag" name with the "category" name,
thus freeing up "tag" for the new semantics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/admin.py

    rdafa3c8 rc27da9e  
    1212    list_display_links = ('group', 'display_name', 'year', )
    1313
    14 class FYSMTagAdmin(admin.ModelAdmin):
     14class FYSMCategoryAdmin(admin.ModelAdmin):
    1515    list_display = (
    1616        'name',
     
    1919
    2020admin.site.register(forms.models.FYSM, FYSMAdmin)
    21 admin.site.register(forms.models.FYSMTag, FYSMTagAdmin)
     21admin.site.register(forms.models.FYSMCategory, FYSMCategoryAdmin)
Note: See TracChangeset for help on using the changeset viewer.