SOATO Registry¶
SOATO Registry of Uzbekistan
Documentation¶
The full documentation is at https://uzsoato_registry.readthedocs.io.
Quickstart¶
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"),
...
]
Features¶
TODO
Running Tests¶
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox
Development commands¶
pip install -r requirements_dev.txt
invoke -l