Skip to main content

A TPL_Accounting pluggable package

Project description

TPL_Accounting


Description: A TPL_Accounting pluggable package

Install the package:

pip install TPL-Accounting

Add these to your settings:

import:

import accounting

add apps and currency format:

INSTALLED_APPS = [] + accounting.get_apps()

ACCOUNTING_DEFAULT_CURRENCY = '৳'

Templates:

Static files:

"accounting/staticfiles"

Include apps urls to your main urls.py:

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
    )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TPL_Accounting-1.3.tar.gz (536.9 kB view hashes)

Uploaded Source

Built Distribution

TPL_Accounting-1.3-py3-none-any.whl (581.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page