Metadata-Version: 2.1
Name: TPL-Accounting
Version: 1.3
Summary: A TPL_Accounting pluggable package
Home-page: https://github.com/github-rajib/TPL_Accounting
Author: Mohammad Rajib
Author-email: rajib.conf@gmail.com
License: UNKNOWN
Download-URL: https://github.com/github-rajib/TPL_Accounting/archive/refs/tags/v1.0.tar.gz
Keywords: TPL Accounting,Django Accounting,Accounting
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: Babel (==1.0)
Requires-Dist: Django (>=2.0.13)
Requires-Dist: django-bootstrap3 (==12.0.2)
Requires-Dist: django-classy-tags (==0.5.1)
Requires-Dist: django-datetime-widget2 (==0.9.5)
Requires-Dist: django-select2 (==7.0.2)
Requires-Dist: django-tempus-dominus (==5.1.2.13)
Requires-Dist: python-dateutil (==2.2)

# TPL_Accounting
---
Description: A TPL_Accounting pluggable package
---

Install the package:
```text
pip install TPL-Accounting
```
## Add these to your settings:
> _import:_
```text
import accounting
```
![](for_readme/import.png)
> _add apps and currency format:_
```text
INSTALLED_APPS = [] + accounting.get_apps()

ACCOUNTING_DEFAULT_CURRENCY = '৳'
```
![](for_readme/apps_currency.png)

> _Templates:_
![](for_readme/templates.png)

> _Static files:_
```text
"accounting/staticfiles"
```
![](for_readme/static.png)


## Include apps urls to your main urls.py:
```text
from accounting.apps.connect.login import LoginView

urlpatterns = [
    path('admin/', admin.site.urls),
    path('', include('accounting.apps.connect.urls')),
    path('accounting/', include('accounting.apps.books.urls')),
    path('people/', include('accounting.apps.people.urls')),
    path('reports/', include('accounting.apps.reports.urls')),

    # auth
    path('auth/login/', LoginView.as_view(), name='login'),
    path('auth/', include('django.contrib.auth.urls')),

    # third party
    path("select2/", include("django_select2.urls")),

]

if settings.DEBUG:
    urlpatterns += static(
        settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
    )
```
![](for_readme/urls.png)

