mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 22:11:54 +08:00
* adding missing db.backends typings and updated test * added missing stubs * reformatted files * removed contrib.postgres.forms * fixed test
34 lines
924 B
Python
34 lines
924 B
Python
from django.contrib.gis.db.backends.base.models import SpatialRefSysMixin as SpatialRefSysMixin
|
|
from django.db import models as models
|
|
from typing import Any
|
|
|
|
class SpatialiteGeometryColumns(models.Model):
|
|
f_table_name: Any = ...
|
|
f_geometry_column: Any = ...
|
|
coord_dimension: Any = ...
|
|
srid: Any = ...
|
|
spatial_index_enabled: Any = ...
|
|
type: Any = ...
|
|
class Meta:
|
|
app_label: str = ...
|
|
db_table: str = ...
|
|
managed: bool = ...
|
|
@classmethod
|
|
def table_name_col(cls): ...
|
|
@classmethod
|
|
def geom_col_name(cls): ...
|
|
|
|
class SpatialiteSpatialRefSys(models.Model, SpatialRefSysMixin):
|
|
srid: Any = ...
|
|
auth_name: Any = ...
|
|
auth_srid: Any = ...
|
|
ref_sys_name: Any = ...
|
|
proj4text: Any = ...
|
|
srtext: Any = ...
|
|
class Meta:
|
|
app_label: str = ...
|
|
db_table: str = ...
|
|
managed: bool = ...
|
|
@property
|
|
def wkt(self): ...
|