From 2deb6a356aab1c18443748e7c6d693e60086ddcf Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 10 Sep 2015 14:17:04 +0300 Subject: Ditching Sites --- servo/models/purchases.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'servo/models/purchases.py') diff --git a/servo/models/purchases.py b/servo/models/purchases.py index 4b9a886..c7a31d2 100644 --- a/servo/models/purchases.py +++ b/servo/models/purchases.py @@ -27,7 +27,6 @@ from django.db import models from django.conf import settings from django.utils import timezone -from django.contrib.sites.models import Site from django.utils.translation import ugettext_lazy as _ from django.dispatch import receiver @@ -49,11 +48,6 @@ class PurchaseOrder(models.Model): Creating a PO from an SO only creates the PO, it does not submit it. """ - site = models.ForeignKey( - Site, - editable=False, - default=defaults.site_id - ) location = models.ForeignKey( Location, editable=False, -- cgit v1.2.3