Metadata-Version: 2.4
Name: django-table
Version: 0.1.2
Summary: django-table library
Author-email: Altcomp <it@altcomp.pl>
License-Expression: MIT
Classifier: Framework :: Django
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: Django<6.0,>=4.2
Requires-Dist: djangorestframework>=3.15
Requires-Dist: django-filter<26.0,>=25.1
Requires-Dist: djangorestframework-camel-case<2.0,>=1.4.2
Requires-Dist: pytest>=8.4.2
Requires-Dist: django-cors-headers==4.9.0
Provides-Extra: dev
Requires-Dist: pytest>=8.4.2; extra == "dev"
Requires-Dist: pytest-django<5.0,>=4.11; extra == "dev"
Provides-Extra: typing
Requires-Dist: types-PyYAML>=6.0; extra == "typing"

# django-table

A lightweight Django app for persisting and retrieving per-user table configurations. It stores user preferences (like visible columns, order, sorting, and page size) in the database and provides a simple interface to load and apply them across views, so user settings are remembered between sessions.

Use cases:
- Remember individual users’ table layouts across pages and logins
- Provide a consistent data table experience without relying on browser storage
- Centralize table preferences for auditing and portability

Models (overview):
- Table: Represents a logical table within your application (e.g., “Orders” or “Users”), identified by a unique key and optional metadata.
- TablePreference: Stores a single user’s preferences for a specific Table, such as selected columns, sort order, filters, and pagination settings.


### Developing

```bash
# Running tests
# ------------------------
python manage.py test
```
