# Path: dashboard/apps/hub/api.py
# class OrganizationResource(ModelResource):
#     class Meta:
# class StateResource(ModelResource):
#     class Meta:
# class ElectionResource(ModelResource):
#     class Meta:
#     def dehydrate_direct_links(self, bundle):


from django.urls import include, path
from django.contrib import admin
from tastypie.api import Api
from dashboard.apps.hub import api
from django.conf import settings
    import debug_toolbar

admin.autodiscover()

v1_api = Api(api_name='v1')
v1_api.register(api.ElectionResource())

# Path: dashboard/apps/hub/api.py
# class OrganizationResource(ModelResource):
#     class Meta:
# class StateResource(ModelResource):
#     class Meta:
# class ElectionResource(ModelResource):
#     class Meta:
#     def dehydrate_direct_links(self, bundle):


# Path: dashboard/config/base/urls.py
from django.urls import include, path
from django.contrib import admin
from tastypie.api import Api
from dashboard.apps.hub import api
from django.conf import settings
    import debug_toolbar


admin.autodiscover()

v1_api = Api(api_name='v1')
v1_api.register(api.ElectionResource())

v1_api.register(api.OrganizationResource())