User profile with required and optional(?) fields
Registered by
Mathias Bøhn Grytemark
Djangos User-model takes care of:
* Email, first name, last name and username
We also need:
* Street address
* Country
* Postal code (place can be looked up automaticly for Norway at least)
* Phone number
* Gender
* Date of birth
Fields that we can get from allauth-providers (facebook) should be populated from there.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- High
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- Mathias Bøhn Grytemark
- Definition:
- Approved
- Series goal:
- Accepted for lancms2
- Implementation:
- Informational
- Milestone target:
- None
- Started by
- Mathias Bøhn Grytemark
- Completed by
- Mathias Bøhn Grytemark
Whiteboard
* Using signals from django-allauth to populate the UserProfile.
* Added django-countries so I get a nice CountryField to use in the UserProfile model.
* Django 1.6 doesn't have the "extend user with a profile-model", so UserProfile is just an OneToOneField with User. (Lookup with user.userprofil
(?)
Work Items
Dependency tree
* Blueprints in grey have been implemented.