Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
532fb40
v.0.7.7
elarroba Mar 26, 2025
7725e9f
Enhance account list views and update icon styles.
elarroba Mar 26, 2025
4864022
Adding TransactionModel attributes during commit_txs.
elarroba Apr 22, 2025
5395ffc
Fixed a couple of hard coded dollar "$" symbols and changed them with…
pablo May 10, 2025
f42bb2e
Dependency update
elarroba May 10, 2025
b5efe78
Update contribution guidelines in README and Contribute.md
elarroba May 10, 2025
f8f30a4
Update ManyToManyField configurations and bump version to 0.7.8
elarroba Jun 24, 2025
0b32450
Add support for bank account type validation and retrieval based on O…
elarroba Jun 24, 2025
e05d519
Migration Update
elarroba Jun 24, 2025
0ad0be1
Refactor bank account type handling and account type mapping logic
elarroba Jun 24, 2025
7ca736b
Add financial institution field and utility methods to account models
elarroba Jun 24, 2025
30be4da
Refactor account handling and enhance validation methods
elarroba Jun 25, 2025
89580bc
Merge branch 'master' into develop
elarroba Jun 25, 2025
529d5fc
Merge branch 'master' into develop
elarroba Jun 26, 2025
fa8b15d
Sort node issue fix
Jul 30, 2025
d04b968
Update chart_of_accounts.py
shucontech Jul 31, 2025
8f19f5a
Merge pull request #276
elarroba Jul 31, 2025
86d6a6f
Bump version to 0.7.9 and update `for_entity` method to accept `Entit…
elarroba Jul 31, 2025
7e9f778
Merge branch 'master' into develop
elarroba Aug 14, 2025
95fe6e9
V0.7.10 (#279)
elarroba Aug 22, 2025
3f15cf0
Merge branch 'refs/heads/master' into develop
elarroba Aug 26, 2025
243479e
v0.7.11
elarroba Aug 26, 2025
69bed23
Merge branch 'master' into develop
elarroba Sep 3, 2025
7ba2505
v0.8.0 (#282)
elarroba Sep 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 0 additions & 41 deletions Pipfile

This file was deleted.

2,428 changes: 0 additions & 2,428 deletions Pipfile.lock

This file was deleted.

90 changes: 33 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ Created and developed by [Miguel Sanda](https://www.miguelsanda.com).

## Getting Involved

All pull requests are welcome, as long as they address bugfixes, enhancements, new ideas, or add value to the project in any shape or form.
Please refrain from submitting pull requests that focus solely on code linting, refactoring, or similar cosmetic changes.
All pull requests are welcome, as long as they address bugfixes, enhancements, new ideas, or add value to the project in
any shape or form.

Please refrain from submitting pull requests that focus solely on code linting, auto-generated code,
refactoring, or similar cosmetic non-value add changes.

- **Feature Requests/Bug Reports**: Open an issue in the repository
- **For software customization, advanced features and consulting services**:
Expand All @@ -59,56 +62,12 @@ is [here](https://docs.djangoproject.com/en/4.2/intro/tutorial01/#creating-a-pro
Make sure you refer to the django version you are using.

The easiest way to start is to use the zero-config Django Ledger starter template. See
details [here](https://github.com/arrobalytics/django-ledger-starter). Otherwise, you may create your
project from scratch.

To create a new Django Ledger project:

* Make sure you have the latest version of python [here](https://www.python.org/) (recommended).

* Install Django:

```shell
pip install django
```

* Install Python [Pipenv](https://pipenv.pypa.io/en/latest/) (python package manager):

```shell script
pip install pipenv
```
details [here](https://github.com/arrobalytics/django-ledger-starter).
Otherwise, you may create your project from scratch.

* Go to your desired development folder and create a new django project:
## Adding Django Ledger to an existing project.

```shell
django-admin startproject django_ledger_project && cd django_ledger_project
```

* Install Django on you virtual environment.

```shell
pipenv install django
```

* Install Django Ledger

```shell script
pipenv install "django-ledger[graphql,pdf]"
```

Alternatively, you can use:

```shell script
pipenv install django-ledger\[graphql,pdf\]
```

* Activate your new virtual environment:

```shell
pipenv shell
```

* Add django_ledger to INSTALLED_APPS in you new Django Project.
### Add django_ledger to INSTALLED_APPS in you new Django Project.

```python
INSTALLED_APPS = [
Expand All @@ -118,16 +77,25 @@ INSTALLED_APPS = [
]
```

* Perform database migrations:
### Add Django Ledger Context Preprocessor

```shell
python manage.py migrate
```python
TEMPLATES = [
{
'OPTIONS': {
'context_processors': [
'...',
'django_ledger.context.django_ledger_context' # Add this line to a context_processors list..
],
},
},
]
```

* Add Django SuperUser and follow the prompts.
### Perform database migrations:

```shell
python manage.py createsuperuser
python manage.py migrate
```

* Add URLs to your project's __urls.py__:
Expand All @@ -142,7 +110,7 @@ urlpatterns = [
]
```

* Run your project:
### Run your project:

```shell
python manage.py runserver
Expand All @@ -153,7 +121,15 @@ python manage.py runserver
if you followed this installation guide).
* Use your superuser credentials to login.

# How To Set Up Django Ledger for Development
## Deprecated behavior setting (v0.8.0+)

Starting with version v0.8.0, Django Ledger introduces the DJANGO_LEDGER_USE_DEPRECATED_BEHAVIOR setting to control
access to deprecated features and legacy behaviors.

- Default: False (deprecated features are disabled by default)
- To temporarily keep using deprecated features while you transition, set this to True in your Django settings.

## Setting Up Django Ledger for Development

Django Ledger comes with a basic development environment already configured under __dev_env/__ folder not to be used
for production environments. If you want to contribute to the project perform the following steps:
Expand Down
14 changes: 8 additions & 6 deletions assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,29 @@
"@types/lodash": "^4.17.16",
"@vue/compiler-sfc": "^3.5.13",
"animate.css": "^4.1.1",
"axios": "^1.9.0",
"axios": "^1.11.0",
"bulma": "^1.0.4",
"bulmaswatch": "^0.8.1",
"chart.js": "^4.4.9",
"iconify-icon": "^2.3.0",
"json-schema": "^0.4.0",
"pikaday": "^1.8.2",
"moment": "^2.30.1",
"scss-tokenizer": "^0.4.3",
"trim-newlines": "^4.1.1",
"vue": "^3.5.13",
"vue-loader": "^17.4.2"
"vue-loader": "^17.4.2",
"less": "^4.4.1"
},
"devDependencies": {
"css-loader": "^7.1.2",
"file-loader": "^6.2.0",
"less": "^4.3.0",
"less": "^4.4.1",
"less-loader": "^12.3.0",
"sass": "^1.88.0",
"sass-loader": "^13.3.3",
"sass-loader": "^16.0.5",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.2",
"typescript": "^5.8.3",
"typescript": "^5.9.2",
"url-loader": "^4.1.1",
"webpack": "^5.99.8",
"webpack-cli": "^6.0.1"
Expand Down
Loading