Skip to content

rewrite instances view with CBV#529

Closed
bsavelev wants to merge 2 commits intoretspen:masterfrom
bsavelev:cbs
Closed

rewrite instances view with CBV#529
bsavelev wants to merge 2 commits intoretspen:masterfrom
bsavelev:cbs

Conversation

@bsavelev
Copy link
Copy Markdown

CBV more flexible, allow inheritance and more and more and more.
This view allow create custom view for instance list very simple.

CBS more flexible, allow inheritance and more and more and more.
This view allow create custom view for instance list very simple.
@bsavelev bsavelev changed the title rewrite instances view with CBS rewrite instances view with CBV Mar 20, 2015
@bsavelev
Copy link
Copy Markdown
Author

@retspen What do you think if I rewrite more views with CBV?

@retspen
Copy link
Copy Markdown
Owner

retspen commented Mar 27, 2015

Where do you inheritance the view? I think it isn't important like functionality in the project.

@bsavelev
Copy link
Copy Markdown
Author

Anyone can build somethink on the top of webvirtmgr)
I, for example, create filtered list of instance based on current user...
https://github.com/bsavelev/webvirtmgr/blob/drweb/simple/views.py#L15

IMHO, CBV easy to support, View function splitted, code more readable and much another features...

@retspen retspen closed this May 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants