Django install_label error

I have installed django_neomodel in my django project and added django_neomodel in INSTALLED_APPS and added following lines for configurations in settings.py:

NEOMODEL_NEO4J_BOLT_URL = 'bolt://neo4j:neo4j@localhost:7687'
NEOMODEL_SIGNALS = True
NEOMODEL_FORCE_TIMEZONE = False
NEOMODEL_ENCRYPTED_CONNECTION = True
NEOMODEL_MAX_CONNECTION_POOL_SIZE = 50

When I try to run the command:

python manage.py install_labels

I am getting following error:

Traceback (most recent call last):
  File "manage.py", line 21, in <module>
    main()
  File "manage.py", line 17, in main
    execute_from_command_line(sys.argv)
  File "/home/Desktop/Neo4j/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "/home/Desktop/Neo4j/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 377, in execute
    django.setup()
  File "/home/Desktop/Neo4j/env/lib/python3.8/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/Desktop/Neo4j/env/lib/python3.8/site-packages/django/apps/registry.py", line 122, in populate
    app_config.ready()
  File "/home/Desktop/Neo4j/env/lib/python3.8/site-packages/django_neomodel/apps.py", line 20, in ready
    self.read_settings()
  File "/home/Desktop/Neo4j/env/lib/python3.8/site-packages/django_neomodel/apps.py", line 17, in read_settings
    config.MAX_POOL_SIZE = getattr(settings, 'NEOMODEL_MAX_POOL_SIZE', config.MAX_POOL_SIZE)
AttributeError: module 'neomodel.config' has no attribute 'MAX_POOL_SIZE'

How to fix it?

I think if you go into your /home/Desktop/Neo4j/env/lib/python3.8/site-packages/django_neomodel/
folder, there is should be a config.py file or the like. Go add the 'MAX_POOL_SIZE' parameter in there and set it to 50.

I had to do something similar,in the past, but I stopped using neomodel so I can't reference the particular example for an exact solution.

This is a temporary solution and will only for my machine, anyone else who forks my project would have to do it again on their machine. I am searching for better solution than simply hardcoding it.