huddlej/pnwmoths — pull request #128 by philipbjorge (2012-01-26 01:24:38+00:00)
Title: Labels record merge

John,
I've put all of my commits regarding the label functionality on the labels_record_merge branch. I'll summarize the steps I did based on the wiki.

1. Latitude and Longitude were made optional in the import form and SpeciesRecord model in 087400a8.
2. Import parses out genus, species from filename in a function that is passed to CSV_Admin in 6c94c170.
3. Manager methods are added in 087400a8. This allows the following accessing:
```
SpeciesRecord.objects.all()
SpeciesRecord.records.all()
SpeciesRecord.labels.all()
```
4. Factsheet phenology and map data is loaded from records in 94561f40.
5. Label data is loaded into factsheet in 92805f68. I'm using javascript tooltips to show the thumbnails copyright data. No-JS compatability should be improved (add a ticket after merge).
6. Label/Record filters added to admin in 6c94c170.

Along the way, I addressed the following issues:
#45, #87 - Label/License data is now included with images for javascript users. These tickets can be closed after we finalize the format and license type.
#119 - Export ordering was fixed in 68e55fa2.

I will be adding documentation to the wiki for filters and expected import/export behavior for labels.

P.S. South migration might fail for you because it can't change the lat/lon to not required in the MySQL DB (at least it did on my machine). If you just make this change manually, it'll work fine.