# Path: capitolweb/cwapi/models.py
# class SpeakerWordCounts(models.Model):
#     def __str__(self):
#         return ",".join([self.crec_id, self.bioguide_id])
#     bioguide_id = models.CharField(max_length=7, primary_key=True)
#     crec_id = models.CharField(max_length=64)
#     date = models.DateField()
#     named_entities = models.TextField()
#     noun_chunks = models.TextField()


from django.contrib import admin
from .models import SpeakerWordCounts
# -*- coding: utf-8 -*-
from __future__ import unicode_literals



class SpeakerWordCountsAdmin(admin.ModelAdmin):

      list_display = ('crec_id', 'bioguide_id' ,'date')


# Path: capitolweb/cwapi/models.py
# class SpeakerWordCounts(models.Model):
#     def __str__(self):
#         return ",".join([self.crec_id, self.bioguide_id])
#     bioguide_id = models.CharField(max_length=7, primary_key=True)
#     crec_id = models.CharField(max_length=64)
#     date = models.DateField()
#     named_entities = models.TextField()
#     noun_chunks = models.TextField()


# Path: capitolweb/cwapi/admin.py
from django.contrib import admin
from .models import SpeakerWordCounts

# -*- coding: utf-8 -*-
from __future__ import unicode_literals



class SpeakerWordCountsAdmin(admin.ModelAdmin):

      list_display = ('crec_id', 'bioguide_id' ,'date')


admin.site.register(SpeakerWordCounts, SpeakerWordCountsAdmin)