Internal
Public Access
Initial commit: KeepItGoing task management server
Features: - Django-based REST API with web interface - Task management with tags, priorities, and due dates - Time tracking with start/stop timers - Subtasks support - Task filtering (all, today, upcoming, overdue, completed) - Tag-based organization with color coding - Sorting by due date and priority - Auto-assign tags when filtering - Responsive 3-pane layout (sidebar, task list, detail panel) - Task sharing between users - Mobile-responsive design with dark mode support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
"""
|
||||
Notification admin configuration.
|
||||
"""
|
||||
|
||||
from django.contrib import admin
|
||||
from .models import Notification, ScheduledReminder
|
||||
|
||||
|
||||
@admin.register(Notification)
|
||||
class NotificationAdmin(admin.ModelAdmin):
|
||||
"""Admin for Notification."""
|
||||
|
||||
list_display = ['title', 'user', 'notification_type', 'is_read', 'created_at']
|
||||
list_filter = ['notification_type', 'is_read', 'created_at']
|
||||
search_fields = ['title', 'message', 'user__email']
|
||||
ordering = ['-created_at']
|
||||
raw_id_fields = ['user', 'task']
|
||||
|
||||
|
||||
@admin.register(ScheduledReminder)
|
||||
class ScheduledReminderAdmin(admin.ModelAdmin):
|
||||
"""Admin for ScheduledReminder."""
|
||||
|
||||
list_display = ['task', 'remind_at', 'is_sent', 'sent_at', 'created_at']
|
||||
list_filter = ['is_sent', 'remind_at']
|
||||
search_fields = ['task__title']
|
||||
ordering = ['remind_at']
|
||||
raw_id_fields = ['task']
|
||||
Reference in New Issue
Block a user