From 6731207be8ce3d2a7529005874fcc030fb98fa01 Mon Sep 17 00:00:00 2001 From: Christophe Boulanger Date: Mon, 3 Apr 2017 14:07:10 +0200 Subject: [PATCH] Save models.py because 'stash' bad lines --- passerelle_imio_ts1_datasources/models.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/passerelle_imio_ts1_datasources/models.py b/passerelle_imio_ts1_datasources/models.py index b675d6e..45dfb55 100644 --- a/passerelle_imio_ts1_datasources/models.py +++ b/passerelle_imio_ts1_datasources/models.py @@ -128,7 +128,6 @@ class ImioTs1Datasources(BaseResource): def get_destination_terms(self): return DestinationTerm.objects.all() -<<<<<<< Updated upstream def export_json(self): d = super(ImioTs1Datasources, self).export_json() d['motivations'] = [x.export_json() for x in MotivationTerm.objects.all()] @@ -155,10 +154,6 @@ class ImioTs1Datasources(BaseResource): DestinationTerm.objects.bulk_create(new) return instance -======= - def motivationterms_import(self, request, **kwargs): - import pdb;pdb.set_trace() ->>>>>>> Stashed changes @endpoint() def motivationterms(self, request, **kwargs):