-
Notifications
You must be signed in to change notification settings - Fork 405
Some Views as CBV #487
base: master
Are you sure you want to change the base?
Some Views as CBV #487
Conversation
…PasswordChange CBV
You have mentioned django1.8 support. Does it now passes tests on django1.8? Could we add a new test environment to test it? |
@swistakm the app past all test in django 1.8, without anychange but show a lot of warnings, when executed |
OK, I reviewed this briefly and I really like refactorization done to views because it really makes code easier to read and maintain. But there is a serious problem and can be merged in that form. Many userena users customize views by importing them from So there should be still option to import views like before. They could be simply instantiated in I think that we could drop all function based views in userena 2.x and successfully deprecate them in incoming minor releases. I think that this would go to userena==1.5.0 and should also mark as deprecated those views that were replaced by CBV versions. Anyway I really like that change but it needs some improvements to be merged. |
@swistakm Is this what you mean or have to create something more explicit warnings? |
when to merge this? |
I wanted to make it a part of 2.0.0 release but it was just the time to release support for django 1.9 and this PR was not reviewed yet. I want to make these class-based views as a part of 2.1.0 release but this will require some additional work:
Without the help of others this will take some time because I have a very limited resources. |
this commit has a mix in support django 1.8 and convert some views to CBV, for better maintainability, also #485 add some support and remove warnings