mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-01-14 21:23:29 +01:00
14 lines
341 B
Python
14 lines
341 B
Python
from django.contrib import admin
|
|
|
|
from apps.dca.models import DCAStrategy, DCAEntry
|
|
from apps.common.admin import SharedObjectModelAdmin
|
|
|
|
|
|
admin.site.register(DCAEntry)
|
|
|
|
|
|
@admin.register(DCAStrategy)
|
|
class TransactionEntityModelAdmin(SharedObjectModelAdmin):
|
|
def get_queryset(self, request):
|
|
return DCAStrategy.all_objects.all()
|