classy-python/ccbv

Add inspection for WizardView

ralphje opened this issue · 5 comments

While developing a wizard I noticed that the django.contrib.formtools.wizard.views.WizardView and subclasses are not present on ccbv.co.uk. Perhaps these should be added?

Hey there, good find, thanks for the report :) It surely looks like we've missed something there.

When we first made CCBV all of the class-based views were in the same module, so it was trivial to "Catch them all", but I suppose they seem to be spreading!

We'll need to make a change to how the import script works to implement this, and to be honest, at the moment, I don't have the time. I'll leave this here in case someone wants to take it up, or I manage to get some time to put into this, as I think it would be a valuable addition to the site.

Thanks again, and I'm sorry to give you such a disappointing reply.

I don't have any time to test this and have no clue what I'm actually doing, but perhaps this is a step in the right direction:

ralphje@d0b8251

It looks like a step in the right direction to me :)

formtools is no longer at django.contrib.formtools and is now a third-party package. So it's no longer just a case of adding the ability to import from multiple places within Django (although we should totally do that: I might have a bash this holiday), it'd be an extension into inspecting views from third party packages. Which might well be worth doing, but it's now a much bigger chunk of work I think.

Thanks to @exonian these are now available on the appropriate Django versions!