From 9deaad44375daf3d4670b17f89ebc8306755568d Mon Sep 17 00:00:00 2001 From: substantialnoninfringinguser Date: Thu, 2 Jul 2009 23:02:42 +0100 Subject: [PATCH] [svn] More fallout of renaming expo to core. Also fix --- core/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/models.py b/core/models.py index 8e00941..fa961ed 100644 --- a/core/models.py +++ b/core/models.py @@ -26,7 +26,7 @@ class TroggleModel(models.Model): return self._meta.object_name def get_admin_url(self): - return urlparse.urljoin(settings.URL_ROOT, "/admin/expo/" + self.object_name().lower() + "/" + str(self.pk)) + return urlparse.urljoin(settings.URL_ROOT, "/admin/core/" + self.object_name().lower() + "/" + str(self.pk)) class Meta: abstract = True @@ -38,7 +38,7 @@ class TroggleImageModel(ImageModel): return self._meta.object_name def get_admin_url(self): - return urlparse.urljoin(settings.URL_ROOT, "/admin/expo/" + self.object_name().lower() + "/" + str(self.pk)) + return urlparse.urljoin(settings.URL_ROOT, "/admin/core/" + self.object_name().lower() + "/" + str(self.pk)) class Meta: