mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-01-01 09:09:45 -06:00
- Add count_clients_with_value() method to CustomFieldDefinition model to track how many clients have values for each custom field - Display client count in custom field definitions list view - Automatically remove custom field values from all clients when a custom field definition is deleted - Show user-friendly confirmation message indicating how many clients were affected when deleting a field definition - Update client view to use custom field definitions for friendly field names instead of raw field keys - Add comprehensive test suite for custom field definitions including model creation, client count functionality, deletion cleanup, and edge cases - Update templates to display client counts and improve delete confirmation dialogs
20 lines
468 B
Python
20 lines
468 B
Python
"""
|
|
Setup configuration for TimeTracker application.
|
|
This allows the app to be installed as a package for testing.
|
|
"""
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
setup(
|
|
name='timetracker',
|
|
version='4.3.1',
|
|
packages=find_packages(),
|
|
include_package_data=True,
|
|
install_requires=[
|
|
# Core requirements are in requirements.txt
|
|
# This file is mainly for making the app importable during testing
|
|
],
|
|
python_requires='>=3.11',
|
|
)
|
|
|