/usr/local/lib/python3.9/site-packages/django/contrib/gis/db/backends/spatialite/__pycache__
a Ӱ�h� � @ sF d Z ddlmZ ddlmZ G dd� dej�ZG dd� deje�ZdS ) zK The GeometryColumns and SpatialRefSys models for the SpatiaLite backend. � )�SpatialRefSysMixin)�modelsc @ s~ e Zd ZdZejdd�Zejdd�Ze�� Z ejdd�Z e�� Zejdd�ZG dd � d �Z d d� Zedd � �Zedd� �ZdS )�SpatialiteGeometryColumnsz7 The 'geometry_columns' table from SpatiaLite. � �� max_lengthT�Zprimary_keyZ geometry_type)Z db_columnc @ s e Zd ZdZdZdZdS )zSpatialiteGeometryColumns.Meta�gisZgeometry_columnsFN��__name__� __module__�__qualname__Z app_labelZdb_tableZmanaged� r r �Z/usr/local/lib/python3.9/site-packages/django/contrib/gis/db/backends/spatialite/models.py�Meta s r c C s d| j | j| j| j| jf S )Nz%s.%s - %dD %s field (SRID: %d))�f_table_name�f_geometry_column�coord_dimension�type�srid��selfr r r �__str__ s �z!SpatialiteGeometryColumns.__str__c C s dS )zf Return the name of the metadata column used to store the feature table name. r r ��clsr r r �table_name_col"