Skip to content

AgroDevUz/ekinjoylash

Repository files navigation

Crop Schedule Application

GitHub Pipenv locked Python version GitHub Pipenv locked dependency version GitHub Workflow Status

Before deploy

Flask-Admin

There were some problems with leaflet in Flask-Admin After instalation Flask-Admin go

your_env\Lib\site-packages\flask_admin\contrib\geoa\fields.py

Search: self.transform_srid = self.srid

Before this add this lines: self.web_srid = self.srid

if self.srid == -1:
    self.transform_srid = self.web_srid
else:
    self.web_srid = self.srid
    self.transform_srid = self.srid

Config

Create copy of app/config.example.py and rename as config.py