Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Restructuring to avoid cicrular dependency in 3rd party deployments
  • Loading branch information
audaciouscode committed May 7, 2017
1 parent 78a1be4 commit 4d2ef44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion models.py
Expand Up @@ -13,7 +13,6 @@
import numpy
import pytz

from django.conf import settings
from django.core.urlresolvers import reverse
from django.db import models, connection
from django.db.models import Sum
Expand Down Expand Up @@ -972,6 +971,8 @@ class PurpleRobotPayload(models.Model):
errors = models.TextField(max_length=65536, null=True, blank=True)

def ingest_readings(self): # pylint: disable=too-many-branches, too-many-statements
from django.conf import settings

tags = self.process_tags

tag = 'extracted_readings'
Expand Down

0 comments on commit 4d2ef44

Please sign in to comment.