SOATO Registry of Uzbekistan
The full documentation is at https://uzsoato_registry.readthedocs.io.
Install SOATO Registry:
pip install uzsoato_registry
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'rest_framework',
'django_celery_beat',
'soato',
...
)
Add settings for celery:
CELERY_BROKER_URL = "redis://127.0.0.1:6379/0"
Add settings for static files:
STATIC_URL = "/static/"
STATUC_ROOT = os.path.join(BASE_DIR, "statis")
MEDIA_URL = "/media/"
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
Add Tashkent address registry's URL patterns:
urlpatterns = [
...
path('soato/', include('soato.urls', namespace="soato"),
...
]
- TODO
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
pip install -r requirements_dev.txt invoke -l
Tools used in rendering this package: