Permalink
Browse files

Fixing import statements: apparently you don't need __future__ in pyt…

…hon2.5. Removing use of gis models module.
  • Loading branch information...
1 parent 2fe329e commit fb15304051531316a90e5194de2f605d4f53eec3 @willhardy committed Jun 10, 2011
View
@@ -1,4 +1,3 @@
# -*- coding: UTF-8 -*-
-from __future__ import absolute_import
-from .default import *
+from settings.default import *
View
@@ -1,6 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
-from __future__ import absolute_import
from django.contrib import admin
from django.db.models.signals import post_save
@@ -1,5 +1,4 @@
# -*- coding: UTF-8 -*-
-from __future__ import absolute_import
import logging
from django.db import models
View
@@ -1,5 +1,4 @@
# -*- coding: UTF-8 -*-
-from __future__ import absolute_import
from django.core.exceptions import ValidationError
from django.db import models
View
@@ -1,6 +1,5 @@
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
-from __future__ import absolute_import
from django.contrib import admin
from django.core.exceptions import ObjectDoesNotExist
View
@@ -2,7 +2,7 @@
# -*- coding: UTF-8 -*-
from django.db import connection, DatabaseError
-from django.contrib.gis.db import models
+from django.db import models
from django.contrib.admin.sites import NotRegistered
from django.db.models.signals import class_prepared
from django.db.models.loading import cache as app_cache
View
@@ -1,5 +1,4 @@
# -*- coding: UTF-8 -*-
-from __future__ import absolute_import
from .models import Survey

0 comments on commit fb15304

Please sign in to comment.