sc3 / cook-convictions-data

Django project for loading, cleaning and querying data about criminal convictions in Cook County, Illinois
4 stars 4 forks source link

Handle multiple values from get_iucr(), custom querysets for crime categories #8

Closed ghing closed 10 years ago

ghing commented 10 years ago

This includes the fix for #5 as well as the custom QuerySets and managers for querying convictions by crime categories.

It factors the custom queryset and manager classes out of convictions_data.models and into convictons_data.query and convictions_data.manager.

Finally, it fixes the delete cascade handling on foreignkey fields when deleting Conviction model instances.