Hi There,
As a Designer/Frontend Dev with Wordpress experience, its been fantastic learning something new. I’m pretty impressed with Django so far, many thanks for the fantastic tutorial as well.
I have been having some issues with the sitemap page, particularly when I view - http://localhost:8000/sitemap.xml, it throws an error "AttributeError: ‘Thing’ object has no attribute ‘updated’’. From the terminal I can see it doesn’t like the “lastmod” attribute in sitemap.py, and the error is "AttributeError: ‘Thing’ object has no attribute ‘updated’. As soon as I remove the attribute “def lastmod(self, obj): return obj.updated”, the sitemap loads. As far as I can tell I have entered the code correctly for the urls.py, models.py and sitemap.py…
I’m completely stumped as to what the error is?