Allow null values in UD fields for membership demographics
Update for whoosh's handling of Boolean fields (need to be ints instead of bool).
PEP 8 events/urls.py
PEP8 on events/views.py events/urls.py
Updated the event roster export to show accurate invoice totals
Renamed membership renew link to "Admin Renew" for superusers only
Redirect to event detail if no pricing options available
Version bump to 5.1.40
Function to get or create a default entity
Function to get or create a default user group
Added 2 functions - get_global_setting and get_module_setting
Added a default group setting
Adding jobs back to the dashboard.
Adding reports.css back to reports/base.html
Removed unused event_type search index. PEP8 events feeds.py
Switch remove to batch-size for process_unindexed.
Adding 2 columns to the event roster export "is_paid" and "primary_registrant"
Refactoring the event roster export

Using Registration.registrant attribute that already exists to access primary registrant.
PEP8 memberships/models and memberships/views
Updated Invoice.bill_to and Invoice.ship_to method

These methods assumed that the User.profile attribute exited, now we check before referencing the profile attribute.