2020-12-03 12:31:39 -05:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2020-12-07 18:02:46 -05:00
|
|
|
from .models import Tool, Task, Reminder, Event
|
2020-12-03 12:31:39 -05:00
|
|
|
|
|
|
|
admin.site.register(Tool)
|
2020-12-03 17:59:45 -05:00
|
|
|
|
|
|
|
|
|
|
|
@admin.register(Task)
|
|
|
|
class TaskAdmin(admin.ModelAdmin):
|
|
|
|
prepopulated_fields = {"slug": ("name",)}
|
|
|
|
|
|
|
|
|
2020-12-07 18:02:46 -05:00
|
|
|
admin.site.register(Reminder)
|
2020-12-03 12:31:39 -05:00
|
|
|
admin.site.register(Event)
|