From ff621baf8fb24b4714ace48c0220b0c33a3bbd52 Mon Sep 17 00:00:00 2001
From: Brian May <bam@debian.org>
Date: Tue, 3 May 2016 11:03:30 +1000
Subject: Fix errors building documentation

See https://github.com/bradleyayers/django-tables2/issues/324
---
 docs/conf.py                  | 2 +-
 docs/pages/generic-mixins.rst | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 2082598..ea3533f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -13,7 +13,7 @@ sys.path.pop(0)
 
 project = 'django-tables2'
 with open('../django_tables2/__init__.py', 'rb') as f:
-    release = re.search('__version__ = "(.+?)"', f.read()).group(1)
+    release = re.search("__version__ = '(.+?)'", f.read()).group(1)
 version = release.rpartition('.')[0]
 
 
diff --git a/docs/pages/generic-mixins.rst b/docs/pages/generic-mixins.rst
index b127054..62ad155 100644
--- a/docs/pages/generic-mixins.rst
+++ b/docs/pages/generic-mixins.rst
@@ -13,8 +13,6 @@ The following view parameters are supported:
   options to pass to `.RequestConfig`. Set ``table_pagination=False``
   to disable pagination.
 
-.. __: https://docs.djangoproject.com/en/stable/topics/class-based-views/
-
 For example:
 
 .. sourcecode:: python
