scrapy-djangoitem
scrapy-djangoitem copied to clipboard
Django item based on a Form instead of a Model?
I need a few temporary fields aside from the ones in the model. It would be super awesome if DjangoItem could inherit from a Form where those extra fields and their validation specs would be defined. The Form itself would be based on a Model using Django's FormModel. This would also allow to specify 'fields' to be inherited by the Form in case any need to be excluded. In essence this would be a ScrapyForm :)
+1 for this.
For large datasets, knowing if a record has changed is trivial using form.has_changed(). This can save a lot of processing.