aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/monkey_patch.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/dispatch/monkey_patch.py')
-rw-r--r--app/dispatch/monkey_patch.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/dispatch/monkey_patch.py b/app/dispatch/monkey_patch.py
deleted file mode 100644
index cc61b6e..0000000
--- a/app/dispatch/monkey_patch.py
+++ /dev/null
@@ -1,10 +0,0 @@
-from django.contrib.auth import get_user_model
-from django.core.urlresolvers import reverse
-
-# This should be going away soon with the addition
-# of my custom user model
-
-def get_absolute_url(self):
- return reverse('driver_details', kwargs={'pk': self.pk})
-
-User.add_to_class("get_absolute_url", get_absolute_url)