Makes callables on the UserProfile model look distinct from typical double-underscore lookups. Different options on ModelAdmin behave differently, so this should make it clearer which option is using which data source.
Users can add country/region, state/province, and city to their profile. The data isn't displayed on the profile anywhere--let's do that in a follow-up: this is the important part for right now. You can't specify a specific region without specifying a more general one. For example, you can't list a state without a country, or a city without a state. Includes tests.
Refactored message to use jinja template. Added invite message to test_invites. Added tests to make sure that we can send invites without the optional personal message.
- Make nullable fields as blank=True. - Make non-changeable fields readonly in admin. - Remove ability to create new UserProfiles via admin. Doesn't make sense. - Fix some ManyToMany declarations in UserProfile.
Adding UserProfile.get_absolute_url() provides a link from the Django admin to view the user's profile on the site.
Review comment changes bug 761263 Made email and username callable and visible on admin panels.
Update UserProfile post_save signal to force users into the Staff group iff they have an email address in the AUTO_VOUCH_DOMAINS setting.
Add missing trans tag to home.html fix indents in profile.html