StaticGeneratorException on class-based generic views
AttributeError is being raised when quick_publish is called passing a path processed by a class-based generic view. The error occurs exactily in this line, using Django 1.3, in an attempt to lower case request.method which is not defined.
The solution was implemented using only one line of code in staticgenerator.StaticGenerator.get_content_from_path:
request = self.http_request()
request.method = 'GET' #<====
request.path_info = path
Maybe a more elaborated solution is needed to avoid simliar issues, but this tiny modification solved my problems.
adding GET how reuqest.method isn't the way for fix this problem
IMHO, the best way is choose RequestFactory to create a request instance
I'm working on it, and too adding and refactoring several tests and removing useless FS layer in my fork