Improve meta

* Made HTML description and title fields length configurable
* Added meta representation for CategoryEntriesView
This commit is contained in:
Iacopo Spalletti 2018-01-09 00:54:10 +01:00
commit a47b083a98
No known key found for this signature in database
GPG key ID: BDCBC2EB289F60C6
10 changed files with 209 additions and 44 deletions

View file

@ -254,6 +254,7 @@ class ViewTest(BaseTest):
self.assertEqual(list(context['post_list']), [posts[0]])
self.assertEqual(context['paginator'].count, 3)
self.assertEqual(context['post_list'][0].title, 'First post')
self.assertTrue(context['meta'])
request = self.get_page_request(pages[1], self.user, edit=False)
view_obj.request = request