Files
dss/spa/api/v1/ChatResource.py
Fergal Moran 50c9e4e8c1 Removed userfollows model and changed to ForeignKey properties in UserProfile
Migrations got a bit borked so doing this commit to stage the migrations in live as I don't want to have a massive, potentially dangerous, migration.
2013-04-30 23:26:42 +01:00

7 lines
260 B
Python

from spa.api.v1.BackboneCompatibleResource import BackboneCompatibleResource
from spa.models.chatmessage import ChatMessage
class CommentResource(BackboneCompatibleResource):
class Meta:
queryset = ChatMessage.objects.all().order_by('-timestamp')