Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…hon2.5. Removing use of gis models module.
  • Loading branch information...
commit fb15304051531316a90e5194de2f605d4f53eec3 1 parent 2fe329e
@willhardy authored
View
3  settings/__init__.py
@@ -1,4 +1,3 @@
# -*- coding: UTF-8 -*-
-from __future__ import absolute_import
-from .default import *
+from settings.default import *
View
1  surveymaker/admin.py
@@ -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
View
1  surveymaker/dynamic_models.py
@@ -1,5 +1,4 @@
# -*- coding: UTF-8 -*-
-from __future__ import absolute_import
import logging
from django.db import models
View
1  surveymaker/models.py
@@ -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  surveymaker/signals.py
@@ -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  surveymaker/utils.py
@@ -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  surveymaker/views.py
@@ -1,5 +1,4 @@
# -*- coding: UTF-8 -*-
-from __future__ import absolute_import
from .models import Survey
Please sign in to comment.
Something went wrong with that request. Please try again.