title: In Django rest framework: GDAL_ERROR 1: b'PROJ: proj_as_wkt: Cannot find proj.db '
body: <p>I am using the versions for my project:</p>
  
  <pre><code>Django==2.2.7
  djangorestframework==3.10.3
  mysqlclient==1.4.5
  </code></pre>
  
  <p>In my database I work with geometric types, and for this I have configured the library: GDAL-3.0.2-cp38-cp38-win32</p>
  
  <p>To run this library, I have to include these variables in the django properties file:</p>
  
  <pre><code>GEOS_LIBRARY_PATH
  GDAL_LIBRARY_PATH
  </code></pre>
  
  <p>Now on my models, I do the following import:</p>
  
  <pre><code>from django.contrib.gis.db import models
  </code></pre>
  
  <p>For types like:</p>
  
  <pre><code>coordinates = models.GeometryField (db_column = 'Coordinates', blank = True, null = True)
  </code></pre>
  
  <p>It seems that the queries work correctly, but when creating a new element, I get the following error:</p>
  
  <pre><code>GDAL_ERROR 1: b'PROJ: proj_as_wkt: Cannot find proj.db '
  </code></pre>
  
  <p>But after this error, the object is persisted correctly in the database.</p>
  
  <p>I would like to know how to solve this error.</p>
  
  <p>I have not found information on the network, I have only tried to declare a new variable in the DJANGO properties file:</p>
  
  <pre><code>PROJ_LIB = 'APP / backend / env / Lib / site-packages / osgeo / data / proj / proj.db'
  </code></pre>
  
  <p>But the error still appears, and you may have problems in the production environment in an OpenSuse image</p>
  
  <p>Why can't you find proj.db?
  How do I solve it?</p>