File manager - Edit - /usr/local/CyberCP/lib/python3.10/site-packages/django/contrib/gis/db/backends/postgis/__pycache__/models.cpython-310.pyc
Back
o �h� � @ sF d Z ddlmZ ddlmZ G dd� dej�ZG dd� deje�ZdS ) zH The GeometryColumns and SpatialRefSys models for the PostGIS backend. � )�SpatialRefSysMixin)�modelsc @ s� e Zd ZdZejdd�Zejdd�Zejdd�Zejdd�Z e� � Zej dd�Zejdd�Z G dd� d�Zd d � Zedd� �Zed d� �ZdS )�PostGISGeometryColumnszc The 'geometry_columns' view from PostGIS. See the PostGIS documentation at Ch. 4.3.2. � �� max_lengthT��primary_key� c @ � e Zd ZdZdZdZdS )zPostGISGeometryColumns.Meta�gis�geometry_columnsFN��__name__� __module__�__qualname__� app_label�db_table�managed� r r �`/usr/local/CyberCP/lib/python3.10/site-packages/django/contrib/gis/db/backends/postgis/models.py�Meta � 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 �zPostGISGeometryColumns.__str__c C � dS )zf Return the name of the metadata column used to store the feature table name. r r ��clsr r r �table_name_col$ � z%PostGISGeometryColumns.table_name_colc C r! )zk Return the name of the metadata column used to store the feature geometry column. r r r"