Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
postgis
Commits
304f8dc463d2
Commit
434b1632
authored
Sep 01, 2017
by
Samuel Trégouët
Browse files
new sytle: update import statements
(Closes #17100017)
parent
4a4fad5f7c66
Changes
2
Hide whitespace changes
Inline
Side-by-side
cubicweb_postgis/site_cubicweb.py
View file @
304f8dc4
...
...
@@ -8,7 +8,7 @@ from yams import register_base_type
from
rql.utils
import
register_function
from
cub
es.
postgis
import
_GEOM_PARAMETERS
,
_GEOG_PARAMETERS
from
cub
icweb_
postgis
import
_GEOM_PARAMETERS
,
_GEOG_PARAMETERS
# register new base type
register_base_type
(
_
(
'Geometry'
),
_GEOM_PARAMETERS
)
...
...
test/data/schema.py
View file @
304f8dc4
...
...
@@ -16,7 +16,8 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
from
yams.buildobjs
import
EntityType
,
String
from
cubes.postgis.schema
import
Geometry
,
Geography
from
cubicweb_postgis.schema
import
Geometry
,
Geography
class
City
(
EntityType
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment