Refactor AddressConfirmationProfile
* Remove the Manager since that can be implemented in the save() method
* Assign proper initial values for the model
* generate the activation_key using uuid4()
* Remove the 'feature' creating a duplicate profile updates the first.
  as this should be impossible. Tests exist to ensure we do that properly
* Update tests, remove the fixed activation_keys that were not used for anything
1 parent 584d61e commit 4daded4b7c96b5a9ad76ec7d577e57cdb9d72b4c
@Simon Hanna Simon Hanna authored on 19 Jan 2016
Simon Hanna committed on 10 Feb 2016
Showing 4 changed files
View
src/postorius/models.py
View
src/postorius/tests/mailman_api_tests/test_address_activation.py
View
src/postorius/urls.py
View
src/postorius/views/user.py