Skip to main content

A general account app for projects

Project description

# django-luoji-accounts

django-luoji-accounts adds a number of indispensible financial account-related capabilities to your Django application, including:

* Account

* Sub Account

* Transfer

* Transaction

Please note, this app was developed under Django==1.8.2.

Quick Start
django-luoji-accounts contains a low level account and sub accounts system that you can get up and running right away.

To install Django-Accounts from PyPI::
pip install django-luoji-accounts
Alternatively, you can also install Django-luoji-Accounts from GitHub::

Add 'accounts' to your INSTALLED_APPS in your

Include the django-luoji-accounts URLs in your

urlpatterns = patterns(
(r'^accounts/', include('accounts.urls')),

To customise for your speacific usage, use a wrapper class in your project, for example:
from accounts.models import GeneralAccountManager

class AudioAccountManager(GeneralAccountManager):

def _get_or_create_sub_account_for_jcc(self, user_id, account_type, device_type):
return self.get_or_create_sub_account(user_id=user_id,

def get_or_create_buyer_account_for_android(self, user_id):
return self._get_or_create_sub_account_for_jcc(user_id,'BUYER', 'ANDROID')

That's it!


0.0.1 - Jul.29, 2015

- Initail commit

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

django-luoji-accounts-0.0.2.tar.gz (7.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page